* see pb_encode.h or pb_decode.h
*/
-#define NANOPB_VERSION nanopb-0.1.8-dev
+#define NANOPB_VERSION nanopb-0.1.9-dev
#include <stdint.h>
#include <stddef.h>
#define UNUSED(x) (void)(x)
#endif
-/* Compile-time assertion, used for checking compatible compilation options. */
+/* Compile-time assertion, used for checking compatible compilation options.
+ * If this fails on your compiler for some reason, use #define STATIC_ASSERT
+ * to disable it. */
#ifndef STATIC_ASSERT
#define STATIC_ASSERT(COND,MSG) typedef char STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1];
#define STATIC_ASSERT_MSG(MSG, LINE, COUNTER) STATIC_ASSERT_MSG_(MSG, LINE, COUNTER)
/* Works for all required/optional/repeated fields.
* data_offset points to pb_callback_t structure.
- * LTYPE should be 0 (it is ignored, but sometimes
- * used to speculatively index an array). */
+ * LTYPE should be valid or 0 (it is ignored, but
+ * sometimes used to speculatively index an array). */
PB_HTYPE_CALLBACK = 0x30,
PB_HTYPE_MASK = 0xF0