pomp_buffer_new

Function pomp_buffer_new 

Source
pub unsafe extern "C" fn pomp_buffer_new(
    capacity: usize,
) -> *mut pomp_buffer
Expand description

Allocate a new buffer. @param capacity : initial capacity of the buffer. @return new buffer with initial ref count at 1 or NULL in case of error.