Use Cython `enum` for `__PREALLOCED_BUFS` (#634)

This commit is contained in:
jakirkham 2024-10-15 08:33:47 -07:00 committed by GitHub
parent 2e8feae2a6
commit 7bb12a1748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,5 @@
cdef extern from *: cdef enum:
''' __PREALLOCED_BUFS = 4
enum {__PREALLOCED_BUFS = 4};
'''
const bint __PREALLOCED_BUFS
@cython.no_gc_clear @cython.no_gc_clear