ISO_C_BINDING and arrays, optional arguments, etc.
- From: vincenzo <vincent.magnin@xxxxxxxxxxxxxx>
- Date: Thu, 3 Feb 2011 13:00:29 -0800 (PST)
Hi,
working on my GTK+ / Fortran 2003 binding, I found among the thousand
functions (around 4600) of GTK+ one or two hundreds C prototypes of
the following kinds:
void gtk_signal_emit (GtkObject *object,guint signal_id,...);
void gtk_curve_get_vector (GtkCurve *curve,int veclen, gfloat
vector[]);
GtkWidget* gtk_clist_new_with_titles (gint columns,gchar *titles[]);
void gdk_window_invalidate_maybe_recurse (GdkWindow *window, const
GdkRegion *region, gboolean (*child_func) (GdkWindow *, gpointer),
gpointer user_data);
Have you some ideas to write interfaces for those functions using
ISO_C_BINDING ?
Vincent
.
- Follow-Ups:
- Re: ISO_C_BINDING and arrays, optional arguments, etc.
- From: James Van Buskirk
- Re: ISO_C_BINDING and arrays, optional arguments, etc.
- From: James Van Buskirk
- Re: ISO_C_BINDING and arrays, optional arguments, etc.
- Prev by Date: Re: ISO_C_BINDING and C strings conversion
- Next by Date: Re: ISO_C_BINDING and C strings conversion
- Previous by thread: Re: ISO_C_BINDING and C strings conversion
- Next by thread: Re: ISO_C_BINDING and arrays, optional arguments, etc.
- Index(es):
Relevant Pages
|