wt_buffer_free function

  1. @Native<Void Function(Pointer<wt_buffer_t>)>(ffi.Pointer<wt_buffer_t>)>()
void wt_buffer_free(
  1. Pointer<wt_buffer_t> buffer
)

Releases the buffer handle.

The storage itself is only released once every in-flight operation that referenced it has finished, so callers must not release a buffer while a wt_recv_stream_read writing into it is still outstanding.

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<wt_buffer_t>)>()
external void wt_buffer_free(ffi.Pointer<wt_buffer_t> buffer);