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
Showing
- generator/nanopb_generator.py 11 additions, 1 deletiongenerator/nanopb_generator.py
- pb.h 6 additions, 14 deletionspb.h
- tests/backwards_compatibility/alltypes_legacy.c 128 additions, 68 deletionstests/backwards_compatibility/alltypes_legacy.c
- tests/backwards_compatibility/alltypes_legacy.h 128 additions, 32 deletionstests/backwards_compatibility/alltypes_legacy.h
- tests/backwards_compatibility/alltypes_legacy.options 3 additions, 0 deletionstests/backwards_compatibility/alltypes_legacy.options
- tests/backwards_compatibility/alltypes_legacy.proto 108 additions, 0 deletionstests/backwards_compatibility/alltypes_legacy.proto
Loading
Please register or sign in to comment