MCPcopy Create free account
hub / github.com/Illumina/hap.py / fixNumericLocale

Function fixNumericLocale

external/jsoncpp/jsoncpp.cpp:157–164  ·  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

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

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected