Returned true old bindings

This commit is contained in:
Andrii Kotliar 2024-01-08 11:30:40 +01:00
parent 7d20c51808
commit b7a9b90604

View file

@ -2340,7 +2340,7 @@ pub type ggml_binary_op_f32_t = ::std::option::Option<
), ),
>; >;
pub type ggml_custom1_op_f32_t = pub type ggml_custom1_op_f32_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut ggml_tensor, arg2: *const ggml_tensor)>; ::std::option::Option<unsafe extern "C" fn(arg1: *mut ggml_tensor, arg2: *const ggml_tensor)>;
pub type ggml_custom2_op_f32_t = ::std::option::Option< pub type ggml_custom2_op_f32_t = ::std::option::Option<
unsafe extern "C" fn( unsafe extern "C" fn(
arg1: *mut ggml_tensor, arg1: *mut ggml_tensor,
@ -4721,7 +4721,7 @@ pub type whisper_encoder_begin_callback = ::std::option::Option<
) -> bool, ) -> bool,
>; >;
pub type whisper_abort_callback = pub type whisper_abort_callback =
::std::option::Option<unsafe extern "C" fn(user_data: *mut ::std::os::raw::c_void) -> bool>; ::std::option::Option<unsafe extern "C" fn(user_data: *mut ::std::os::raw::c_void) -> bool>;
pub type whisper_logits_filter_callback = ::std::option::Option< pub type whisper_logits_filter_callback = ::std::option::Option<
unsafe extern "C" fn( unsafe extern "C" fn(
ctx: *mut whisper_context, ctx: *mut whisper_context,