Re: .defs Issues From Java-Gnome



On 14 Dec 2000, Havoc Pennington wrote:


> For cheap value objects, including primitive C types such as "int" and
> higher-level types such as GtkTextIter and GdkRectangle, sometimes the
> object is an out or inout parameter; in those cases you have to pass
> the object in to a method by reference, so you can't just copy these
> things always.

basically you're right. except that, the signal system in its current
form (and the type system with all its readily-boxed-magic ;) don't
know about passing value types by reference, which gets us all that
demand-copying mess.
we had some proposals for using additional GtkType flags to indicate
value-type references, but basically they were put down because they
didn't scale too well. i'm still somewhat uncertain as to what the best
approach here is... ;(

> 
> Havoc
> 

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]