Re: includes in enums.hg



On Wed, 2014-02-26 at 19:46 +0100, Juan Rafael García Blanco wrote:
Hi,

In the gtkmm documentation I’ve read that we should avoid including lib/lib.h, i.e. the main header file 
for the library we are wrapping, in .hg files. However I see this rule broken in gtk/src/enums.hg, where 
the whole gtk/gtk.h is included. Is this an exception? Or is there anything that I’m not taking into 
account?

GTK+ changed their policy a few years ago. Now you often have no choice
but to include gtk.h. Trying to include an individual GTK+ header file
will generally cause a compiler error now.

Murray

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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