a bunch of options for the Makefile

This commit is contained in:
Vinzenz Schroeter 2025-04-24 22:47:27 +02:00
parent bdfe4439a1
commit 406ec84577
7 changed files with 126 additions and 88 deletions

View file

@ -67,3 +67,6 @@ pub(crate) unsafe fn heap_drop<T>(x: NonNull<T>) {
pub(crate) unsafe fn heap_remove<T>(x: NonNull<T>) -> 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;