aboutsummaryrefslogtreecommitdiff
path: root/lib/emscripten/emsc.d.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-09-28 23:41:34 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-09-28 23:41:34 +0200
commit274204c21e421ed13c66411ce56bb70dea03d410 (patch)
tree44f96996f5631526e96866fe583de2ca87ec2898 /lib/emscripten/emsc.d.ts
parent29909a27f592ac1bca98bfe7058b576167445518 (diff)
check contract hash, fix unicode bug
Diffstat (limited to 'lib/emscripten/emsc.d.ts')
-rw-r--r--lib/emscripten/emsc.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/emscripten/emsc.d.ts b/lib/emscripten/emsc.d.ts
index 19a6990e5..b9690433f 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 stringToUTF8(s: string, addr: number, maxLength: number): void
+
function _free(ptr: number): void;
function _malloc(n: number): number;