]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/alg_jisx0201.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Modules / cjkcodecs / alg_jisx0201.h
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/alg_jisx0201.h b/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/alg_jisx0201.h
deleted file mode 100644 (file)
index 3f4e938..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#define JISX0201_R_ENCODE(c, assi)                      \\r
-    if ((c) < 0x80 && (c) != 0x5c && (c) != 0x7e)       \\r
-        (assi) = (c);                                   \\r
-    else if ((c) == 0x00a5) (assi) = 0x5c;              \\r
-    else if ((c) == 0x203e) (assi) = 0x7e;\r
-#define JISX0201_K_ENCODE(c, assi)                      \\r
-    if ((c) >= 0xff61 && (c) <= 0xff9f)                 \\r
-        (assi) = (c) - 0xfec0;\r
-#define JISX0201_ENCODE(c, assi)                        \\r
-    JISX0201_R_ENCODE(c, assi)                          \\r
-    else JISX0201_K_ENCODE(c, assi)\r
-\r
-#define JISX0201_R_DECODE(c, assi)                      \\r
-    if ((c) < 0x5c) (assi) = (c);                       \\r
-    else if ((c) == 0x5c) (assi) = 0x00a5;              \\r
-    else if ((c) < 0x7e) (assi) = (c);                  \\r
-    else if ((c) == 0x7e) (assi) = 0x203e;              \\r
-    else if ((c) == 0x7f) (assi) = 0x7f;\r
-#define JISX0201_K_DECODE(c, assi)                      \\r
-    if ((c) >= 0xa1 && (c) <= 0xdf)                     \\r
-    (assi) = 0xfec0 + (c);\r
-#define JISX0201_DECODE(c, assi)                        \\r
-    JISX0201_R_DECODE(c, assi)                          \\r
-    else JISX0201_K_DECODE(c, assi)\r