hb_unicode_funcs_set_decompose_func function
- @Native<Void Function(Pointer<
hb_unicode_funcs_t> , Pointer<NativeFunction< , Pointer<Int Function(Pointer< >hb_unicode_funcs_t> ufuncs, Uint32 ab, Pointer<Uint32> a, Pointer<Uint32> b, Pointer<Void> user_data)>Void> , Pointer<NativeFunction< )>(ffi.Pointer<hb_unicode_funcs_t>, ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<hb_unicode_funcs_t> ufuncs, ffi.Uint32 ab, ffi.Pointer<ffi.Uint32> a, ffi.Pointer<ffi.Uint32> b, ffi.Pointer<ffi.Void> user_data)>>, ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> user_data)>>)>()Void Function(Pointer< >Void> user_data)>
hb_unicode_funcs_set_decompose_func: @ufuncs: A Unicode-functions structure @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign @user_data: Data to pass to @func @destroy: (nullable): The function to call when @user_data is not needed anymore
Sets the implementation function for #hb_unicode_decompose_func_t.
Since: 0.9.2
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<hb_unicode_funcs_t>,
ffi.Pointer<
ffi.NativeFunction<
ffi.Int Function(
ffi.Pointer<hb_unicode_funcs_t> ufuncs,
ffi.Uint32 ab,
ffi.Pointer<ffi.Uint32> a,
ffi.Pointer<ffi.Uint32> b,
ffi.Pointer<ffi.Void> user_data,
)
>
>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<
ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> user_data)>
>,
)
>()
external void hb_unicode_funcs_set_decompose_func(
ffi.Pointer<hb_unicode_funcs_t> ufuncs,
ffi.Pointer<
ffi.NativeFunction<
ffi.Int Function(
ffi.Pointer<hb_unicode_funcs_t> ufuncs,
ffi.Uint32 ab,
ffi.Pointer<ffi.Uint32> a,
ffi.Pointer<ffi.Uint32> b,
ffi.Pointer<ffi.Void> user_data,
)
>
>
func,
ffi.Pointer<ffi.Void> user_data,
ffi.Pointer<
ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> user_data)>
>
destroy,
);