MCPcopy Index your code
hub / github.com/nodejs/node / get

Function get

lib/ffi.js:140–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 configurable: true,
139 enumerable: functionsDescriptor.enumerable,
140 get() {
141 const raw = FunctionPrototypeCall(origGetter, this);
142 if (raw === undefined || raw === null) return raw;
143 const wrapped = { __proto__: null };
144 const keys = ObjectKeys(raw);
145 for (let i = 0; i < keys.length; i++) {
146 const name = keys[i];
147 wrapped[name] = wrapFFIFunction(raw[name], undefined, undefined, this);
148 }
149 return wrapped;
150 },
151 });
152}
153

Callers

nothing calls this directly

Calls 1

wrapFFIFunctionFunction · 0.85

Tested by

no test coverage detected