Phix and C varargs

new topic     » topic index » view thread      » older message » newer message

Does Phix provide an easier way to handle calls like this:

GtkListStore * 
gtk_list_store_new (gint n_columns, 
                    ...); 
Creates a new list store with n_columns columns each of the types passed in.

As an example, gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING,
GDK_TYPE_PIXBUF); will create a new GtkListStore with three
columns, of type int, string and GdkPixbuf respectively.

I managed an awkward way to do this with Euphoria. Rather not do that again if not necessary.

Thanks

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu