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