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

Function parseFloat_Generic

sdk/add_on/scriptstdstring/scriptstdstring.cpp:1277–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1275}
1276
1277static void parseFloat_Generic(asIScriptGeneric *gen)
1278{
1279 string *str = reinterpret_cast<string*>(gen->GetArgAddress(0));
1280 asUINT *byteCount = reinterpret_cast<asUINT*>(gen->GetArgAddress(1));
1281 gen->SetReturnDouble(parseFloat(*str,byteCount));
1282}
1283
1284static void StringCharAtGeneric(asIScriptGeneric * gen)
1285{

Callers

nothing calls this directly

Calls 3

parseFloatFunction · 0.85
GetArgAddressMethod · 0.80
SetReturnDoubleMethod · 0.80

Tested by

no test coverage detected