diff options
Diffstat (limited to 'lib/emscripten')
-rw-r--r-- | lib/emscripten/emsc.d.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/emscripten/emsc.d.ts b/lib/emscripten/emsc.d.ts index b9690433f..0b180781a 100644 --- a/lib/emscripten/emsc.d.ts +++ b/lib/emscripten/emsc.d.ts @@ -33,6 +33,8 @@ export interface EmscFunGen { export declare namespace Module { var cwrap: EmscFunGen; + function ccall(name: string, ret:"number"|"string", argTypes: any[], args: any[]): any + function stringToUTF8(s: string, addr: number, maxLength: number): void function _free(ptr: number): void; |