|
3 | 3 | // University of Illinois/NCSA Open Source License. Both these licenses can be |
4 | 4 | // found in the LICENSE file. |
5 | 5 |
|
6 | | -/*global addToLibrary*/ |
7 | | - |
8 | | -/*global Module, asm*/ |
9 | | -/*global _malloc, _free, _memcpy*/ |
10 | | -/*global FUNCTION_TABLE, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64*/ |
11 | | -/*global AsciiToString*/ |
12 | | -/*global Emval, emval_handle_array, __emval_decref*/ |
13 | | -/*jslint sub:true*/ /* The symbols 'fromWireType' and 'toWireType' must be accessed via array notation to be closure-safe since craftInvokerFunction crafts functions as strings that can't be closured. */ |
14 | | - |
15 | | -// -- jshint doesn't understand library syntax, so we need to specifically tell it about the symbols we define |
16 | | -/*global typeDependencies, flushPendingDeletes, getTypeName, getBasestPointer, throwBindingError, UnboundTypeError, embindRepr, registeredInstances, registeredTypes*/ |
17 | | -/*global ensureOverloadTable, embind__requireFunction, awaitingDependencies, makeLegalFunctionName, embind_charCodes:true, registerType, createNamedFunction, RegisteredPointer, throwInternalError*/ |
18 | | -/*global floatReadValueFromPointer, integerReadValueFromPointer, enumReadValueFromPointer, replacePublicSymbol, craftInvokerFunction, tupleRegistrations*/ |
19 | | -/*global finalizationRegistry, attachFinalizer, detachFinalizer, releaseClassHandle, runDestructor*/ |
20 | | -/*global ClassHandle, makeClassHandle, structRegistrations, whenDependentTypesAreResolved, BindingError, deletionQueue, delayFunction:true, upcastPointer*/ |
21 | | -/*global exposePublicSymbol, heap32VectorToArray, char_0, char_9*/ |
22 | | -/*global getInheritedInstanceCount, getLiveInheritedInstances, setDelayFunction, InternalError, runDestructors*/ |
23 | | -/*global requireRegisteredType, unregisterInheritedInstance, registerInheritedInstance, PureVirtualError, throwUnboundTypeError*/ |
24 | | -/*global assert, validateThis, downcastPointer, registeredPointers, RegisteredClass, getInheritedInstance */ |
25 | | -/*global throwInstanceAlreadyDeleted, shallowCopyInternalPointer*/ |
26 | | -/*global RegisteredPointer_fromWireType, constNoSmartPtrRawPointerToWireType, nonConstNoSmartPtrRawPointerToWireType, genericPointerToWireType*/ |
27 | | - |
28 | 6 | #include "libembind_shared.js" |
29 | 7 |
|
30 | 8 | var LibraryEmbind = { |
|
0 commit comments