macro_rules! nros_platform_export_timer {
($ty:ty) => { ... };
}Expand description
Emit every nros_platform_timer_* symbol declared in
<nros/platform_timer.h> by delegating to the corresponding
PlatformTimer trait method on $ty.
Constraint: the implementor’s TimerHandle associated type
must be *mut core::ffi::c_void so the macro can pass the handle
through the C ABI unchanged. Implementations using kernel-specific
handle types should wrap them in a *mut c_void (typically by
Box::into_raw + a thin newtype) before exporting.