Differences From Artifact [ff3d49827f]:
- File src/block.h — part of check-in [813c00ccf0] at 2013-01-09 22:24:47 on branch trunk — Update copyright. (user: js, size: 1269) [annotate] [blame] [check-ins using]
To Artifact [9c6a803607]:
- File
src/block.h
— part of check-in
[c875400bbf]
at
2013-02-17 13:36:26
on branch trunk
— Use __VA_ARGS__ for Block_copy.
This solves a corner case where the preprocessor would complain
otherwise. (user: js, size: 1306) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
38 39 40 41 42 43 44 | extern void* _Block_copy(const void*); extern void _Block_release(const void*); #ifdef __cplusplus } #endif #ifndef Block_copy | | > | | 38 39 40 41 42 43 44 45 46 47 48 49 50 | extern void* _Block_copy(const void*); extern void _Block_release(const void*); #ifdef __cplusplus } #endif #ifndef Block_copy # define Block_copy(...) \ ((__typeof__(__VA_ARGS__))_Block_copy((const void*)(__VA_ARGS__))) #endif #ifndef Block_release # define Block_release(...) _Block_release((const void*)(__VA_ARGS__)) #endif |