(array, malloc)
| 232 | } |
| 233 | |
| 234 | function passArrayJsValueToWasm0(array, malloc) { |
| 235 | const ptr = malloc(array.length * 4, 4) >>> 0; |
| 236 | const mem = getUint32Memory0(); |
| 237 | for (let i = 0; i < array.length; i++) { |
| 238 | mem[ptr / 4 + i] = addHeapObject(array[i]); |
| 239 | } |
| 240 | WASM_VECTOR_LEN = array.length; |
| 241 | return ptr; |
| 242 | } |
| 243 | |
| 244 | function handleError(f, args) { |
| 245 | try { |
no test coverage detected