Re: On the cost of libraries
- From: Daniel Veillard <veillard redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Maciej Stachowiak <mjs noisehavoc org>, Havoc Pennington <hp redhat com>, Darin Adler <darin bentspoon com>, Drazen Kacar <dave arsdigita com>, Alex Larsson <alexl redhat com>, Gnome Hackers <gnome-hackers gnome org>
- Subject: Re: On the cost of libraries
- Date: Mon, 3 Sep 2001 04:43:18 -0400
First I completely agree with the need to have an explicit
declaration of symbols made extern.
On Sun, Sep 02, 2001 at 09:22:20PM -0400, Owen Taylor wrote:
> The normal approach on windows is something on the order of:
>
> G_EXTERN void my_function_to_export ();
>
> Rather ugly, but certainly explicit.
>
> (For the GTK+ libraries, we actually have separately maintained .defs
> files to keep track of exports for the Windows port - which is in no
> way good, and we need to get away from one way or the other.)
Same for libxml/xslt they manually keep a ref file and I break
it each time I add an new API entry point :-\
Also we had quite a bit of discussion about this and on Windows
it seems just having a single EXTERN declaration wasn't completely
sufficient (don't ask me why :-)
All in all we need a solution to this problem, and we should have
it implemented in Gnome2. I'm waiting for a candidate solution to propose
to my Windows maintainer :-)
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]