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

Function AddUInt2StringGeneric

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1484–1492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484static void AddUInt2StringGeneric(asIScriptGeneric * gen)
1485{
1486 asQWORD* a = static_cast<asQWORD *>(gen->GetAddressOfArg(0));
1487 string * b = static_cast<string *>(gen->GetObject());
1488 std::stringstream sstr;
1489 sstr << *a << *b;
1490 std::string ret_val = sstr.str();
1491 gen->SetReturnObject(&ret_val);
1492}
1493
1494static void AddBool2StringGeneric(asIScriptGeneric * gen)
1495{

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