blosc2_create_cctx

Function blosc2_create_cctx 

Source
pub unsafe extern "C" fn blosc2_create_cctx(
    cparams: blosc2_cparams,
) -> *mut blosc2_context
Expand description

@brief Create a context for @a *_ctx() compression functions.

@param cparams The blosc2_cparams struct with the compression parameters.

@return A pointer to the new context. NULL is returned if this fails.

@note This supports the same environment variables than #blosc2_compress for overriding the programmatic compression values.

@sa #blosc2_compress