diff --git a/crates/servicepoint_binding_c/src/lib.rs b/crates/servicepoint_binding_c/src/lib.rs index 286ebce..61d7898 100644 --- a/crates/servicepoint_binding_c/src/lib.rs +++ b/crates/servicepoint_binding_c/src/lib.rs @@ -28,14 +28,3 @@ pub mod pixel_grid; /// The minimum time needed for the display to refresh the screen in ms. pub const FRAME_PACING_MS: u32 = servicepoint::FRAME_PACING.as_millis() as u32; - -#[repr(C)] -/// Represents a span of memory (`&mut [u8]` ) as a struct usable by C code. -/// -/// Usage of this type is inherently unsafe. -pub struct CByteSlice { - /// The start address of the memory - pub start: *mut u8, - /// The amount of memory in bytes - pub length: usize, -}