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

Function AddStringInt_Generic

sdk/tests/test_feature/source/scriptstring.cpp:405–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405static void AddStringInt_Generic(asIScriptGeneric *gen)
406{
407 CScriptString *str = (CScriptString*)gen->GetObject();
408 int i = gen->GetArgDWord(0);
409 CScriptString *out = AddStringInt(*str, i);
410 gen->SetReturnAddress(out);
411}
412
413static CScriptString *AddStringFloat(const CScriptString &str, float f)
414{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
GetArgDWordMethod · 0.80
SetReturnAddressMethod · 0.80
AddStringIntFunction · 0.70

Tested by

no test coverage detected