[][src]Macro sunrise_kernel::utils::initialize_to_zero

macro_rules! initialize_to_zero {
    ($ty:ty) => { ... };
}

A macro to initialize a struct directly in global.

Note

Usage

use sunrise_libutils::initialize_to_zero;
let zero_initialized = unsafe { initialize_to_zero!(u32) };