Re: [GD-DEVEL] proper usage of entities.h
| From: | Mike Frysinger | Date: | Mon, 12 Feb 2007 15:08:30 +0000 |
| Subject: | Re: [GD-DEVEL] proper usage of entities.h | ||
| References: | 1 2 3 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-99@lists.php.net to get a copy of this message | ||
On Monday 12 February 2007, Pierre wrote:
> On 2/12/07, Mike Frysinger <vapier@gentoo.org> wrote:
> > On Monday 12 February 2007, Mike Frysinger wrote:
> > > the entities.h header seems kind of an odd duck for exportation to
> > > users of GD ... if you have a project that includes it, then every
> > > object file will get its own copy of the large structure which can
> > > cause some problems
> > >
> > > since the contents of the entities array/structure shouldnt be assumed
> > > to be static (eg you can assume index 0 is always AElig), is there a
> > > good reason for exporting the definition ?
>
> Why one would use it? It is not supposed to be used/included directly.
> It is a private definition. ABI should not matter here.
if that's the case, then the header should not be installed and its symbol
should be removed from the exported ABI
> Have you seen any applications relying on this file?
graphviz
> If yes, do you have any suggestion to make it really private?
removing the header from installation would get us 90% of the way there ;)
-mike
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]