Re: .defs Issues From Java-Gnome



> boxed was introduced to let language bindings deal with plain C structures,
> such as
> struct _GtkRequisition
> {
>   gint width;
>   gint height;
> };
> 
This is not completely true. Boxed means a pointer to some structure.  You
have to explicitely manage the  lifetime of those structures by invoking
some functions at the
right times.

For wrapping simple C structures we do have 
(define-struct)

It might be interesting to se Marius' origial proposal at:
gnome-guile/guile-gtk/PROPOSAL
 





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