[Cairo] ELF shared library improvements [0/4]
Richard Henderson
rth at twiddle.net
Tue Jul 29 17:40:47 PDT 2003
On Tue, Jul 29, 2003 at 06:44:51PM -0400, Carl Worth wrote:
> Would the following proposal/convention work?
No, because:
> Slim provides two header files, (maybe slim.h and slim_internal.h). A
> user of slim, (say libic for example), would do the following:
>
> icint.h
> -------
> #include <slim_internal.h>
> #include "ic.h"
>
> ic.h
> ----
> #include <slim.h>
Recall that ic.h includes pixregion.h. But pixregion.h *also*
includes slim.h, and we'd wind up defining all of pixregion's
symbols as export instead of import. Which is bad.
I.e. your scheme works only if one package at a time uses slim.
Which sort of defeats the purpose.
r~
More information about the cairo
mailing list