Skip to main content

STABLE_API_SLOT_COUNT

Constant STABLE_API_SLOT_COUNT 

Source
pub const STABLE_API_SLOT_COUNT: usize = 357;
Expand description

Number of function-pointer slots in the stable prefix of duckdb_ext_api_v1.

These slots have been ABI-identical — same slots, same order, same signatures — in every DuckDB release from v1.2.0 through v1.5.6. (Slots 114 and 138 were renamed from duckdb_*_varint to duckdb_*_bignum in v1.4.0; duckdb_varint and duckdb_bignum have the same layout.) An extension that only calls into this prefix is portable across all of them.