add WhisperTokenData type

This commit is contained in:
0/0 2022-12-14 17:11:09 -07:00
parent cc05ecfd42
commit ce734cca04
No known key found for this signature in database
GPG Key ID: 3861E636EA1E0E2B

View File

@ -12,5 +12,6 @@ pub use utilities::*;
pub use whisper_ctx::WhisperContext;
pub use whisper_params::{FullParams, SamplingStrategy};
pub type WhisperToken = std::ffi::c_int;
pub type WhisperTokenData = whisper_rs_sys::whisper_token_data;
pub type WhisperToken = whisper_rs_sys::whisper_token;
pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback;