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

Method GetType

sdk/angelscript/source/as_module.cpp:1560–1568  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1558
1559// internal
1560asCTypeInfo *asCModule::GetType(const asCString &type, asSNameSpace *ns) const
1561{
1562 asSMapNode<asSNameSpaceNamePair, asCTypeInfo*>* result = 0;
1563 if(m_typeLookup.MoveTo(&result, asSNameSpaceNamePair(ns, type)))
1564 {
1565 return result->value;
1566 }
1567 return 0;
1568}
1569
1570// internal
1571asCObjectType *asCModule::GetObjectType(const char *type, asSNameSpace *ns) const

Callers 6

ReadTypeInfoMethod · 0.45
SymbolLookupMethod · 0.45
ReceiveRefByValueFunction · 0.45

Calls 2

MoveToMethod · 0.80

Tested by 3

ReceiveRefByValueFunction · 0.36