Function imageflow::imageflow_context_memory_allocate [] [src]

#[no_mangle]
pub unsafe extern fn imageflow_context_memory_allocate(context: *mut Context,
                                                       bytes: size_t,
                                                       filename: *const c_char,
                                                       line: i32)
                                                       -> *mut c_void

Allocates zeroed memory that will be freed with the context.

Returns null(0) on failure.