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

Function ScriptArrayFindByRef2_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2062–2068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2060}
2061
2062static void ScriptArrayFindByRef2_Generic(asIScriptGeneric *gen)
2063{
2064 asUINT index = gen->GetArgDWord(0);
2065 void *value = gen->GetArgAddress(1);
2066 CScriptArray *self = (CScriptArray*)gen->GetObject();
2067 gen->SetReturnDWord(self->FindByRef(index, value));
2068}
2069
2070static void ScriptArrayAt_Generic(asIScriptGeneric *gen)
2071{

Callers

nothing calls this directly

Calls 5

GetArgDWordMethod · 0.80
GetArgAddressMethod · 0.80
GetObjectMethod · 0.80
SetReturnDWordMethod · 0.80
FindByRefMethod · 0.80

Tested by

no test coverage detected