macro_rules! ptr_or_return {
($ptr:expr, $err_val:expr) => { ... };
}Expand description
Check pointer not null or early-return with error value
macro_rules! ptr_or_return {
($ptr:expr, $err_val:expr) => { ... };
}Check pointer not null or early-return with error value