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

Function ScriptArrayInsertAt_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2078–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2076}
2077
2078static void ScriptArrayInsertAt_Generic(asIScriptGeneric *gen)
2079{
2080 asUINT index = gen->GetArgDWord(0);
2081 void *value = gen->GetArgAddress(1);
2082 CScriptArray *self = (CScriptArray*)gen->GetObject();
2083 self->InsertAt(index, value);
2084}
2085
2086static void ScriptArrayInsertAtArray_Generic(asIScriptGeneric *gen)
2087{

Callers

nothing calls this directly

Calls 4

GetArgDWordMethod · 0.80
GetArgAddressMethod · 0.80
GetObjectMethod · 0.80
InsertAtMethod · 0.80

Tested by

no test coverage detected