Implement support for oneofs (C unions).
Basic test included, should probably add an oneof to the AllTypes test also. Update issue 131 Status: Started
Showing
- generator/nanopb_generator.py 192 additions, 72 deletionsgenerator/nanopb_generator.py
- pb.h 18 additions, 0 deletionspb.h
- pb_common.c 7 additions, 0 deletionspb_common.c
- pb_decode.c 11 additions, 1 deletionpb_decode.c
- pb_encode.c 11 additions, 0 deletionspb_encode.c
- tests/oneof/SConscript 22 additions, 0 deletionstests/oneof/SConscript
- tests/oneof/decode_oneof.c 72 additions, 0 deletionstests/oneof/decode_oneof.c
- tests/oneof/encode_oneof.c 64 additions, 0 deletionstests/oneof/encode_oneof.c
- tests/oneof/oneof.proto 18 additions, 0 deletionstests/oneof/oneof.proto
Loading
Please register or sign in to comment