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

Function ScriptArrayFind2_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2047–2053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2045}
2046
2047static void ScriptArrayFind2_Generic(asIScriptGeneric *gen)
2048{
2049 asUINT index = gen->GetArgDWord(0);
2050 void *value = gen->GetArgAddress(1);
2051 CScriptArray *self = (CScriptArray*)gen->GetObject();
2052 gen->SetReturnDWord(self->Find(index, value));
2053}
2054
2055static void ScriptArrayFindByRef_Generic(asIScriptGeneric *gen)
2056{

Callers

nothing calls this directly

Calls 5

GetArgDWordMethod · 0.80
GetArgAddressMethod · 0.80
GetObjectMethod · 0.80
SetReturnDWordMethod · 0.80
FindMethod · 0.45

Tested by

no test coverage detected