|
From: Andre R. <and...@us...> - 2004-10-28 22:30:55
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24343/Frontier/Common/source Modified Files: stringverbs.c Log Message: Moved latintomactable and mactolatintable from strings.h to stringverbs.c since that's the only place where they are actually needed. Index: stringverbs.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/stringverbs.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** stringverbs.c 23 Oct 2004 22:59:03 -0000 1.2 --- stringverbs.c 28 Oct 2004 22:30:43 -0000 1.3 *************** *** 46,49 **** --- 46,192 ---- + /*Latin to Mac conversion table: 7.0b28 PBS*/ + /* moved to stringverbs.c: 2004-10-28 aradke */ + + static unsigned char latintomactable [] = { + + 0, 1, 2, 3, + 4, 5, 6, 7, + 8, 9, 10, 11, + 12, 13, 14, 15, + 16, 17, 18, 19, + 20, 21, 22, 23, + 24, 25, 26, 27, + 28, 29, 30, 31, + 32, 33, 34, 35, + 36, 37, 38, 39, + 40, 41, 42, 43, + 44, 45, 46, 47, + 48, 49, 50, 51, + 52, 53, 54, 55, + 56, 57, 58, 59, + 60, 61, 62, 63, + 64, 65, 66, 67, + 68, 69, 70, 71, + 72, 73, 74, 75, + 76, 77, 78, 79, + 80, 81, 82, 83, + 84, 85, 86, 87, + 88, 89, 90, 91, + 92, 93, 94, 95, + 96, 97, 98, 99, + 100, 101, 102, 103, + 104, 105, 106, 107, + 108, 109, 110, 111, + 112, 113, 114, 115, + 116, 117, 118, 119, + 120, 121, 122, 123, + 124, 125, 126, 127, + 165, 170, 173, 176, + 179, 183, 186, 189, + 195, 197, 201, 209, + 212, 217, 218, 182, + 198, 206, 226, 227, + 228, 240, 246, 247, + 249, 250, 251, 253, + 254, 255, 245, 196, + 202, 193, 162, 163, + 219, 180, 207, 164, + 172, 169, 187, 199, + 194, 208, 168, 248, + 161, 177, 211, 210, + 171, 181, 166, 225, + 252, 213, 188, 200, + 185, 184, 178, 192, + 203, 231, 229, 204, + 128, 129, 174, 130, + 233, 131, 230, 232, + 237, 234, 235, 236, + 220, 132, 241, 238, + 239, 205, 133, 215, + 175, 244, 242, 243, + 134, 160, 222, 167, + 136, 135, 137, 139, + 138, 140, 190, 141, + 143, 142, 144, 145, + 147, 146, 148, 149, + 221, 150, 152, 151, + 153, 155, 154, 214, + 191, 157, 156, 158, + 159, 224, 223, 216 + }; + + /*Mac to Latin conversion table: 7.0b35 PBS*/ + /* moved to stringverbs.c: 2004-10-28 aradke */ + + static unsigned char mactolatintable [] = { + + 0, 1, 2, 3, + 4, 5, 6, 7, + 8, 9, 10, 11, + 12, 13, 14, 15, + 16, 17, 18, 19, + 20, 21, 22, 23, + 24, 25, 26, 27, + 28, 29, 30, 31, + 32, 33, 34, 35, + 36, 37, 38, 39, + 40, 41, 42, 43, + 44, 45, 46, 47, + 48, 49, 50, 51, + 52, 53, 54, 55, + 56, 57, 58, 59, + 60, 61, 62, 63, + 64, 65, 66, 67, + 68, 69, 70, 71, + 72, 73, 74, 75, + 76, 77, 78, 79, + 80, 81, 82, 83, + 84, 85, 86, 87, + 88, 89, 90, 91, + 92, 93, 94, 95, + 96, 97, 98, 99, + 100, 101, 102, 103, + 104, 105, 106, 107, + 108, 109, 110, 111, + 112, 113, 114, 115, + 116, 117, 118, 119, + 120, 121, 122, 123, + 124, 125, 126, 127, + 196, 197, 199, 201, + 209, 214, 220, 225, + 224, 226, 228, 227, + 229, 231, 233, 232, + 234, 235, 237, 236, + 238, 239, 241, 243, + 242, 244, 246, 245, + 250, 249, 251, 252, + 221, 176, 162, 163, + 167, 128, 182, 223, + 174, 169, 129, 180, + 168, 130, 198, 216, + 131, 177, 190, 132, + 165, 181, 143, 133, + 189, 188, 134, 170, + 186, 135, 230, 248, + 191, 161, 172, 136, + 159, 137, 144, 171, + 187, 138, 160, 192, + 195, 213, 145, 166, + 173, 139, 179, 178, + 140, 185, 247, 215, + 255, 141, 142, 164, + 208, 240, 222, 254, + 253, 183, 146, 147, + 148, 194, 202, 193, + 203, 200, 205, 206, + 207, 204, 211, 212, + 149, 210, 218, 219, + 217, 158, 150, 151, + 175, 152, 153, 154, + 184, 155, 156, 157 + }; + + #define stringerrorlist 263 #define notimplementederror 1 |