Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_max

#define lt_max (   a,
 
)
Value:
__extension__({ \
__typeof__(a) ___a = (a); \
__typeof__(b) ___b = (b); \
___a > ___b ? ___a : ___b; \
})

This macro uses "statement expressions", which prevent double evaluation in contrast to standard macros.

Note
This uses GCC/Clang compatible extension.