summaryrefslogtreecommitdiff
path: root/kit/utf8.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-11-17 05:24:04 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-11-17 05:24:04 +0100
commitd5a727a062e4d727491f4e7f047269d60a93a8cf (patch)
tree565aec155ab056f1bef8ddc7dc78d52e65aa76b7 /kit/utf8.h
parent4ba961dcbf60f7c12f53f46baa261757e15d5931 (diff)
downloadsaw-d5a727a062e4d727491f4e7f047269d60a93a8cf.zip
Remove lots of dependencies
Diffstat (limited to 'kit/utf8.h')
-rw-r--r--kit/utf8.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/kit/utf8.h b/kit/utf8.h
deleted file mode 100644
index 3dc6822..0000000
--- a/kit/utf8.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#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
-
-#endif