This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use this macro to define variables to save space in your structures | |
* Imagine you have the following structure: | |
* struct A { | |
* void* my_ptr; // 8 bytes | |
* | |
* uint8_t my_flag :1; // merged with the next | |
* uint16_t my_uint :15; // 2 bytes total | |
* } | |
* |