| 254 | /* ── JSON helpers ─────────────────────────────────────────────────── */ |
| 255 | |
| 256 | static const char *ha_obj_str(yyjson_val *obj, const char *key) { |
| 257 | yyjson_val *v = obj ? yyjson_obj_get(obj, key) : NULL; |
| 258 | return (v && yyjson_is_str(v)) ? yyjson_get_str(v) : NULL; |
| 259 | } |
| 260 | |
| 261 | static bool ha_is_utf8_continuation(unsigned char ch) { |
| 262 | return (ch & 0xc0U) == 0x80U; |
no outgoing calls
no test coverage detected