Pointer Tagging Helpers. More...
Pointer Tagging Helpers.
Definition in file ptrtag.h.
 Include dependency graph for ptrtag.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | PTRTAG __attribute__((aligned(4))) | 
| Pointers to data marked with this attribute will be tag-able.  More... | |
Functions | |
| static void * | ptrtag (void *ptr, uint8_t tag) | 
| Create a tagged pointer.  More... | |
| static void * | ptrtag_ptr (void *tagged_ptr) | 
| Extract the original pointer from a tagged pointer.  More... | |
| static uint8_t | ptrtag_tag (void *tagged_ptr) | 
| Extract the tag from a tagged pointer.  More... | |