On Wed, Mar 21, 2012 at 12:48:13PM +0100, Marc-André Lureau wrote: > On Wed, Mar 21, 2012 at 11:14 AM, Alon Levy <[email protected]> wrote: > > 2. iiuc some files (sw_canvas) are not in common? any reason? > > There are still a couple of files that could be moved to common. and > some work left to make libspice-common a nice library. > > > 3. #include "common/bla" -> #include "spice-common/bla" ? > > I think as long as we use the local spice-common/common directory, we > can refer to the files via "common/bla". What I have in mind is that > we should have one include <spice-common.h> under > $prefix/include/spice-common-1/spice-common.h, in turn including > common/*
#include "filename" looks first in the directory of the file containing the #include statement, right? otherwise "common" is a little common.. but I expect so, so sounds good. > > -- > Marc-André Lureau > _______________________________________________ > Spice-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
