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

Function setupFFI

lib/internal/process/pre_execution.js:382–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380}
381
382function setupFFI() {
383 if (!getOptionValue('--experimental-ffi')) {
384 return;
385 }
386
387 const { BuiltinModule } = require('internal/bootstrap/realm');
388 BuiltinModule.allowRequireByUsers('ffi');
389}
390
391function setupSQLite() {
392 if (getOptionValue('--no-experimental-sqlite')) {

Callers 1

prepareExecutionFunction · 0.85

Calls 3

getOptionValueFunction · 0.85
allowRequireByUsersMethod · 0.80
requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…