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

Function ScriptArrayFind_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2040–2045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040static void ScriptArrayFind_Generic(asIScriptGeneric *gen)
2041{
2042 void *value = gen->GetArgAddress(0);
2043 CScriptArray *self = (CScriptArray*)gen->GetObject();
2044 gen->SetReturnDWord(self->Find(value));
2045}
2046
2047static void ScriptArrayFind2_Generic(asIScriptGeneric *gen)
2048{

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected