blob: d053224018ed2c05aebe32d3bb7c31b922dd8cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#ifndef KIT_UTF8_H
#define KIT_UTF8_H
#include "string_builder.h"
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__GNUC__) || defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-function"
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
# pragma GCC push_options
# pragma GCC optimize("O3")
#endif
static s32 kit_utf8_count(kit_str_t s, i64 *count) {
return KIT_ERROR_NOT_IMPLEMENTED;
}
static s32 kit_utf8_offset(kit_str_t s, i64 count, i64 *offset) {
return KIT_ERROR_NOT_IMPLEMENTED;
}
static s32 kit_utf8_decode(kit_str_t s, i64 offset, i64 *size,
c32 *value) {
return KIT_ERROR_NOT_IMPLEMENTED;
}
static s32 kit_utf8_encode(kit_str_builder_t *s, c32 value) {
return KIT_ERROR_NOT_IMPLEMENTED;
}
#if defined(__GNUC__) || defined(__clang__)
# pragma GCC pop_options
# pragma GCC diagnostic pop
#endif
#ifdef __cplusplus
}
#endif
#ifndef KIT_DISABLE_SHORT_NAMES
#endif
#endif
|