aakash-sahai / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Add .proto option to declare field type #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes it may be useful to force a required or optional field to be of 
callback type. This can be kludged using "repeated" instead, but that's not 
very clean.

Implement (nanopb).type option in the .proto file, that has values "default", 
"static" and "callback". Take note of the similar implementation in the 
dynamic-alloc branch.

Original issue reported on code.google.com by Petteri.Aimonen on 26 Aug 2012 at 6:21

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 0ee4bb96b1e5.

Original comment by Petteri.Aimonen on 29 Oct 2012 at 5:17

GoogleCodeExporter commented 9 years ago
Fixed in nanopb-0.1.7

Original comment by Petteri.Aimonen on 12 Nov 2012 at 7:33