Skip to content

Commit 8814dd8

Browse files
committed
Define _check_rc as c function. This fixes #187
1 parent 3c22241 commit 8814dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blosc2/blosc2_ext.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ def register_filter(id, forward, backward, filter_name):
19061906
if forward and backward:
19071907
blosc2.ufilters_registry[id] = (forward, backward)
19081908

1909-
def _check_rc(rc, message):
1909+
cdef _check_rc(rc, message):
19101910
if rc < 0:
19111911
raise RuntimeError(message)
19121912

0 commit comments

Comments
 (0)