Does the test plugin help? There is a test code generator that is used in the unittest for command_line_interface.cc: http://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/compiler/mock_code_generator.cc
On Tue, Jun 1, 2010 at 4:00 AM, marcmo <oliver.muel...@gmail.com> wrote: > hello, > i'm trying to make use of the compiler plugin infrastructure that was > released with 2.3.0. > > using the c++ api to access the elements in a *.proto file seems > straight forward and i got a small example working. > but i have trouble to use the insertion points correctly. > > can anybody provide a small example of it? > thanks a lot! > > -- > 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.com> > . > 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.