Function otPlatMessagePoolNew

Source
pub unsafe extern "C" fn otPlatMessagePoolNew(
    aInstance: *mut otInstance,
) -> *mut otMessage
Expand description

Allocate a buffer from the platform managed buffer pool.

@param[in] aInstance A pointer to the OpenThread instance.

@returns A pointer to the Buffer or NULL if no Buffers are available.