File: bytesource.pxd

package info (click to toggle)
python-av 14.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,664 kB
  • sloc: python: 4,712; sh: 175; ansic: 174; makefile: 123
file content (14 lines) | stat: -rw-r--r-- 241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from cpython.buffer cimport Py_buffer


cdef class ByteSource:

    cdef object owner

    cdef bint has_view
    cdef Py_buffer view

    cdef unsigned char *ptr
    cdef size_t length

cdef ByteSource bytesource(object, bint allow_none=*)