Add #if guard for .pb.h version.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Tue, 19 Aug 2014 14:55:44 +0000 (17:55 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Tue, 19 Aug 2014 14:55:44 +0000 (17:55 +0300)
commit3ed219382e55885a66a462db1cf06170ce80e606
tree980a5e89ff412f6c0dfc66adbf5134a60350fe36
parentbe0b9e047a007685aa10a268f9bf856e9a52ef58
Add #if guard for .pb.h version.

The version in PB_PROTO_HEADER_VERSION can be bumped whenever there
is a breaking change to the generated files, and it will then alert
to the difference.

Update issue 129
Status: FixedInGit
generator/nanopb_generator.py
pb.h
tests/backwards_compatibility/alltypes_legacy.c
tests/backwards_compatibility/alltypes_legacy.h
tests/backwards_compatibility/alltypes_legacy.options [new file with mode: 0644]
tests/backwards_compatibility/alltypes_legacy.proto [new file with mode: 0644]