wolfengine 3.0.2

Wolf is a set of modules for realtime rendering, realtime streaming and game developing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(not(feature = "wasm"))]
#[macro_export]
macro_rules! w_fn_once {
    ($($args:tt)*) => {
        core::ops::function::FnOnce($($args)*)
    };
}

#[cfg(feature = "wasm")]
#[macro_export]
macro_rules! w_fn_once {
    ($($args:tt)*) => {
        serde_closure::FnOnce!($($args)*)
    };
}