Huh. Was confused with Cython. I have a function which takes a bool on the Pytho...
Andrew Dalke @dalke@toots.nu
Huh.
Was confused with Cython.
I have a function which takes a bool on the Python side and an int on the C side
Using:
int stop_at_tab: bool
didn't work..
The right solution is "bint".
bint stop_at_tab = ?,
See https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#types
"The special bint type is used for C boolean values (int with 0/non-0 values for False/True)"