Macro os::move_ptr_to_opt
source · [−]macro_rules! move_ptr_to_opt {
($trg:ident) => { ... };
($token:ident,$trg:ident) => { ... };
}
Expand description
Convert user pointer trg to Some(*trg)
or None
if null.
macro_rules! move_ptr_to_opt {
($trg:ident) => { ... };
($token:ident,$trg:ident) => { ... };
}
Convert user pointer trg to Some(*trg)
or None
if null.