From 35eda01cb4de7f81137bd7a703b52af49688b03d Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 26 Apr 2026 21:32:14 +0900 Subject: [PATCH] Fix struct name --- bindings/ruby/ext/ruby_whisper_transcribe.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bindings/ruby/ext/ruby_whisper_transcribe.cpp b/bindings/ruby/ext/ruby_whisper_transcribe.cpp index 148eeae9..e9313fc2 100644 --- a/bindings/ruby/ext/ruby_whisper_transcribe.cpp +++ b/bindings/ruby/ext/ruby_whisper_transcribe.cpp @@ -19,14 +19,14 @@ extern void prepare_transcription(ruby_whisper_params * rwp, VALUE * self, int n extern void ruby_whisper_gvl_locked(void); extern void ruby_whisper_gvl_unlocked(void); -typedef struct transcribe_without_gvl_args { +typedef struct{ struct whisper_context *context; struct whisper_full_params *params; float *samples; size_t n_samples; int n_processors; int result; -} full_parallel_without_gvl_args; +} transcribe_without_gvl_args; static void* transcribe_without_gvl(void *rb_args) @@ -39,9 +39,9 @@ transcribe_without_gvl(void *rb_args) return NULL; } -typedef struct transcribe_ubf_args { +typedef struct { ruby_whisper_abort_callback_container *abort_callback_container; -} full_ubf_args; +} transcribe_ubf_args; static void transcribe_ubf(void *rb_args)