| 12 | * @hidden |
| 13 | */ |
| 14 | export interface EmscriptenSettings { |
| 15 | readonly noImageDecoding?: boolean; |
| 16 | readonly noAudioDecoding?: boolean; |
| 17 | readonly noWasmDecoding?: boolean; |
| 18 | readonly preRun: readonly PreRunFunc[]; |
| 19 | readonly print?: (a: string) => void; |
| 20 | readonly printErr?: (a: string) => void; |
| 21 | readonly onExit?: (code: number) => void; |
| 22 | readonly thisProgram?: string; |
| 23 | readonly arguments: readonly string[]; |
| 24 | readonly instantiateWasm?: ( |
| 25 | imports: { [key: string]: any }, |
| 26 | successCallback: ( |
| 27 | instance: WebAssembly.Instance, |
| 28 | module: WebAssembly.Module, |
| 29 | ) => void, |
| 30 | ) => void; |
| 31 | readonly API: API; |
| 32 | readonly locateFile: (file: string) => string; |
| 33 | |
| 34 | noInitialRun?: boolean; |
| 35 | INITIAL_MEMORY?: number; |
| 36 | exitCode?: number; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Get the base settings to use to load Pyodide. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…