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

Function StringFindLast_Generic

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1196–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196static void StringFindLast_Generic(asIScriptGeneric * gen)
1197{
1198 string *find = reinterpret_cast<string*>(gen->GetArgAddress(0));
1199 asUINT start = gen->GetArgDWord(1);
1200 string *self = reinterpret_cast<string *>(gen->GetObject());
1201 *reinterpret_cast<int *>(gen->GetAddressOfReturnLocation()) = StringFindLast(*find, start, *self);
1202}
1203
1204static void StringFindFirstOf_Generic(asIScriptGeneric * gen)
1205{

Callers

nothing calls this directly

Calls 5

StringFindLastFunction · 0.85
GetArgAddressMethod · 0.80
GetArgDWordMethod · 0.80
GetObjectMethod · 0.80

Tested by

no test coverage detected