summaryrefslogtreecommitdiff
path: root/utf/inc/utf_error.hh
diff options
context:
space:
mode:
Diffstat (limited to 'utf/inc/utf_error.hh')
-rw-r--r--utf/inc/utf_error.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/utf/inc/utf_error.hh b/utf/inc/utf_error.hh
new file mode 100644
index 0000000..079fa43
--- /dev/null
+++ b/utf/inc/utf_error.hh
@@ -0,0 +1,13 @@
+#ifndef UTF_ERROR_HH
+#define UTF_ERROR_HH
+
+#include <cstdint>
+
+namespace utf {
+
+constexpr uint32_t NEED_MORE = 0xfffffffe;
+constexpr uint32_t INVALID = 0xffffffff;
+
+} // namespace utf
+
+#endif // UTF_ERROR_HH