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

Method FindConfigGroupForGlobalVar

sdk/angelscript/source/as_scriptengine.cpp:5878–5890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5876
5877
5878asCConfigGroup *asCScriptEngine::FindConfigGroupForGlobalVar(int gvarId) const
5879{
5880 for( asUINT n = 0; n < configGroups.GetLength(); n++ )
5881 {
5882 for( asUINT m = 0; m < configGroups[n]->globalProps.GetLength(); m++ )
5883 {
5884 if( int(configGroups[n]->globalProps[m]->id) == gvarId )
5885 return configGroups[n];
5886 }
5887 }
5888
5889 return 0;
5890}
5891
5892asCConfigGroup *asCScriptEngine::FindConfigGroupForTypeInfo(const asCTypeInfo *objType) const
5893{

Callers 2

AddReferencesMethod · 0.80
ReleaseReferencesMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected