]> granicus.if.org Git - recode/commit
Recode.pyx: minor improvements
authorReuben Thomas <rrt@sc3d.org>
Tue, 16 Jan 2018 10:37:48 +0000 (10:37 +0000)
committerReuben Thomas <rrt@sc3d.org>
Tue, 23 Jan 2018 07:02:41 +0000 (07:02 +0000)
commit9502566d3b2c1aa5e7497b16d881ee145f546306
treec704e35a689676af6c48d01e898db5af06ef926a
parent52f97c2d5d9c9652ef0b69d0186149e1d926578d
Recode.pyx: minor improvements

size_t is supported natively these days, so don’t make a dangerous guess as
to its value (in particular, should never hard-wire things determined in
config.h!).

Use libcpp’s bool instead of hand-defining a bool enum.

Use True for C true (will be automatically coerced).
tests/Recode.pyx