We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90bed5a commit 8aa3b36Copy full SHA for 8aa3b36
1 file changed
av/subtitles/subtitle.py
@@ -1,6 +1,5 @@
1
import cython
2
from cython.cimports.cpython import PyBuffer_FillInfo, PyBytes_FromString
3
-from cython.cimports.libc.stdint import int64_t, uint64_t
4
from cython.cimports.libc.string import memcpy, strlen
5
6
@@ -10,7 +9,7 @@ def __dealloc__(self):
10
9
lib.avsubtitle_free(cython.address(self.struct))
11
12
13
-_cinit_bypass_sentinel = object()
+_cinit_bypass_sentinel = cython.declare(object, object())
14
15
16
@cython.cclass
@@ -293,7 +292,7 @@ def dialogue(self):
293
292
Extract the dialogue from the ass format. Strip comments.
294
"""
295
comma_count: cython.short = 0
296
- i: uint64_t = 0
+ i: cython.Py_ssize_t = 0
297
state: cython.bint = False
298
ass_text: bytes = self.ass
299
char, next_char = cython.declare(cython.char)
0 commit comments