[][src]Function mmal_sys::vcos_generic_mem_alloc

pub unsafe extern "C" fn vcos_generic_mem_alloc(
    sz: VCOS_UNSIGNED,
    desc: *const c_char
) -> *mut c_void

\file

Create the vcos malloc API from a regular system malloc/free library.

The API lets callers specify an alignment.

Under VideoCore this is not needed, as we can simply use the rtos_malloc routines. But on host platforms that won't be the case.