Thanks very much! On Mar 17, 3:07 pm, Jason Hsueh <jas...@google.com> wrote: > The getters for embedded messages return a reference - > seehttp://code.google.com/apis/protocolbuffers/docs/reference/cpp-genera... > > > > On Tue, Mar 16, 2010 at 9:02 PM, jungle <www1...@gmail.com> wrote: > > here is the .proto > > > message Bar{ > > required int32 l = 1; > > } > > > message Foo{ > > option Bar bar = 1; > > } > > > Foo foo; > > foo.get_bar()??? it returns a pointer to the message bar? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Protocol Buffers" group. > > To post to this group, send email to proto...@googlegroups.com. > > To unsubscribe from this group, send email to > > protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.c > > om> > > . > > For more options, visit this group at > >http://groups.google.com/group/protobuf?hl=en.
-- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.