[DGD] A slight confusion about light-weight objects

Robert Forshaw iouswuoibev at hotmail.com
Mon Mar 29 17:45:45 CEST 2004


In the docs it says:

"If the master object is itself a light-weight object, it will be copied."

Now, I don't see how it would be possible for the master object to be a 
light-weight object. As generating a light-weight object means calling 
new_object, and the parameter only accepts object pointers, the only way to 
obtain a master object would be with compile_object, surely? And if that's 
the case, then the initial object is never a light-weight object, its just a 
plain old heavy one. Which kind of defeats the purpose of having lightweight 
objects since the first instance (the master) still needs to be destructed!

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list