Re: [Vala] Creating executables without glib/gobject



* Andrea Bolognani wrote, On 11/03/09 11:12:
On Wed, 11 Mar 2009 17:46:06 +0800
Barry Kauler <bkauler gmail com> wrote:
 
  
#define G_BEGIN_DECLS
#define G_END_DECLS
    

I can't answer your question, but I'd like to point out that G_BEGIN_DECLS
and G_END_DECLS, as the names suggest, are supposed to be before and after
the declarations respectively.

So you should move G_END_DECLS to the end of your glib.h.
  
He's #define'ing them to nothing, not using them :-)

He's making a fake glib.h to get rid of all the glib extra stuff that vala insists on emitting.

Sam


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