Re: obglib



On Sun, 12 Sep 1999, Frederik Bilhaut wrote:

> o First of wall a write wrapper for glib. I already wrote classes for 
>   GString (G_String) and GSList (G_SList, with an iterator class).

Blah, I think G*List wrappers and iterators are just a bad idea. for()
loops are so much more intuitive than iterators...

> o Write wrappers for extended non-gui gnome features (gnorba, xml, ...)

This would be cool (as would be finishing the wrapping of all the gnome
widgets, which I don't think is done.)

> All classes would provide access to native features, but would also
> make use of objective-C specific ones. For example, the g_gslist_foreach
> function would be wrapped to two methods: one taking a GFunc and one
> taking a selector (SEL).

Providing a generic way to do this would probably be more useful, since
there is such a wide variety of callbacks out there. Perhaps provide a way
to do:

g_slist_foreach(mylist, obglib_callback,
		obglib_make_callback(myobjcobject, "mymethod"));

-- Elliot
terrorist DES AK-47 spy $400 million in gold bullion CIA FSF kibo BATF
cracking plutonium arrangements domestic disruption Saddam Hussein
NORAD



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