(o: *mut PyObject)
| 45 | |
| 46 | #[inline(always)] |
| 47 | pub unsafe fn PyByteArray_AS_STRING(o: *mut PyObject) -> *mut c_char { |
| 48 | PyByteArray_AsString(o) |
| 49 | // #define PyByteArray_AS_STRING(self) \ |
| 50 | // (assert(PyByteArray_Check(self)), \ |
| 51 | // Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string) |
| 52 | } |
| 53 | |
| 54 | #[inline(always)] |
| 55 | pub unsafe fn PyByteArray_GET_SIZE(o: *mut PyObject) -> Py_ssize_t { |
nothing calls this directly
no outgoing calls
no test coverage detected