summaryrefslogtreecommitdiff
path: root/ext/libxml/php_libxml.h
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-03-26 20:02:53 +0000
committerFelipe Pena <felipe@php.net>2009-03-26 20:02:53 +0000
commit8ecf8ede1ff9cd425cf1cfd754558ff4bd2d38f4 (patch)
tree8d447a97971dd7d300621a52f491906cb1e7d576 /ext/libxml/php_libxml.h
parent5d8cf0217f3a45d297f63f726774fb94b7f1353d (diff)
downloadphp-git-8ecf8ede1ff9cd425cf1cfd754558ff4bd2d38f4.tar.gz
- Removed:
- UG(unicode) checks - pcre_cache_entry.unicode_mode - Changed: - ZEND_STR_TYPE -> IS_UNICODE - convert_to_text -> convert_to_unicode - convert_to_text_ex -> convert_to_unicode_ex (Felipe, Steph)
Diffstat (limited to 'ext/libxml/php_libxml.h')
-rw-r--r--ext/libxml/php_libxml.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index 60234483cd..a02cc54aff 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -103,17 +103,13 @@ PHP_LIBXML_API void php_libxml_shutdown(void);
#define ZVAL_XML_STRING(z, s, flags) { \
UConverter *libxml_utf_conv = NULL; \
- if (UG(unicode)) { \
- libxml_utf_conv = UG(utf8_conv); \
- } \
+ libxml_utf_conv = UG(utf8_conv); \
ZVAL_U_STRING(libxml_utf_conv, z, s, flags); \
}
#define ZVAL_XML_STRING_LEN(z, s, l, flags) { \
UConverter *libxml_utf_conv = NULL; \
- if (UG(unicode)) { \
- libxml_utf_conv = UG(utf8_conv); \
- } \
+ libxml_utf_conv = UG(utf8_conv); \
ZVAL_U_STRINGL(libxml_utf_conv, z, s, l, flags); \
}