[protobuf] message member case problem

2012-05-16 Thread secondsquare
I wrote a message like this message head { required fixed32 msgSize = 1; } After generating cpp files, the member becomes msgsize. Big ā€˜Sā€™ is changed to little 's'. I've been heard about the filename case sensitive difference between os, but never heard name of class member case sensitive

Re: [protobuf] message member case problem

2012-05-16 Thread Evan Jones
On May 16, 2012, at 5:02 , secondsquare wrote: After generating cpp files, the member becomes msgsize. Big ā€˜Sā€™ is changed to little 's'. This is by design. Protocol buffers follows Google's style guide where C++ names_use_underscores while Java names useCamelCase. Protobuf will generate the

[protobuf] strange thing while using libprotobuf in apache modules

2012-05-16 Thread Sky
Hi, I made a message, named RequestModel and when I declare pointer of RequestModel like : LOG(MSG_BEFORE); RequestModel *mmodel; .. My module get loaded by apache and I get the MSG_BEFORE in my apache log. But when I new my object, apache does'nt even call my function without any error or

[protobuf] Re: Apache Module + PB

2012-05-16 Thread Hassan Monfared
modcplusplus is right solution for voiding such headaches. I've no problem with modcpluplus + ( C++ Module ) + any c++ shared objects except PB. I explained my problem recently in this group. Cheers, SKY On Thursday, November 19, 2009 5:20:28 PM UTC+3:30, Mauro wrote: Haha, Jason was right!

[protobuf] Re: Protocol buffers for COBOL

2012-05-16 Thread Bruce
Not sure if it is of any interest, I have the code needed to copy Protocol-Buffers to / from cobol in my projects RecordEditor (http://record-editor.sourceforge.net/) Protocol Buffers Editor (http://code.google.com/p/protobufeditor/) It would be a case of putting code from the 2 projects