lc_buffer_free function

  1. @Native<Void Function(Pointer<Uint8>)>(ffi.Pointer<ffi.Uint8>)>()
void lc_buffer_free(
  1. Pointer<Uint8> data
)

Releases a buffer produced by lc_image_encode_png. Passing NULL is a no-op.

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Uint8>)>()
external void lc_buffer_free(ffi.Pointer<ffi.Uint8> data);