Skip to content

Commit 164354f

Browse files
add some missing deps for createFunctionDefinition (#20998)
1 parent ba02e4f commit 164354f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embind/embind_gen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ var LibraryEmbind = {
391391
$registerIntegerType: (id) => {
392392
registerType(id, new IntegerType(id));
393393
},
394-
$createFunctionDefinition__deps: ['$FunctionDefinition', '$heap32VectorToArray', '$readLatin1String', '$Argument', '$whenDependentTypesAreResolved', '$getFunctionName', '$getFunctionArgsName'],
394+
$createFunctionDefinition__deps: ['$FunctionDefinition', '$heap32VectorToArray', '$readLatin1String', '$Argument', '$whenDependentTypesAreResolved', '$getFunctionName', '$getFunctionArgsName', '$PointerDefinition', '$ClassDefinition'],
395395
$createFunctionDefinition: (name, argCount, rawArgTypesAddr, functionIndex, hasThis, isAsync, cb) => {
396396
const argTypes = heap32VectorToArray(argCount, rawArgTypesAddr);
397397
name = typeof name === 'string' ? name : readLatin1String(name);

0 commit comments

Comments
 (0)