Function grokj2k_sys::grk_stream_set_user_data[][src]

pub unsafe extern "C" fn grk_stream_set_user_data(
    stream: *mut grk_stream,
    data: *mut c_void,
    p_function: grk_stream_free_user_data_fn
)
Expand description

Set the given data to be used as a user data for the stream.

@param stream the stream to modify @param data the data to set. @param p_function the function to free data when grk_object_unref() is called.