Function gnunet_sys::GNUNET_xnew_array_3d_[][src]

pub unsafe extern "C" fn GNUNET_xnew_array_3d_(
    n: usize,
    m: usize,
    o: usize,
    elementSize: usize,
    filename: *const c_char,
    linenumber: c_int
) -> *mut *mut *mut c_void

Allocate memory for a three dimensional array in one block and set up pointers. Aborts if no more memory is available. Don’t use GNUNET_xnew_array_3d_ directly. Use the #GNUNET_new_array_3d macro. The memory of the elements will be zero’ed out.

@param n size of the first dimension @param m size of the second dimension @param o size of the third dimension @param elementSize size of a single element in bytes @param filename where is this call being made (for debugging) @param linenumber line where this call is being made (for debugging) @return allocated memory, never NULL