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

Function ScriptArrayAt_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2070–2076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2068}
2069
2070static void ScriptArrayAt_Generic(asIScriptGeneric *gen)
2071{
2072 asUINT index = gen->GetArgDWord(0);
2073 CScriptArray *self = (CScriptArray*)gen->GetObject();
2074
2075 gen->SetReturnAddress(self->At(index));
2076}
2077
2078static void ScriptArrayInsertAt_Generic(asIScriptGeneric *gen)
2079{

Callers

nothing calls this directly

Calls 4

GetArgDWordMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80
AtMethod · 0.45

Tested by

no test coverage detected