Re: [Vala] xcb.vapi bugs



Hi Al,

    Bug #2: xcb_visualtype_t: remove [SimpleType]

So you are saying xcb_visualtype_t is a struct that is passed by
reference, not by value?
i.e. you see function_call( struct xcb_visualtype_t *visualtype ) and
not function_call( struct xcb_visualtype_t visualtype ) in the C code.

Yes, because the C prototype looks like this:

cairo_surface_t *
cairo_xcb_surface_create (xcb_connection_t *connection,
                          xcb_drawable_t drawable,
  --------------->        xcb_visualtype_t *visual,
                          int width,
                          int height);



Both bugs reported to gnome bugzilla recently. Read u ;-)


-- 
Bernhard


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