Re: Structures thought question



On Sat, 2008-11-15 at 21:28 -0500, Havoc Pennington wrote:
> 
> > void gdk_region_union (GdkRegion       *source1,
> >                       const GdkRegion *source2);
> 
> I would expect "inout source1" as "this" and "in source2"
> 
> source1.union(source2);

I would have expected a union operation to be a three parameter:
result = source1.union(source2);

(like +, - and other operators).

Not really on-topic I know - sorry :)
-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part



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