separate files per each message type

2008-11-06 Thread oooomer
Hi guys! I'm a new user. Can somebody kindly tell me how do I generate classes in separate files (h’ and cpp’ files for each message)? Thanks! Omer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers

Re: separate files per each message type

2008-11-06 Thread Kenton Varda
You would have to define each message in a separate .proto file. On Thu, Nov 6, 2008 at 1:37 AM, [EMAIL PROTECTED] wrote: Hi guys! I'm a new user. Can somebody kindly tell me how do I generate classes in separate files (h' and cpp' files for each message)? Thanks! Omer

Re: Interface and Implementation

2008-11-06 Thread Kenton Varda
Hi Jeff, I've read your message a few times now and I have to admit I don't really understand what you're getting at. Can you give a small example of each of the approaches you're considering? On Wed, Nov 5, 2008 at 12:06 AM, codeazure [EMAIL PROTECTED] wrote: Does anyone have any thoughts on

Re: separate files per each message type

2008-11-06 Thread Omer Sharabi
Thanks Kenton. I got it by now :) Is it written in the docs? If not, it should be. Thanks again - it's a wonderful tool. Cheers, Omer On Thu, Nov 6, 2008 at 10:11 PM, Kenton Varda [EMAIL PROTECTED] wrote: You would have to define each message in a separate .proto file. On Thu, Nov 6,

Sparc 64-bit bug fixed

2008-11-06 Thread Kenton Varda
I just submitted revision 72, which fixes the bug that caused the tests to crash on 64-bit sparc machines. It turns out DynamicMessage computed some byte offsets incorrectly leading to alignment problems. The new code should be more robust. I'll probably do a 2.0.3 release within the next week