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

Function ScriptArrayLength_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2122–2127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2120}
2121
2122static void ScriptArrayLength_Generic(asIScriptGeneric *gen)
2123{
2124 CScriptArray *self = (CScriptArray*)gen->GetObject();
2125
2126 gen->SetReturnDWord(self->GetSize());
2127}
2128
2129static void ScriptArrayResize_Generic(asIScriptGeneric *gen)
2130{

Callers

nothing calls this directly

Calls 3

GetObjectMethod · 0.80
SetReturnDWordMethod · 0.80
GetSizeMethod · 0.45

Tested by

no test coverage detected