Re: [protobuf] Yet Another Protocol Buffers Implementation for C

2015-07-26 Thread David Rogers
On Sunday, July 26, 2015 at 1:53:46 AM UTC-4, Michael Haberler wrote: David, > > > > Am 25.07.2015 um 07:03 schrieb David Rogers >: > > > > Nanopb has a heavier interface for including sub-messages. Here's an > example, from their union structure: > > > > // This is an example of how to

Re: [protobuf] Yet Another Protocol Buffers Implementation for C

2015-07-25 Thread Michael Haberler
David, > Am 25.07.2015 um 07:03 schrieb David Rogers : > > Nanopb has a heavier interface for including sub-messages. Here's an > example, from their union structure: > > // This is an example of how to handle 'union' style messages > // with nanopb, without allocating memory for all the mess

Re: [protobuf] Yet Another Protocol Buffers Implementation for C

2015-07-24 Thread David Rogers
Nanopb has a heavier interface for including sub-messages. Here's an example, from their union structure: // This is an example of how to handle 'union' style messages // with nanopb, without allocating memory for all the message types. // // There is no official type in Protocol Buffers for de

Re: [protobuf] Yet Another Protocol Buffers Implementation for C

2015-07-24 Thread Michael Haberler
Hi David, > Am 23.07.2015 um 22:47 schrieb David Rogers : > > sprotoc - short for stack protocol buffer compiler is a C-code generator for > protocol buffers. > It lives at: https://github.com/frobnitzem/sprotoc > > I coded it up a year ago and have been using it happily since. > What makes it