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

Function AddStringFloat_Generic

sdk/tests/test_feature/source/scriptstring.cpp:424–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424static void AddStringFloat_Generic(asIScriptGeneric *gen)
425{
426 CScriptString *str = (CScriptString*)gen->GetObject();
427 float f = gen->GetArgFloat(0);
428 CScriptString *out = AddStringFloat(*str, f);
429 gen->SetReturnAddress(out);
430}
431
432static CScriptString *AddStringDouble(const CScriptString &str, double f)
433{

Callers

nothing calls this directly

Calls 4

GetObjectMethod · 0.80
GetArgFloatMethod · 0.80
SetReturnAddressMethod · 0.80
AddStringFloatFunction · 0.70

Tested by

no test coverage detected