File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # cython: freethreading_compatible = True
12from libc.stdint cimport uint8_t, uint32_t, uintptr_t
23
34cdef extern from " lexbor/core/core.h" nogil:
Original file line number Diff line number Diff line change 1-
1+ # cython: freethreading_compatible = True
22cdef extern from " myhtml/myhtml.h" nogil:
33 ctypedef unsigned int mystatus_t
44 ctypedef struct myhtml_t
Original file line number Diff line number Diff line change 6161 "emit_code_comments" : True ,
6262 "boundscheck" : False ,
6363 "wraparound" : False ,
64+ "freethreading_compatible" : "True" ,
65+ "subinterpreters_compatible" : "own_gil" ,
6466}
6567
6668
@@ -143,8 +145,8 @@ def make_extensions():
143145 "-Wno-unused-variable" ,
144146 "-Wno-unused-function" ,
145147 "-std=c99" ,
146- "-O2 " ,
147- "-g0 " ,
148+ "-O0 " ,
149+ "-g " ,
148150 ]
149151 compile_arguments .extend (args )
150152 compile_arguments_lxb .extend (args )
You can’t perform that action at this time.
0 commit comments