cJSON_malloc function

  1. @Native<Pointer<Void> Function(Size sz)>(ffi.Size)>()
Pointer<Void> cJSON_malloc(
  1. int size
)

malloc/free objects using the malloc/free functions that have been set with cJSON_InitHooks

Implementation

@ffi.Native<ffi.Pointer<ffi.Void> Function(ffi.Size)>()
external ffi.Pointer<ffi.Void> cJSON_malloc(int size);