|
42 | 42 | #ifndef SRC_CONST_ARRAYS_H_
|
43 | 43 | #define SRC_CONST_ARRAYS_H_
|
44 | 44 |
|
45 |
| -/****************************************************************************** |
46 |
| - * imported from 'unicodeobject.c' |
47 |
| - ******************************************************************************/ |
48 |
| - |
49 |
| -// partially taken from CPython "Objects/unicodeobject.c" |
50 |
| -const unsigned char _Py_ascii_whitespace[] = { |
51 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
52 |
| -/* case 0x0009: * CHARACTER TABULATION */ |
53 |
| -/* case 0x000A: * LINE FEED */ |
54 |
| -/* case 0x000B: * LINE TABULATION */ |
55 |
| -/* case 0x000C: * FORM FEED */ |
56 |
| -/* case 0x000D: * CARRIAGE RETURN */ |
57 |
| - 0, 1, 1, 1, 1, 1, 0, 0, |
58 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
59 |
| -/* case 0x001C: * FILE SEPARATOR */ |
60 |
| -/* case 0x001D: * GROUP SEPARATOR */ |
61 |
| -/* case 0x001E: * RECORD SEPARATOR */ |
62 |
| -/* case 0x001F: * UNIT SEPARATOR */ |
63 |
| - 0, 0, 0, 0, 1, 1, 1, 1, |
64 |
| -/* case 0x0020: * SPACE */ |
65 |
| - 1, 0, 0, 0, 0, 0, 0, 0, |
66 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
67 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
68 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
69 |
| - |
70 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
71 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
72 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
73 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
74 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
75 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
76 |
| - 0, 0, 0, 0, 0, 0, 0, 0, |
77 |
| - 0, 0, 0, 0, 0, 0, 0, 0 |
78 |
| -}; |
79 |
| - |
80 | 45 | /******************************************************************************
|
81 | 46 | * imported from 'pyctype.c'
|
82 | 47 | ******************************************************************************/
|
|
0 commit comments