equal
deleted
inserted
replaced
32 ssize_t PyString_GET_SIZE (PyObject *str) |
32 ssize_t PyString_GET_SIZE (PyObject *str) |
33 char* PyString_AS_STRING (PyObject *str) |
33 char* PyString_AS_STRING (PyObject *str) |
34 |
34 |
35 int _PyString_Resize (PyObject **string, ssize_t newsize) except -1 |
35 int _PyString_Resize (PyObject **string, ssize_t newsize) except -1 |
36 |
36 |
37 ## except setting |
37 ## exceptions |
38 PyObject* PyErr_SetFromErrno (PyObject *type) |
38 PyObject* PyErr_SetFromErrno (PyObject *type) |
39 |
39 |
40 PyObject *PyExc_OSError |
40 PyObject *PyExc_OSError |
|
41 |
|
42 ## signal handling |
|
43 int PySignal_SetWakeupFd (int fd) |
|
44 int PyErr_CheckSignals () except -1 |
41 |
45 |
42 # raise OSError with errno |
46 # raise OSError with errno |
43 # XXX: doesn't do anything with func |
47 # XXX: doesn't do anything with func, yet |
44 cdef int raise_errno (char *func) except -1 |
48 cdef int raise_errno (char *func) except -1 |
45 |
49 |