cJSON_GetArrayItem function

  1. @Native<Pointer<cJSON> Function(Pointer<cJSON>, Int)>(ffi.Pointer<cJSON>, ffi.Int)>()
Pointer<cJSON> cJSON_GetArrayItem(
  1. Pointer<cJSON> array,
  2. int index
)

Retrieve item number "index" from array "array". Returns NULL if unsuccessful.

Implementation

@ffi.Native<ffi.Pointer<cJSON> Function(ffi.Pointer<cJSON>, ffi.Int)>()
external ffi.Pointer<cJSON> cJSON_GetArrayItem(
  ffi.Pointer<cJSON> array,
  int index,
);