Skip to content

Name no GEOS type or header in the generated bindings - #32

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:build/no-geos
Oct 27, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:build/no-geos

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The public MEOS headers expose H3 as the one dependency whose header a
consumer compiles against: no header includes a GEOS or GSL header, and no
catalog function takes or returns a GEOSContextHandle_t. The generator
therefore lists no GEOS type among the opaque types it leaves unwrapped, and
the cgo preamble names H3 alone.

Measured: against the libmeos of MobilityDB a23e01a60b, the regenerated
packages differ from main only in that preamble comment, keeping 3994 flat
wrappers and 1435 methods; the functions and types packages build, the
portable-parity test and the gomeos examples pass.

Why: MEOS answers without GEOS, and a binding states the dependencies the
library has.

The public MEOS headers expose H3 as the one dependency whose header a
consumer compiles against: no header includes a GEOS or GSL header, and no
catalog function takes or returns a GEOSContextHandle_t. The generator
therefore lists no GEOS type among the opaque types it leaves unwrapped, and
the cgo preamble names H3 alone.

Measured: against the libmeos of MobilityDB a23e01a60b, the regenerated
packages differ from main only in that preamble comment, keeping 3994 flat
wrappers and 1435 methods; the functions and types packages build, the
portable-parity test and the gomeos examples pass.

Why: MEOS answers without GEOS, and a binding states the dependencies the
library has.
@estebanzimanyi
estebanzimanyi merged commit 934f405 into MobilityDB:main Oct 27, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the build/no-geos branch October 27, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant