Re: Why PHP_XML_INTERNAL?

From: Date: Sun, 07 May 2000 08:45:20 +0000
Subject: Re: Why PHP_XML_INTERNAL?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18497@lists.php.net to get a copy of this message
On Sat, May 06, 2000 at 01:28:42PM -0500, Andrei Zmievski wrote: > Why do we have the following hard-coded define in xml.c and wddx.c? > Thies, it seems you put them there. > > #define PHP_XML_INTERNAL > #include "php_xml.h" xml.c always had it - wdd.c needs it for the charset conversion routines: xml_utf8_decode(const XML_Char *, int, int *, const XML_Char *); XML_Char is only available if you set PHP_XML_INTERNAL. i'm sure there's a cleaner way, but 'cause we have xml always available i thought it wouldn't hurt. tc > > > -Andrei > > "In My Egotistical Opinion, most people's C programs should be indented > six feet downward and covered with dirt." -- Blair P. Houghton > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#18497) next »