On Fri, 2007-02-09 at 10:14 +0000, Lars Rune Nøstdal wrote:
James Bielman <jamesjb <at> gmail.com> writes:
What's the use case for this?
Short answer: `g_object_new'.
I'm no GTK expert, but looking at the documentation it looks like there's a `g_object_newv' that takes an array of value objects instead of using varargs. I did see some scary looking macros there too, so maybe that's just as hard.
One of these days I'm going to write a article/blog entry about how to write C libraries that aren't completely hostile to people using other languages. As if anyone would care...
Sigh!
James