summaryrefslogtreecommitdiff
path: root/src/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8.h')
-rw-r--r--src/utf8.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/utf8.h b/src/utf8.h
index 20e33bd..19032f6 100644
--- a/src/utf8.h
+++ b/src/utf8.h
@@ -1,10 +1,9 @@
#ifndef UTF8_H
#define UTF8_H
-/* UTF-8 handling macros */
-#define RP_IS_UTF8_CHAR(c) (utf8_locale && (c) & 0xC0)
-#define RP_IS_UTF8_START(c) (utf8_locale && ((c) & 0xC0) == 0xC0)
-#define RP_IS_UTF8_CONT(c) (utf8_locale && ((c) & 0xC0) == 0x80)
+extern int isu8char(char c);
+extern int isu8start(char c);
+extern int isu8cont(char c);
extern int utf8_locale;