Structures thought question



For each of the following functions:

 A) What are the correct direction annotations for the arguments
   (in/out/inout)

 B) How is it invoked from Javascript? From your language of choice?


void clutter_color_from_pixel (ClutterColor *dest,
                               guint32       pixel);

void gdk_region_union (GdkRegion       *source1,
                       const GdkRegion *source2);

void gdk_region_get_clipbox (const GdkRegion *region,
                             GdkRectangle    *rectangle);
           		
void gtk_text_buffer_insert (GtkTextBuffer *buffer,
                             GtkTextIter   *iter,
                             const gchar   *text,
                             gint           len);

gboolean clutter_color_parse (const gchar  *color,
                              ClutterColor *dest);

gboolean gdk_colormap_alloc_color (GdkColormap *colormap,
                                   GdkColor    *color,
                                   gboolean     writeable,
                                   gboolean     best_match);

- Owen




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