MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / addToLibrary

Function addToLibrary

src/modules.mjs:369–371  ·  view source on GitHub ↗
(obj, options = null)

Source from the content-addressed store, hash-verified

367// if it is set, __sig is checked for functions and error is reported
368// if <function name>__sig is missing
369function addToLibrary(obj, options = null) {
370 mergeInto(LibraryManager.library, obj, options);
371}
372
373let structs = {};
374let defines = {};

Calls 1

mergeIntoFunction · 0.90

Tested by

no test coverage detected