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

Function formatUInt_Generic

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1244–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242}
1243
1244static void formatUInt_Generic(asIScriptGeneric * gen)
1245{
1246 asQWORD val = gen->GetArgQWord(0);
1247 string *options = reinterpret_cast<string*>(gen->GetArgAddress(1));
1248 asUINT width = gen->GetArgDWord(2);
1249 new(gen->GetAddressOfReturnLocation()) string(formatUInt(val, *options, width));
1250}
1251
1252static void formatFloat_Generic(asIScriptGeneric *gen)
1253{

Callers

nothing calls this directly

Calls 5

formatUIntFunction · 0.85
GetArgQWordMethod · 0.80
GetArgAddressMethod · 0.80
GetArgDWordMethod · 0.80

Tested by

no test coverage detected