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.
- filename/line may be used for debugging purposes. They are optional. Provide null/-1 to skip.
- filenameshould be an null-terminated UTF-8 or ASCII string which will outlive the context.
Returns null(0) on failure.