[−][src]Function openjpeg2_sys::opj_stream_set_user_data
pub unsafe extern "C" fn opj_stream_set_user_data(
p_stream: *mut opj_stream_t,
p_data: *mut c_void,
p_function: opj_stream_free_user_data_fn
)
Sets the given data to be used as a user data for the stream. @param p_stream the stream to modify @param p_data the data to set. @param p_function the function to free p_data when opj_stream_destroy() is called.