On Sun, Mar 11, 2007 at 06:42:08PM -0300, Matí­as Alejandro Torres wrote:
> >
> > G_END_DECLS
> > #include "category.h"
> > G_BEGIN_DECLS
> >
> >   
> 
> Thanks! I added that and it work just fine. Is there any documentation 
> that explain what these macros do? The API reference of GLib gives a 
> very short explanation: "Used (along with G_END_DECLS 
> <http://developer.gnome.org/doc/API/2.0/glib/glib-Miscellaneous-Macros.html#G-END-DECLS:CAPS>)
>  
> to bracket header files".

They do exactly and only what the description says, look
at gmacros.h if you don't believe.  The whole trick would
work identically without terminating the delcaration block
fo the #include and starting a new one after it, except that
the bracketing would nest in that case.

Yeti

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to