hb_ot_layout_script_select_language2 function

  1. @Native<Int Function(Pointer<hb_face_t>, Uint32, UnsignedInt, UnsignedInt, Pointer<Uint32>, Pointer<UnsignedInt>, Pointer<Uint32>)>(ffi.Pointer<hb_face_t>, ffi.Uint32, ffi.UnsignedInt, ffi.UnsignedInt, ffi.Pointer<ffi.Uint32>, ffi.Pointer<ffi.UnsignedInt>, ffi.Pointer<ffi.Uint32>)>()
int hb_ot_layout_script_select_language2(
  1. Pointer<hb_face_t> face,
  2. int table_tag,
  3. int script_index,
  4. int language_count,
  5. Pointer<Uint32> language_tags,
  6. Pointer<UnsignedInt> language_index,
  7. Pointer<Uint32> chosen_language,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<hb_face_t>,
    ffi.Uint32,
    ffi.UnsignedInt,
    ffi.UnsignedInt,
    ffi.Pointer<ffi.Uint32>,
    ffi.Pointer<ffi.UnsignedInt>,
    ffi.Pointer<ffi.Uint32>,
  )
>()
external int hb_ot_layout_script_select_language2(
  ffi.Pointer<hb_face_t> face,
  int table_tag,
  int script_index,
  int language_count,
  ffi.Pointer<ffi.Uint32> language_tags,
  ffi.Pointer<ffi.UnsignedInt> language_index,
  ffi.Pointer<ffi.Uint32> chosen_language,
);