summaryrefslogtreecommitdiff
path: root/utf_8.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-07-23 17:55:23 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-07-23 17:55:23 +0300
commit99a002630c8f09b05d68213412185e71daec6e1d (patch)
tree176741aa685bc4f3b81b6cb92984fc7f84cad1ce /utf_8.h
initial commitHEADmain
Diffstat (limited to 'utf_8.h')
-rw-r--r--utf_8.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utf_8.h b/utf_8.h
new file mode 100644
index 0000000..77a9e74
--- /dev/null
+++ b/utf_8.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+#define UTF8_ACCEPT 0
+#define UTF8_REJECT 1
+uint32_t utf8_decode(uint32_t* state, uint32_t* codep, uint32_t byte); \ No newline at end of file