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

Function StringInsert_Generic

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1172–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170}
1171
1172static void StringInsert_Generic(asIScriptGeneric *gen)
1173{
1174 string * self = static_cast<string *>(gen->GetObject());
1175 asUINT pos = gen->GetArgDWord(0);
1176 string *other = reinterpret_cast<string*>(gen->GetArgAddress(1));
1177 StringInsert(pos, *other, *self);
1178}
1179
1180static void StringErase_Generic(asIScriptGeneric *gen)
1181{

Callers

nothing calls this directly

Calls 4

StringInsertFunction · 0.85
GetObjectMethod · 0.80
GetArgDWordMethod · 0.80
GetArgAddressMethod · 0.80

Tested by

no test coverage detected