Re: [GD-DEVEL] proper usage of entities.h

From: Date: Mon, 12 Feb 2007 15:00:20 +0000
Subject: Re: [GD-DEVEL] proper usage of entities.h
References: 1 2  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-98@lists.php.net to get a copy of this message
Hi Mike, 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. Have you seen any applications relying on this file? If yes, do you have any suggestion to make it really private? --Pierre

« previous php.gd.devel (#98) next »