Re: [PHP-DEV] Why PHP_XML_INTERNAL? From: thies <email protected>
Date: 05/07/00

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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 

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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>