pub type WebPWriterFunction = Option<extern "C" fn(*const u8, usize, *const WebPPicture) -> c_int>;
Expand description
Signature for output function. Should return true if writing was successful.
data/data_size is the segment of data to write, and picture
is for
reference (and so one can make use of picture->custom_ptr).
Aliased Type§
enum WebPWriterFunction {
None,
Some(extern "C" fn(_: *const u8, _: usize, _: *const WebPPicture) -> i32),
}