Open GoogleCodeExporter opened 9 years ago
It's a valid point. On the other hand, if one wants to do something like:
Foo.* max_size:16
it makes more sense to have the C size be 16 bytes, so that fields stay nicely
aligned and no space is lost to padding. Saying max_size:16 and having 20 bytes
allocated for each field is not very logical either.
I'm not so sure which way is better. I'll leave this issue as "Tentative" for
now, and if anyone has new arguments in either direction, please add a comment.
Original comment by Petteri.Aimonen
on 2 Mar 2014 at 5:28
Doing the +1 seems reasonable and will be implemented in nanopb-0.3.0.
Original comment by Petteri.Aimonen
on 4 Aug 2014 at 4:25
Oops, forgot to tag it => forgot to do it.
Oh well, it can wait.
Original comment by Petteri.Aimonen
on 27 Aug 2014 at 12:23
Original issue reported on code.google.com by
rusn...@gmail.com
on 2 Mar 2014 at 5:19