MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / liq_set_log_flush_callback

Function liq_set_log_flush_callback

imagequant-sys/src/ffi.rs:214–217  ·  view source on GitHub ↗
(attr: &mut liq_attr, callback: liq_log_flush_callback_function, user_info: AnySyncSendPtr)

Source from the content-addressed store, hash-verified

212#[no_mangle]
213#[inline(never)]
214pub unsafe extern "C" fn liq_set_log_flush_callback(attr: &mut liq_attr, callback: liq_log_flush_callback_function, user_info: AnySyncSendPtr) {
215 if bad_object!(attr, LIQ_ATTR_MAGIC) { return; }
216 attr.inner.set_log_flush_callback(move |attr| callback(attr_to_liq_attr_ptr(attr), user_info));
217}
218
219#[no_mangle]
220#[inline(never)]

Callers

nothing calls this directly

Calls 2

attr_to_liq_attr_ptrFunction · 0.85

Tested by

no test coverage detected