[][src]Type Definition azul_webrender_api::VoidPtrToSizeFn

type VoidPtrToSizeFn = unsafe extern "C" fn(ptr: *const c_void) -> usize;

A C function that takes a pointer to a heap allocation and returns its size.

This is borrowed from the malloc_size_of crate, upon which we want to avoid a dependency from WebRender.