Function mupdf_sys::fz_calloc

source ·
pub unsafe extern "C" fn fz_calloc(
    ctx: *mut fz_context,
    count: usize,
    size: usize
) -> *mut c_void
Expand description

Allocate array of memory of count entries of size bytes. Clears the memory to zero.

Throws exception in the event of failure to allocate.