When generating code for an empty struct, the read_/write_ functions would print warnings about the unused "s" pointer. Silence these.
10 lines
210 B
C
10 lines
210 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
|
|
|