···65656666/* Version of the nanopb library. Just in case you want to check it in
6767 * your own program. */
6868-#define NANOPB_VERSION "nanopb-0.4.7-dev"
6868+#define NANOPB_VERSION "nanopb-0.4.7"
69697070/* Include all the system headers needed by nanopb. You will need the
7171 * definitions of the following:
···177177# define PB_STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) pb_static_assertion_##MSG##_##LINE##_##COUNTER
178178# elif defined(__cplusplus)
179179 /* C++11 standard static_assert mechanism */
180180-# define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG);
181181-# elif defined(_MSC_VER)
182182- /* Required to work on MSVC */
183180# define PB_STATIC_ASSERT(COND,MSG) static_assert(COND,#MSG);
184181# else
185182 /* C11 standard _Static_assert mechanism */
···905902#define PB_INLINE_CONSTEXPR PB_CONSTEXPR
906903#endif // __cplusplus >= 201703L
907904905905+extern "C++"
906906+{
908907namespace nanopb {
909908// Each type will be partially specialized by the generator.
910909template <typename GenMessageT> struct MessageDescriptor;
911910} // namespace nanopb
911911+}
912912#endif /* __cplusplus */
913913914914#endif
···107107#define pb_decode_delimited_noinit(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_DELIMITED | PB_DECODE_NOINIT)
108108#define pb_decode_nullterminated(s,f,d) pb_decode_ex(s,f,d, PB_DECODE_NULLTERMINATED)
109109110110-#ifdef PB_ENABLE_MALLOC
111110/* Release any allocated pointer fields. If you use dynamic allocation, you should
112111 * call this for any successfully decoded message when you are done with it. If
113112 * pb_decode() returns with an error, the message is already released.
114113 */
115114void pb_release(const pb_msgdesc_t *fields, void *dest_struct);
116116-#else
117117-/* Allocation is not supported, so release is no-op */
118118-#define pb_release(fields, dest_struct) PB_UNUSED(fields); PB_UNUSED(dest_struct);
119119-#endif
120120-121115122116/**************************************
123117 * Functions for manipulating streams *