summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/alg_iso8859_1.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cjkcodecs/alg_iso8859_1.h')
-rw-r--r--Modules/cjkcodecs/alg_iso8859_1.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/alg_iso8859_1.h b/Modules/cjkcodecs/alg_iso8859_1.h
new file mode 100644
index 0000000..53a481f
--- /dev/null
+++ b/Modules/cjkcodecs/alg_iso8859_1.h
@@ -0,0 +1,12 @@
+/*
+ * alg_iso8859_1.c: Encoder/Decoder macro for ISO8859-1
+ *
+ * Written by Hye-Shik Chang <perky@FreeBSD.org>
+ * $CJKCodecs: alg_iso8859_1.h,v 1.3 2003/12/31 05:46:55 perky Exp $
+ */
+
+#define ISO8859_1_ENCODE(c, assi) \
+ if ((c) <= 0xff) (assi) = (c);
+
+#define ISO8859_1_DECODE(c, assi) \
+ if (1/*(c) <= 0xff*/) (assi) = (c);