Implement support for oneofs (C unions).
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sun, 4 Jan 2015 17:39:37 +0000 (19:39 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sun, 4 Jan 2015 17:39:37 +0000 (19:39 +0200)
commit7713d43bc3d448358a04393c4e44dd12a768bdea
tree140573b1d78947739e5f46721d681a580a4d3030
parenta0f0440394ac3b38105dfad09366f95011c5d8d3
Implement support for oneofs (C unions).

Basic test included, should probably add an oneof to the AllTypes test also.

Update issue 131
Status: Started
generator/nanopb_generator.py
pb.h
pb_common.c
pb_decode.c
pb_encode.c
tests/oneof/SConscript [new file with mode: 0644]
tests/oneof/decode_oneof.c [new file with mode: 0644]
tests/oneof/encode_oneof.c [new file with mode: 0644]
tests/oneof/oneof.proto [new file with mode: 0644]