|
nano-client API Reference
|
Functions | |
| const NANO_u8 * | NANO_OSAPI_Memory_align_ptr (const NANO_u8 *ptr, NANO_u8 alignment) |
| TODO. More... | |
| NANO_usize | NANO_OSAPI_Memory_align_size_up (NANO_usize size, NANO_usize alignment) |
| Increase a "size" value to the next greater or equal value that is also properly align at the specified boundary. More... | |
TODO.
| ptr | |
| alignment |
| NANO_usize NANO_OSAPI_Memory_align_size_up | ( | NANO_usize | size, |
| NANO_usize | alignment | ||
| ) |
Increase a "size" value to the next greater or equal value that is also properly align at the specified boundary.
E.g.:
| size | The value to align. |
| alignment | The desired alignment. |