Skip to content

Define the optional family macros when parsing the headers#47

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/parse-all-families
Jul 11, 2026
Merged

Define the optional family macros when parsing the headers#47
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/parse-all-families

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A handful of public declarations in the core headers are guarded by #if <FAMILY> — for example meos_initialize_pointcloud and rtree_create_tpcbox in meos.h, and the pointcloud_basetype / pointcloudset_type / tpointcloud_temptype catalog predicates behind #if POINTCLOUD in meos_catalog.h. The family headers themselves are unguarded, so their functions are captured, but these gated core-header declarations are preprocessed out and never reach the catalog.

MobilityDB's ALL=ON build enables every optional family, each defining a -D<FAMILY>=1 compile flag. The parser mirrors that build so the catalog reflects the full all-families surface. The family list is alphabetically ordered, in sync with the CMakeLists.txt if(ALL) loop.

Against the installed all-families headers the catalog carries 4239 functions (the 5 gated core-header declarations included); structs, enums, and macros are unchanged, and the full test suite passes (165 passed, 14 skipped).

A handful of public declarations in the core headers are guarded by
`#if <FAMILY>` (for example `meos_initialize_pointcloud`, `rtree_create_tpcbox`,
and the `pointcloud_basetype` / `pointcloudset_type` / `tpointcloud_temptype`
catalog predicates behind `#if POINTCLOUD` in meos.h and meos_catalog.h). The
family headers themselves are unguarded, so their functions were captured, but
these gated core-header declarations were preprocessed out and never reached
the catalog.

MobilityDB's `ALL=ON` build enables every optional family, each defining a
`-D<FAMILY>=1` compile flag. Mirror that here so the catalog reflects the full
all-families surface. The family list is kept alphabetically ordered, in sync
with the CMakeLists.txt `if(ALL)` loop.
@estebanzimanyi estebanzimanyi merged commit d3eeea9 into MobilityDB:master Jul 11, 2026
2 checks passed
@estebanzimanyi estebanzimanyi deleted the feat/parse-all-families branch July 11, 2026 00:53
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