macro_rules! api_unchecked {
    (/$($path:ident).*) => { ... };
    ($($path:ident).*!) => { ... };
    ($($path:ident).* $(!)?) => { ... };
}
Expand description

Get raw ptr to struct or fn of API, using unsafe pointer dereferencing.

Call with trailing ! to unwrap the Option<fn>.

SEGFAULT or SIGSEGV if meets null-ptr or panics if function is None.