Skip to main content

semq_floor_create

Function semq_floor_create 

Source
pub unsafe extern "C" fn semq_floor_create(
    config: *const semq_config_t,
    id_kind: u32,
    reference_id: *const u8,
    nulls: u64,
    changed_rows: u64,
    total_rows: u64,
    hamming: u64,
    out: *mut *mut semq_floor_t,
    err: *mut semq_error_t,
) -> semq_status_t
Expand description

A floor from its fields. config must validate, id_kind must be 0 or 1, reference_id is 32 bytes, nulls >= 1, total_rows >= 1, changed_rows <= total_rows and hamming <= units_per_row(config); otherwise SEMQ_ERR_INVALID_INPUT.