hb_map_next function

  1. @Native<hb_bool_t Function(Pointer<hb_map_t>, Pointer<Int>, Pointer<hb_codepoint_t>, Pointer<hb_codepoint_t>)>(ffi.Pointer<hb_map_t>, ffi.Pointer<ffi.Int>, ffi.Pointer<hb_codepoint_t>, ffi.Pointer<hb_codepoint_t>)>()
int hb_map_next(
  1. Pointer<hb_map_t> map,
  2. Pointer<Int> idx,
  3. Pointer<hb_codepoint_t> key,
  4. Pointer<hb_codepoint_t> value,
)

Pass -1 in for idx to get started.

Implementation

@ffi.Native<
  hb_bool_t Function(
    ffi.Pointer<hb_map_t>,
    ffi.Pointer<ffi.Int>,
    ffi.Pointer<hb_codepoint_t>,
    ffi.Pointer<hb_codepoint_t>,
  )
>()
external int hb_map_next(
  ffi.Pointer<hb_map_t> map,
  ffi.Pointer<ffi.Int> idx,
  ffi.Pointer<hb_codepoint_t> key,
  ffi.Pointer<hb_codepoint_t> value,
);