av/logging.pxd
raw| 1 | cimport libav as lib |
| 2 | |
| 3 | |
| 4 | cdef extern from "Python.h" nogil: |
| 5 | void PyErr_PrintEx(int set_sys_last_vars) |
| 6 | int Py_IsInitialized() |
| 7 | void PyErr_Display(object, object, object) |
| 8 | |
| 9 | cdef extern from "stdio.h" nogil: |
| 10 | cdef int vsnprintf(char *output, int n, const char *format, lib.va_list args) |
| 11 | |
| 12 | cpdef get_last_error() |