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

Method FindConfigGroupForFunction

sdk/angelscript/source/as_scriptengine.cpp:5861–5875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5859}
5860
5861asCConfigGroup *asCScriptEngine::FindConfigGroupForFunction(int funcId) const
5862{
5863 for( asUINT n = 0; n < configGroups.GetLength(); n++ )
5864 {
5865 // Check global functions
5866 asUINT m;
5867 for( m = 0; m < configGroups[n]->scriptFunctions.GetLength(); m++ )
5868 {
5869 if( configGroups[n]->scriptFunctions[m]->id == funcId )
5870 return configGroups[n];
5871 }
5872 }
5873
5874 return 0;
5875}
5876
5877
5878asCConfigGroup *asCScriptEngine::FindConfigGroupForGlobalVar(int gvarId) const

Callers 3

AddReferencesMethod · 0.80
ReleaseReferencesMethod · 0.80
GetConfigGroupMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected