Function magma::magma_connection_create_buffer
source · pub unsafe extern "C" fn magma_connection_create_buffer(
connection: magma_connection_t,
size: u64,
size_out: *mut u64,
buffer_out: *mut magma_buffer_t,
id_out: *mut magma_buffer_id_t,
) -> magma_status_t
Expand description
\brief Creates a memory buffer of at least the given size. \param connection An open connection. \param size Requested buffer size. \param size_out The returned buffer’s actual size. \param buffer_out The returned buffer. \param id_out The buffer id of the buffer.