Changes in uspace/lib/c/include/macros.h [20b7c08:062d900] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
r20b7c08 r062d900 52 52 | ((((uint64_t) (up)) & 0xffffffff) << 32)) 53 53 54 #ifndef member_to_inst 55 #define member_to_inst(ptr_member, type, member_identif) \ 56 ((type*) (((void*)(ptr_member)) - ((void*)&(((type*)0)->member_identif)))) 54 57 #endif 55 58 56 #define _paddname(line) PADD_ ## line ## __ 57 #define _padd(width, line) uint ## width ## _t _paddname(line) 58 #define PADD32(count) _padd(32, __LINE__)[count] 59 #define PADD16(count) _padd(16, __LINE__)[count] 60 #define PADD8(count) _padd(8, __LINE__)[count] 59 60 #endif 61 61 62 62 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.