mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 14:19:37 +00:00
FFI:: Fix spelling error in doc comments.
This commit is contained in:
parent
078cf83a13
commit
bab977c0ea
|
@ -41,7 +41,7 @@ pub extern "C" fn tts_clear_error() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new `TTS` instance with the specified backend.
|
/// Create a new `TTS` instance with the specified backend.
|
||||||
/// If an error occures, returns a null pointer,
|
/// If an error occurs, returns a null pointer,
|
||||||
/// Call `tts_get_error()` for more information about the specific error.
|
/// Call `tts_get_error()` for more information about the specific error.
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn tts_new(backend: Backends) -> *mut TTS {
|
pub extern "C" fn tts_new(backend: Backends) -> *mut TTS {
|
||||||
|
@ -55,7 +55,7 @@ pub extern "C" fn tts_new(backend: Backends) -> *mut TTS {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new TTS object with the default backend.
|
/// Create a new TTS object with the default backend.
|
||||||
/// If an error occures, returns a null pointer,
|
/// If an error occurs, returns a null pointer,
|
||||||
/// Call `tts_get_error()` for more information about the specific error.
|
/// Call `tts_get_error()` for more information about the specific error.
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn tts_default() -> *mut TTS {
|
pub extern "C" fn tts_default() -> *mut TTS {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user