wt_alloc function

  1. @Native<Pointer<Uint8> Function(Size)>(ffi.Size)>()
Pointer<Uint8> wt_alloc(
  1. int size
)

Allocates size bytes from the same allocator used by wt_buffer_t.

Implementation

@ffi.Native<ffi.Pointer<ffi.Uint8> Function(ffi.Size)>()
external ffi.Pointer<ffi.Uint8> wt_alloc(int size);