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

Function AddFloatString_Generic

sdk/tests/test_feature/source/scriptstring.cpp:523–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523static void AddFloatString_Generic(asIScriptGeneric *gen)
524{
525 float f = gen->GetArgFloat(0);
526 CScriptString *str = (CScriptString*)gen->GetObject();
527 CScriptString *out = AddFloatString(f, *str);
528 gen->SetReturnAddress(out);
529}
530
531static CScriptString *AddDoubleString(double f, const CScriptString &str)
532{

Callers

nothing calls this directly

Calls 4

GetArgFloatMethod · 0.80
GetObjectMethod · 0.80
SetReturnAddressMethod · 0.80
AddFloatStringFunction · 0.70

Tested by

no test coverage detected