Skip to content

Commit c2fb45a

Browse files
committed
Remove now unused noop_free()
1 parent 0d4149f commit c2fb45a

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

av/opaque.pxd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
cimport libav as lib
2-
from libc.stdint cimport uint8_t
3-
4-
5-
cdef void noop_free(void *opaque, uint8_t *data) noexcept nogil
62

73

84
cdef class OpaqueContainer:

av/opaque.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
u8ptr = cython.typedef(cython.pointer[uint8_t])
99

1010

11-
@cython.cfunc
12-
@cython.exceptval(check=False)
13-
@cython.nogil
14-
def noop_free(opaque: cython.p_void, data: u8ptr) -> cython.void:
15-
pass
16-
17-
1811
@cython.cfunc
1912
@cython.exceptval(check=False)
2013
@cython.nogil

0 commit comments

Comments
 (0)