export struct via function

This commit is contained in:
auronandace
2026-05-04 15:22:19 +01:00
parent 2dd36566de
commit f6f4d8f71d
+3
View File
@@ -13,3 +13,6 @@ pub struct timeval {
pub tv_sec: time_t,
pub tv_usec: suseconds_t,
}
#[unsafe(no_mangle)]
pub unsafe extern "C" fn cbindgen_export_timeval(_: timeval) {}