refactor: clean comments and docstring
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
/**
|
||||
* libssv.rs
|
||||
*
|
||||
* Low level bindings to the SSVLIB dynamic library.
|
||||
* TODO : look for creating a dedicated *-sys crate : https://kornel.ski/rust-sys-crate
|
||||
*/
|
||||
/// libssv.rs
|
||||
///
|
||||
/// Low level bindings to the SSVLIB dynamic library.
|
||||
// TODO : look for creating a dedicated *-sys crate : https://kornel.ski/rust-sys-crate
|
||||
use libc::{c_char, c_ushort, c_void, size_t};
|
||||
|
||||
#[cfg_attr(target_os = "linux", link(name = "ssvlux64"))]
|
||||
@ -22,4 +20,4 @@ extern "C" {
|
||||
TTailleDonneesSortie: *mut size_t,
|
||||
) -> c_ushort;
|
||||
}
|
||||
/* TODO : replace void* by Rust struct : https://doc.rust-lang.org/nomicon/ffi.html#representing-opaque-structs */
|
||||
// TODO : replace void* by Rust struct : https://doc.rust-lang.org/nomicon/ffi.html#representing-opaque-structs
|
||||
|
Reference in New Issue
Block a user