add missing docs
This commit is contained in:
parent
947a3fe60e
commit
a4d53d0e56
5 changed files with 31 additions and 3 deletions
|
@ -8,6 +8,7 @@ use servicepoint::bitvec::prelude::{BitVec, Msb0};
|
|||
/// cbindgen:no-export
|
||||
type SpBitVec = BitVec<u8, Msb0>;
|
||||
|
||||
/// Opaque struct needed for correct code generation.
|
||||
#[derive(Clone)]
|
||||
pub struct CBitVec {
|
||||
actual: SpBitVec,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! FFI slice helper
|
||||
|
||||
#[repr(C)]
|
||||
/// Represents a span of memory (`&mut [u8]` ) as a struct usable by C code.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue