Re: On the cost of libraries
- From: Maciej Stachowiak <mjs noisehavoc org>
- To: Drazen Kacar <dave arsdigita com>
- Cc: Alex Larsson <alexl redhat com>, gnome-hackers gnome org
- Subject: Re: On the cost of libraries
- Date: Sat, 1 Sep 2001 15:17:49 -0700
On 01Sep2001 11:52PM (+0200), Drazen Kacar wrote:
>
> I would strongly recommend against libraries having data which is not
> accessed by functional interfaces. If there is such data, the library
> must be loaded even if it will never will be used and run-time linker
> must process data relocations.
oaf / bonobo-activation has an instance of this mistake (it exports an
array that has the popt options rather than a function to get it). Is
it worth breaking the API freeze on bonobo-activation to fix it?
> And all private symbols in the libraries should be marked as such.
1) Will symbols with static linkage automatically be private? (I sure
hope so).
2) How do I make symbols with extern linkage private to the library?
- Maciej
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]