| 107 | |
| 108 | namespace Json { |
| 109 | static inline char getDecimalPoint() { |
| 110 | #ifdef JSONCPP_NO_LOCALE_SUPPORT |
| 111 | return '\0'; |
| 112 | #else |
| 113 | struct lconv *lc = localeconv(); |
| 114 | return lc ? *(lc->decimal_point) : '\0'; |
| 115 | #endif |
| 116 | } |
| 117 | |
| 118 | /// Converts a unicode code-point to UTF-8. |
| 119 | static inline String codePointToUTF8(unsigned int cp) { |
no outgoing calls
no test coverage detected