MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / writeArgumentConversion

Method writeArgumentConversion

tools/ffi.js:68–70  ·  view source on GitHub ↗
(file, i)

Source from the content-addressed store, hash-verified

66class BigUint64Type extends Type {
67 get tsType() { return "bigint"; }
68 writeArgumentConversion(file, i) {
69 file.line(`${ this.name } arg${ i } = XS->toBigUint64(the, mxArgv(${ i }));`);
70 }
71 writeResultConversion(file) {
72 file.line("XS->fromBigUint64(the, mxResult, result);");
73 }

Callers

nothing calls this directly

Calls 1

lineMethod · 0.45

Tested by

no test coverage detected