summaryrefslogtreecommitdiff
path: root/support/texlab/crates/bibutils_sys/src/gb18030.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/bibutils_sys/src/gb18030.h')
-rw-r--r--support/texlab/crates/bibutils_sys/src/gb18030.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/support/texlab/crates/bibutils_sys/src/gb18030.h b/support/texlab/crates/bibutils_sys/src/gb18030.h
new file mode 100644
index 0000000000..e4acd1763b
--- /dev/null
+++ b/support/texlab/crates/bibutils_sys/src/gb18030.h
@@ -0,0 +1,15 @@
+/*
+ * gb18030.h
+ *
+ * Copyright (c) Chris Putnam 2008-2019
+ *
+ * Source code released under the GPL version 2
+ *
+ */
+#ifndef GB18030_H
+#define GB18030_H
+
+extern int gb18030_encode( unsigned int unicode, unsigned char out[4] );
+extern unsigned int gb18030_decode( char *s, unsigned int *pi );
+
+#endif