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

Method GetNextScriptFunctionId

sdk/angelscript/source/as_scriptengine.cpp:5926–5934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5924}
5925
5926int asCScriptEngine::GetNextScriptFunctionId()
5927{
5928 // This function only returns the next function id that
5929 // should be used. It doesn't update the internal arrays.
5930 if( freeScriptFunctionIds.GetLength() )
5931 return freeScriptFunctionIds[freeScriptFunctionIds.GetLength()-1];
5932
5933 return (int)scriptFunctions.GetLength();
5934}
5935
5936void asCScriptEngine::AddScriptFunction(asCScriptFunction *func)
5937{

Callers 8

ReadFunctionMethod · 0.80
CompileFunctionMethod · 0.80
CreateVirtualFunctionMethod · 0.80
AddDefaultConstructorMethod · 0.80
AddFuncDefMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected