MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_set_float_format

Function __hxcpp_set_float_format

src/String.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void __hxcpp_set_float_format(String inFormat)
56{
57 int last = inFormat.length < 19 ? inFormat.length : 19;
58 memcpy(HX_DOUBLE_PATTERN, inFormat.utf8_str(), last*sizeof(char) );
59 HX_DOUBLE_PATTERN[last] = '\0';
60}
61
62// --- GC helper
63

Callers

nothing calls this directly

Calls 2

memcpyFunction · 0.85
utf8_strMethod · 0.80

Tested by

no test coverage detected