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

Function AddString2UIntGeneric

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1434–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1432}
1433
1434static void AddString2UIntGeneric(asIScriptGeneric * gen)
1435{
1436 string * a = static_cast<string *>(gen->GetObject());
1437 asQWORD * b = static_cast<asQWORD *>(gen->GetAddressOfArg(0));
1438 std::stringstream sstr;
1439 sstr << *a << *b;
1440 std::string ret_val = sstr.str();
1441 gen->SetReturnObject(&ret_val);
1442}
1443
1444static void AddString2BoolGeneric(asIScriptGeneric * gen)
1445{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
strMethod · 0.80
SetReturnObjectMethod · 0.80
GetAddressOfArgMethod · 0.45

Tested by

no test coverage detected