@rhcp/mimir_transforms_web
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -149,2 +149,7 @@ /* tslint:disable */ | ||
/** | ||
* @param {string} input | ||
* @returns {string} | ||
*/ | ||
export function table_it(input: string): string; | ||
/** | ||
* Handler for `console.log` invocations. | ||
@@ -232,2 +237,3 @@ * | ||
readonly turnKeys: (a: number, b: number, c: number) => void; | ||
readonly table_it: (a: number, b: number, c: number) => void; | ||
readonly __wbg_wasmbindgentestcontext_free: (a: number) => void; | ||
@@ -234,0 +240,0 @@ readonly wasmbindgentestcontext_new: () => number; |
@@ -435,2 +435,25 @@ let wasm; | ||
/** | ||
* @param {string} input | ||
* @returns {string} | ||
*/ | ||
export function table_it(input) { | ||
let deferred2_0; | ||
let deferred2_1; | ||
try { | ||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.table_it(retptr, ptr0, len0); | ||
var r0 = getInt32Memory0()[retptr / 4 + 0]; | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
deferred2_0 = r0; | ||
deferred2_1 = r1; | ||
return getStringFromWasm0(r0, r1); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); | ||
} | ||
} | ||
let cachedUint32Memory0 = null; | ||
@@ -527,3 +550,3 @@ | ||
function __wbg_adapter_67(arg0, arg1, arg2, arg3, arg4) { | ||
function __wbg_adapter_68(arg0, arg1, arg2, arg3, arg4) { | ||
wasm.wasm_bindgen__convert__closures__invoke3_mut__h0447a6171739fea3(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4)); | ||
@@ -539,3 +562,3 @@ } | ||
} | ||
function __wbg_adapter_80(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_81(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h093690349a7b7ab2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -800,3 +823,3 @@ } | ||
try { | ||
return __wbg_adapter_67(a, state0.b, arg0, arg1, arg2); | ||
return __wbg_adapter_68(a, state0.b, arg0, arg1, arg2); | ||
} finally { | ||
@@ -830,3 +853,3 @@ state0.a = a; | ||
try { | ||
return __wbg_adapter_80(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_81(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -853,3 +876,3 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper178 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper180 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 57, __wbg_adapter_18); | ||
@@ -856,0 +879,0 @@ return addHeapObject(ret); |
@@ -7,3 +7,3 @@ { | ||
"description": "A WebAssembly build of Mimir transforms, suitable for use in Nodejs and browsers.", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
2928928
1118