MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / fixNumericLocale

Function fixNumericLocale

vrclient_x64/jsoncpp.cpp:161–168  ·  view source on GitHub ↗

Change ',' to '.' everywhere in buffer. * * We had a sophisticated way, but it did not work in WinCE. * @see https://github.com/open-source-parsers/jsoncpp/pull/9 */

Source from the content-addressed store, hash-verified

159 * @see https://github.com/open-source-parsers/jsoncpp/pull/9
160 */
161static inline void fixNumericLocale(char* begin, char* end) {
162 while (begin < end) {
163 if (*begin == ',') {
164 *begin = '.';
165 }
166 ++begin;
167 }
168}
169
170} // namespace Json {
171

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected