[protobuf] Re: Custom FieldOptions extensions in C++

2011-10-31 Thread users ....
Well you can take in the language guide http://code.google.com/apis/protocolbuffers/docs/proto.html#options where it talks about custom options. It's just below the Options section. This shows how to do it for a message and you'll be using the FieldDescriptor to do this. One more thing to note

[protobuf] Re: Custom FieldOptions extensions in C++

2011-10-31 Thread users ....
Well you can take in the language guide http://code.google.com/apis/protocolbuffers/docs/proto.html#options where it talks about custom options. It's just below the Options section. This shows how to do it for a message and you'll be using the FieldDescriptor to do this. One more thing to note

[protobuf] Re: Custom FieldOptions extensions in C++

2011-10-31 Thread elkvis
I noticed that this morning. the protobuf syntax looks enough like C+ + that it can make it difficult to spot C++ code and distinguish it from the protobuf examples on the same page. I wonder if it might be a good idea to make the C++/Java/Python code in the docs a different color than the