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

Function ScriptArrayFindByRef_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2055–2060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2053}
2054
2055static void ScriptArrayFindByRef_Generic(asIScriptGeneric *gen)
2056{
2057 void *value = gen->GetArgAddress(0);
2058 CScriptArray *self = (CScriptArray*)gen->GetObject();
2059 gen->SetReturnDWord(self->FindByRef(value));
2060}
2061
2062static void ScriptArrayFindByRef2_Generic(asIScriptGeneric *gen)
2063{

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected