free function

dynamic free(
  1. Pointer<NativeType> ptr
)

provide cross platform function to free memory.

Implementation

free(ffi.Pointer ptr) => pkgffi.malloc.free(ptr);