Function rusteron_media_driver::bindings::aeron_deque_add_last

source ยท
pub unsafe extern "C" fn aeron_deque_add_last(
    deque: *mut aeron_deque_t,
    value: *mut c_void,
) -> c_int
Expand description

Add value into the deque as the last element. Will memcpy into the deque from the void pointer provided using the specified element size. May need to allocate in order to increase the size of the dequeue.

Errors: ENOMEM if growing the array fails.

@param deque to add the value too. @param value value to be added. @return 0 on success, -1 on failure.