MCPcopy Create free account
hub / github.com/cinder/Cinder / fixNumericLocale

Function fixNumericLocale

src/jsoncpp/jsoncpp.cpp:158–165  ·  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

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

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected