fz_malloc

Function fz_malloc 

Source
pub unsafe extern "C" fn fz_malloc(
    ctx: *mut fz_context,
    size: usize,
) -> *mut c_void
Expand description

Allocate uninitialized memory of a given size.
Does NOT clear the memory!

May return NULL for size = 0.

Throws exception in the event of failure to allocate.