[][src]Function openthread_sys::otPlatMessagePoolNew

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

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.