Re: [GD-DEVEL] proper usage of entities.h
[email protected] (Mike Frysinger)
| Newsgroups | php.gd.devel |
|---|---|
| Organization | wh0rd.org |
| Message-ID | <[email protected]> |
On Monday 12 February 2007, Pierre wrote: > On 2/12/07, Mike Frysinger <[email protected]> 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
signature.asc
(application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iQIVAwUARdCC7kFjO5/oN/WBAQLdyBAAlKEckgDfX3H6sgu0XFqGlGCSC3oajDT5 kRBcInFbPhR4jUVWiYFdgHYquA3nrAAir4e7xakXwfU7UAfdYw+RTqb+IbtXv2qQ hnf/p9KUGGL5BTWup8gBNRhhp40TNAG/togaSuTNXFpOg0TzDCQiag//Vd4EXGQO W/4YR3uJFKBv4/0ZkHOqvHZVZ8Ns8lxjji4ROsdvinKPbHYYkRpxZMJVGys8c9f8 IgJNwlDzcAqjdhOCGe9JjODFZe17RlxQzctSanykIJ8n4R0qGqJrUXGoJgFwX1Xi KGYnGBwUrEsQ5wx67mvFsK/ON9WFC7bu0HLyDOUAtXsnulYJa1S6t/t93pvYXkHr I5hP5ybMKLFcGq5bJqSLMiZuQLEkl5hG6kW5tpjZKzNW+srStdJ0FmBetMs3U5N3 rcqS7BmjT/nkOU9OUjqPtgTmrjkHW24q38orqPWPtgVfk+C8GfbiukDJbDZAWJWe 0xiDazRFFycQ8207Q2SJX3cDITbpRD/n1BELJADUXdYVR6yOJQpY1CNNY46guI/l smWVgYo0Ws7tQMrXGKZ2TtvNmOrW/sYwlxPLbA8Sww5WEO0nDBuBxiqSsdGnBmpx zhUGseeI1sg1Jf9sCLTY/BkEkyoa8YR8TQm7o2SPCApmXsu98QAjtS0QHi4gkOZe /nehapsFtUo= =Sapi -----END PGP SIGNATURE-----