fix: keep &mut self
This commit is contained in:
parent
f30d0ea0a1
commit
e4f8910b1b
3 changed files with 9 additions and 9 deletions
|
|
@ -510,7 +510,7 @@ impl WhisperInnerContext {
|
|||
///
|
||||
/// # C++ equivalent
|
||||
/// `bool whisper_full_get_segment_speaker_turn_next(struct whisper_context * ctx, int i_segment)`
|
||||
pub fn full_get_segment_speaker_turn_next(&self, i_segment: c_int) -> bool {
|
||||
pub fn full_get_segment_speaker_turn_next(&mut self, i_segment: c_int) -> bool {
|
||||
unsafe { whisper_rs_sys::whisper_full_get_segment_speaker_turn_next(self.ctx, i_segment) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue