summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/php_xmlwriter.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2005-02-22 08:05:05 (GMT)
committerPierre Joye <pajoye@php.net>2005-02-22 08:05:05 (GMT)
commit0802829ad443b7c5e1276b9dc62b6a808f978832 (patch)
treeee3076a35c9d889005fdd9fad2d968e418e67fca /ext/xmlwriter/php_xmlwriter.h
parentd00a304f0e39d6d88379b34d8b5ec667d56c7671 (diff)
downloadphp-0802829ad443b7c5e1276b9dc62b6a808f978832.tar.gz
- ifdef all (protos and functions) and using the correct version
- fix protos ending - ws
Diffstat (limited to 'ext/xmlwriter/php_xmlwriter.h')
-rw-r--r--ext/xmlwriter/php_xmlwriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.h b/ext/xmlwriter/php_xmlwriter.h
index 5c5f263..57a09c5 100644
--- a/ext/xmlwriter/php_xmlwriter.h
+++ b/ext/xmlwriter/php_xmlwriter.h
@@ -51,7 +51,9 @@ PHP_FUNCTION(xmlwriter_start_attribute);
PHP_FUNCTION(xmlwriter_end_attribute);
PHP_FUNCTION(xmlwriter_start_attribute_ns);
PHP_FUNCTION(xmlwriter_write_attribute);
+#if LIBXML_VERSION >= 20617
PHP_FUNCTION(xmlwriter_write_attribute_ns);
+#endif
PHP_FUNCTION(xmlwriter_start_element);
PHP_FUNCTION(xmlwriter_end_element);
PHP_FUNCTION(xmlwriter_start_element_ns);
@@ -66,8 +68,10 @@ PHP_FUNCTION(xmlwriter_write_cdata);
PHP_FUNCTION(xmlwriter_text);
PHP_FUNCTION(xmlwriter_start_document);
PHP_FUNCTION(xmlwriter_end_document);
+#if LIBXML_VERSION >= 20616
PHP_FUNCTION(xmlwriter_write_comment);
PHP_FUNCTION(xmlwriter_start_comment);
+#endif
PHP_FUNCTION(xmlwriter_end_comment);
PHP_FUNCTION(xmlwriter_start_dtd);