Skip to main content

ptr_or_return_int

Macro ptr_or_return_int 

Source
macro_rules! ptr_or_return_int {
    ($ptr : expr) => { ... };
}
Expand description

If the expression is null, set the last error and return -1.