20 |
20 |
21 PyObject *unhexlify(const char *str, Py_ssize_t len); |
21 PyObject *unhexlify(const char *str, Py_ssize_t len); |
22 PyObject *asciilower(PyObject *self, PyObject *args); |
22 PyObject *asciilower(PyObject *self, PyObject *args); |
23 PyObject *asciiupper(PyObject *self, PyObject *args); |
23 PyObject *asciiupper(PyObject *self, PyObject *args); |
24 PyObject *make_file_foldmap(PyObject *self, PyObject *args); |
24 PyObject *make_file_foldmap(PyObject *self, PyObject *args); |
|
25 PyObject *jsonescapeu8fast(PyObject *self, PyObject *args); |
25 |
26 |
26 static const int8_t hextable[256] = { |
27 static const int8_t hextable[256] = { |
27 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
28 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
28 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
29 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
29 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
30 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |