Probably GEOS_SINCE_3_8_0 is a slightly better convention for these macros IMO, makes it a bit less ambiguous. Especially in the future, for say, in case of a 3.10.0 version.
|
#define GEOS_SINCE_380 ((GEOS_VERSION_MAJOR >= 3) && (GEOS_VERSION_MINOR >= 8)) |
Should be a straight forward change, I can do a refactor and raise a PR for this if that works.
Let me know if you guys have any other ideas.
Probably
GEOS_SINCE_3_8_0is a slightly better convention for these macros IMO, makes it a bit less ambiguous. Especially in the future, for say, in case of a 3.10.0 version.pygeos/src/geos.h
Line 20 in a999b76
Should be a straight forward change, I can do a refactor and raise a PR for this if that works.
Let me know if you guys have any other ideas.