added docs and change the lib structure
This commit is contained in:
parent
d033160657
commit
063ed9301f
28 changed files with 155 additions and 63 deletions
|
@ -1,3 +1,6 @@
|
|||
//! This is the Module to interact in a save way with the ArdVoice C++ library.
|
||||
//! You will need to uncomment the ArdVoice_Library in the import_config.h file.
|
||||
|
||||
use core::ffi::{c_float, c_uchar, c_ulong};
|
||||
|
||||
extern "C" {
|
||||
|
@ -15,7 +18,8 @@ extern "C" {
|
|||
#[link_name = "ardvoice_is_voice_playing"]
|
||||
fn ardvoice_is_voice_playing_raw() -> bool;
|
||||
}
|
||||
|
||||
///This is the struct to interact in a save way with the ArdVoice C++ library.
|
||||
///You will need to uncomment the ArdVoice_Library in the import_config.h file.
|
||||
pub struct ArdVoice {}
|
||||
impl ArdVoice {
|
||||
pub const fn new() -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue