Function imagequant_sys::liq_image_set_memory_ownership
source · pub unsafe extern "C" fn liq_image_set_memory_ownership(
image: &liq_image,
own: liq_ownership
) -> liq_error
Expand description
unsafe: It will crash if the owned memory wasn’t allocated using libc::malloc()
(or whatever allocator C side is using)