[][src]Function mupdf_sys::fz_malloc

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

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.