libtropic
C library for TROPIC01 chip
libtropic_macros.h File Reference

Various helper macros. More...

This graph shows which files directly or indirectly include this file:

Macros

#define STATIC_ASSERT(x)   _Static_assert((x), "Static assertion failed");
 Wrapper for static assertion.
 
#define MEMBER_SIZE(type, member)   (sizeof(((type *)0)->member))
 Get struct member size at compile-time.
 
#define UNUSED(x)   (void)(x)
 Mark variable as unused to sanitize compiler warnings.
 

Detailed Description

Author
Tropic Square s.r.o.
License
For the license see file LICENSE.md file in the root directory of this source tree.