#[unsafe(no_mangle)]pub unsafe extern "C" fn laminar_schema_export(
schema: *mut LaminarSchema,
out_schema: *mut FFI_ArrowSchema,
) -> i32Expand description
Export just the schema to the Arrow C Data Interface.
Useful when consumers need the schema before receiving data.
§Arguments
schema- Schema to exportout_schema- Pointer to caller-allocatedArrowSchemastruct
§Returns
LAMINAR_OK on success, or an error code.
§Safety
schemamust be a valid schema handleout_schemamust be a valid pointer to an uninitialized struct- Caller must eventually call the release callback