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
Resultwithcrate::error::NullPtrError. - api_
ok_ ctx - Try get ref to struct of fn from API,
returns
Resultwithcrate::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.