Sorry, Protocol Buffers only supports trees, not DAGs.  So, you need to
devise some other way to identify objects on top of that.

On Thu, Jun 4, 2009 at 7:26 AM, <h...@icandy.de> wrote:

> // Add Wheel
> Wheel *to_replace = car->mutable_wheel();
> *to_replace = existing_wheel;


In this code you're actually making a copy of the wheel, not adding a
reference.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to