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

Method GetRegisteredType

sdk/angelscript/source/as_scriptengine.cpp:3329–3336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3327
3328
3329asCTypeInfo *asCScriptEngine::GetRegisteredType(const asCString &type, asSNameSpace *ns) const
3330{
3331 asSMapNode<asSNameSpaceNamePair, asCTypeInfo *> *cursor;
3332 if( allRegisteredTypes.MoveTo(&cursor, asSNameSpaceNamePair(ns, type)) )
3333 return cursor->value;
3334
3335 return 0;
3336}
3337
3338
3339

Callers 4

ReadTypeInfoMethod · 0.80
CompileDeclarationMethod · 0.80
CheckNameConflictMethod · 0.80
GetTypeMethod · 0.80

Calls 2

MoveToMethod · 0.80

Tested by

no test coverage detected