diff --git a/include/servicepoint.h b/include/servicepoint.h index 5863ef5..8fb7e84 100644 --- a/include/servicepoint.h +++ b/include/servicepoint.h @@ -225,9 +225,6 @@ typedef struct SPBitVec SPBitVec; */ typedef struct TypedCommand TypedCommand; -/** - * This is a type only used by cbindgen to have a type for pointers. - */ typedef struct UdpSocket UdpSocket; /** diff --git a/src/lib.rs b/src/lib.rs index 47b21d5..a3efb85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -68,5 +68,4 @@ pub(crate) unsafe fn heap_remove(x: NonNull) -> T { unsafe { *Box::from_raw(x.as_ptr()) } } -/// This is a type only used by cbindgen to have a type for pointers. pub struct UdpSocket; \ No newline at end of file