Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
export let Env, Compression, Cursor, getAddress, clearKeptObjects, setGlobalBuffer,
|
|
require, arch, fs, os, onExit, tmpdir, lmdbError, path, EventEmitter, orderedBinary, MsgpackrEncoder, WeakLRUCache, isWorkerThread;
|
|
export function setNativeFunctions(externals) {
|
|
Env = externals.Env;
|
|
Compression = externals.Compression;
|
|
getAddress = externals.getAddress;
|
|
clearKeptObjects = externals.clearKeptObjects;
|
|
setGlobalBuffer = externals.setGlobalBuffer;
|
|
Cursor = externals.Cursor;
|
|
lmdbError = externals.lmdbError;
|
|
if (externals.tmpdir)
|
|
tmpdir = externals.tmpdir
|
|
}
|
|
export function setExternals(externals) {
|
|
require = externals.require;
|
|
arch = externals.arch;
|
|
fs = externals.fs;
|
|
path = externals.path;
|
|
EventEmitter = externals.EventEmitter;
|
|
orderedBinary = externals.orderedBinary;
|
|
MsgpackrEncoder = externals.MsgpackrEncoder;
|
|
WeakLRUCache = externals.WeakLRUCache;
|
|
tmpdir = externals.tmpdir;
|
|
os = externals.os;
|
|
onExit = externals.onExit;
|
|
isWorkerThread = externals.isWorkerThread;
|
|
}
|
|
|