add missing docs

This commit is contained in:
Vinzenz Schroeter 2024-06-03 22:10:52 +02:00
parent 947a3fe60e
commit a4d53d0e56
5 changed files with 31 additions and 3 deletions

View file

@ -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,

View file

@ -1,3 +1,5 @@
//! FFI slice helper
#[repr(C)]
/// Represents a span of memory (`&mut [u8]` ) as a struct usable by C code.
///