pub unsafe extern "C" fn pomp_buffer_new_get_data(
capacity: usize,
data: *mut *mut c_void,
) -> *mut pomp_bufferExpand description
Same as pomp_buffer_new but retrieved internal data pointer at the same time. @param capacity : initial capacity of the buffer. @param data : data of buffer (optional can be NULL). @return new buffer with initial ref count at 1 or NULL in case of error.