mirror of
https://github.com/zap-proto/c.git
synced 2026-10-30 15:05:52 +00:00
Correct the definition of capnp_use(x) macro. > recommended to surround macro arguments > in the replacement list with parentheses. This > ensures that the argument value is calculated > properly.
11 lines
212 B
C
11 lines
212 B
C
#include "c++.capnp.h"
|
|
/* AUTO GENERATED - DO NOT EDIT */
|
|
#ifdef __GNUC__
|
|
# define capnp_unused __attribute__((unused))
|
|
# define capnp_use(x) (void) (x);
|
|
#else
|
|
# define capnp_unused
|
|
# define capnp_use(x)
|
|
#endif
|
|
|