Skip to content

Bump PyMEOS-CFFI to MEOS 1.4#19

Open
estebanzimanyi wants to merge 1 commit into
refactor/codegen-meos-idlfrom
bump/meos-1.4
Open

Bump PyMEOS-CFFI to MEOS 1.4#19
estebanzimanyi wants to merge 1 commit into
refactor/codegen-meos-idlfrom
bump/meos-1.4

Conversation

@estebanzimanyi
Copy link
Copy Markdown
Member

Vendors the MEOS 1.4 IDL (3544 functions, +1149 over 1.3) and regenerates pymeos_cffi/functions.py plus builder/meos.h on top of #18. Adds meos_cbuffer.h, meos_pose.h, and meos_rgeo.h to the builder header lists. Restores the GEOSContextHandle_t entry in undefined_types so the cdef strips geos_get_context, whose handle type is forward-declared opaque. Version bumped to 1.4.0a1.

Regenerate the cdef and functions against the MEOS 1.4 surface.

Also exclude macro-aliased internal accessors (SET_VAL_N /
SET_OFFSETS_PTR / SPANSET_SP_N / TSEQUENCE(SET)_OFFSETS_PTR /
TSEQUENCE(SET)_INST_N|SEQ_N) from the cdef: meos_internal.h declares them
both as extern functions and as function-like macros, so although the nm
filter keeps the symbols, the macro definition wins in the cffi
set_source unit and the wrapper expands SET_VAL_N -> PointerGetDatum (not
part of the MEOS ABI), failing to import. They are internal memory-layout
accessors, not public binding surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant