MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getPointerSize

Function getPointerSize

wasm/reset_events.js:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40};
41
42var getPointerSize = function () {
43 if (!pointerSize) {
44 pointerSize = Module.ccall('emsGetPointerSize', 'number', [], []);
45 }
46 return pointerSize;
47}
48
49var toPointer = function (value) {
50 return getPointerSize() == 8 ? BigInt(value) : value;

Callers 2

toPointerFunction · 0.70
drop_files_or_dirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected