MCPcopy Create free account
hub / github.com/apitable/apitable / json0_compose

Method json0_compose

packages/databus-wasm-web/databus_wasm.js:539–557  ·  view source on GitHub ↗

* @param {string} op * @param {string} other_op * @returns {any}

(op, other_op)

Source from the content-addressed store, hash-verified

537 * @returns {any}
538 */
539 json0_compose(op, other_op) {
540 try {
541 const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
542 const ptr0 = passStringToWasm0(op, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
543 const len0 = WASM_VECTOR_LEN;
544 const ptr1 = passStringToWasm0(other_op, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
545 const len1 = WASM_VECTOR_LEN;
546 wasm.databusbridge_json0_compose(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
547 var r0 = getInt32Memory0()[retptr / 4 + 0];
548 var r1 = getInt32Memory0()[retptr / 4 + 1];
549 var r2 = getInt32Memory0()[retptr / 4 + 2];
550 if (r2) {
551 throw takeObject(r1);
552 }
553 return takeObject(r0);
554 } finally {
555 wasm.__wbindgen_add_to_stack_pointer(16);
556 }
557 }
558}
559
560async function __wbg_load(module, imports) {

Callers

nothing calls this directly

Calls 3

passStringToWasm0Function · 0.70
getInt32Memory0Function · 0.70
takeObjectFunction · 0.70

Tested by

no test coverage detected