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

Method GetGlobalFunctionByIndex

sdk/angelscript/source/as_scriptengine.cpp:3259–3268  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

3257
3258// interface
3259asIScriptFunction *asCScriptEngine::GetGlobalFunctionByIndex(asUINT index) const
3260{
3261 // Don't count the builtin delegate factory
3262 index++;
3263
3264 if( index >= registeredGlobalFuncs.GetSize() )
3265 return 0;
3266
3267 return static_cast<asIScriptFunction*>(const_cast<asCScriptFunction*>(registeredGlobalFuncs.Get(index)));
3268}
3269
3270// interface
3271asIScriptFunction *asCScriptEngine::GetGlobalFunctionByDecl(const char *decl) const

Callers 4

ListFunctionsFunction · 0.80
WriteConfigToStreamFunction · 0.80
DumpModuleFunction · 0.80
TestFunction · 0.80

Calls 2

GetSizeMethod · 0.45
GetMethod · 0.45

Tested by 2

DumpModuleFunction · 0.64
TestFunction · 0.64