init_primop

Function init_primop 

Source
pub unsafe extern "C" fn init_primop(
    context: *mut c_context,
    value: *mut value,
    op: *mut PrimOp,
) -> err
Expand description

@brief Set primop @ingroup value_create @param[out] context Optional, stores error information @param[out] value Nix value to modify @param[in] op primop, will be gc-referenced by the value @see nix_alloc_primop @return error code, NIX_OK on success.