Re: about commit 52e1f1



On Sat, 2010-04-10 at 14:14 +0200, Víctor M. Jáquez L. wrote:
> Hi,
> 
> I tried the rebuild the vala bindings using HEAD, but the commit 52e1f1 breaks
> the gi generation process using vala-gen-introspect until I figured out how to
> add the -DGRILO_COMPILATION define to the introspection generation process.

Yes, you need to define GRILO_COMPILATION to advertise that you're
building Grilo.

> Nevertheless, I'd like to ask if that "include prevention mechanism" is
> really needed. Is it?


If you want to make sure that users only include grilo.h and not other
headers, like grl-data.h or grl-media.h, is needed.

Tracker and even Glib are using this mechanism to ensure that only
header is included.


	J.A.




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