Add generator option for packed structs.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Thu, 10 Jan 2013 15:32:27 +0000 (17:32 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Thu, 10 Jan 2013 15:32:27 +0000 (17:32 +0200)
commitd2c1604d6d239cdab6b21f3daf6634eb112ae318
treeb17e5aabb6d06f1cf7780ffb856016e86c7d3a67
parent93ffe14a0ae32eeda8275f48106e76ecc650168d
Add generator option for packed structs.

Usage is:
message Foo
{
   option (nanopb_msgopt).packed_struct = true;
   ...
}

Valid also in file scope.

Update issue 49
Status: FixedInGit
generator/nanopb.proto
generator/nanopb_generator.py
generator/nanopb_pb2.py
tests/options.expected
tests/options.proto