| 716 | const unboundTypes = []; const seen = {}; |
| 717 | |
| 718 | function visit(type) |
| 719 | { |
| 720 | if (seen[type]) { return; } if (registeredTypes[type]) { return; } if (typeDependencies[type]) |
| 721 | { |
| 722 | typeDependencies[type].forEach(visit); |
| 723 | |
| 724 | return; |
| 725 | }unboundTypes.push(type); seen[type] = true; |
| 726 | }types.forEach(visit); throw new UnboundTypeError(`${message}: ${unboundTypes.map(getTypeName).join([', '])}`); |
| 727 | } function __embind_register_class(rawType, rawPointerType, rawConstPointerType, baseClassRawType, getActualTypeSignature, getActualType, upcastSignature, upcast, downcastSignature, downcast, name, destructorSignature, rawDestructor) |
| 728 | { |
| 729 | name = readLatin1String(name); getActualType = embind__requireFunction(getActualTypeSignature, getActualType); if (upcast) { upcast = embind__requireFunction(upcastSignature, upcast); } if (downcast) { downcast = embind__requireFunction(downcastSignature, downcast); }rawDestructor = embind__requireFunction(destructorSignature, rawDestructor); const legalFunctionName = makeLegalFunctionName(name); |