MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetObjectType

Method GetObjectType

sdk/angelscript/source/as_module.cpp:1571–1580  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1569
1570// internal
1571asCObjectType *asCModule::GetObjectType(const char *type, asSNameSpace *ns) const
1572{
1573 asSMapNode<asSNameSpaceNamePair, asCTypeInfo*>* result = 0;
1574 if(m_typeLookup.MoveTo(&result, asSNameSpaceNamePair(ns, type)))
1575 {
1576 return CastToObjectType(result->value);
1577 }
1578
1579 return 0;
1580}
1581
1582// internal
1583asCGlobalProperty *asCModule::AllocateGlobalProperty(const char *propName, const asCDataType &dt, asSNameSpace *ns)

Callers 15

CallOnThinkMethod · 0.45
CallOnMessageMethod · 0.45
AdjustGetOffsetMethod · 0.45
PerformFunctionCallMethod · 0.45
CreateDelegateMethod · 0.45
RefCastObjectMethod · 0.45
GetThisTypeIdMethod · 0.45
GetArgsOnStackCountMethod · 0.45
GetArgOnStackMethod · 0.45
ifFunction · 0.45
PrintValueMethod · 0.45
AddExtraObjectToStoreMethod · 0.45

Calls 3

CastToObjectTypeFunction · 0.85
MoveToMethod · 0.80

Tested by 10

TestFunction · 0.36
TestFunction · 0.36
TestFunction · 0.36
UpdateMethod · 0.36
TestFunction · 0.36
CallMeMethod · 0.36
FactoryMethod · 0.36
TestMethod · 0.36
TestModuleFunction · 0.36
TestFunction · 0.36