Re: bonobo_object_ref

Michael Meeks <> writes:

> I'd like to update this function to do:
> BonoboObject *bonobo_object_ref (BonoboObject *object);
> Merely to reduce line count in some places; it seems fairly
> harmless;
> 	Any objections ?

So instead of 

bonobo_object_ref (some_object);
do_something_else (some_object);

you'd do:

do_something_else (bonobo_object_ref (some_object));


That doesn't seem like a very useful way of decreasing the line count,
and it reduces the clarity of the `ref' operation, but it seems like
it might be mildly convenient I guess.

 - Maciej

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