[−][src]Crate macros
Mynewt Macros for calling Mynewt APIs . Import this crate into a source code crate and check the expanded macros using:
clear ; cargo rustc -- -Z unstable-options --pretty expanded | head -20
Macros
init_strn | Initialise a null-terminated bytestring |
out | Given a static mutable variable, return an unsafe mutable pointer that's suitable for passing to Mynewt APIs for writing output.
|
strn | Create a |
try_cbor | Transform a block of CBOR encoding calls by adding error checking. All lines must terminate with |
Attribute Macros
infer_type | Given a Rust function definition, infer the placeholder types in the function |
safe_wrap | Given an |