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

Function StringAddGeneric

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1146–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146static void StringAddGeneric(asIScriptGeneric * gen)
1147{
1148 string * a = static_cast<string *>(gen->GetObject());
1149 string * b = static_cast<string *>(gen->GetArgAddress(0));
1150 string ret_val = *a + *b;
1151 gen->SetReturnObject(&ret_val);
1152}
1153
1154static void StringLengthGeneric(asIScriptGeneric * gen)
1155{

Callers

nothing calls this directly

Calls 3

GetObjectMethod · 0.80
GetArgAddressMethod · 0.80
SetReturnObjectMethod · 0.80

Tested by

no test coverage detected