Module macros

Source
Expand description

Helper macros for API access.

Macros§

api
Get ref to struct of fn from API.
api_ok
Try get ref to struct of fn from API, returns Result with crate::error::NullPtrError.
api_ok_ctx
Try get ref to struct of fn from API, returns Result with crate::error::ctx::NullPtrError.
api_opt
Try get ref to struct of fn from API, returns Option.
api_unchecked
Get raw ptr to struct or fn of API, using unsafe pointer dereferencing.
println
Print line to stdout, simulator’s console or device’s output channel.