summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.h
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-01-10 11:50:25 +0000
committerRob Richards <rrichards@php.net>2004-01-10 11:50:25 +0000
commit394bf2ba5b457a5befed5a7fbadae0ce50e024d4 (patch)
tree478abdaee2e072445bf18504a0f4e34bbf1cd2fe /ext/dom/php_dom.h
parenta72c1ab93be75e9e206e6ba90fe04c2676110e72 (diff)
downloadphp-git-394bf2ba5b457a5befed5a7fbadae0ce50e024d4.tar.gz
XPath query returns nodelist object rather than array
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r--ext/dom/php_dom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h
index ad36cf23d6..d5e976e953 100644
--- a/ext/dom/php_dom.h
+++ b/ext/dom/php_dom.h
@@ -62,6 +62,8 @@ extern zend_module_entry dom_module_entry;
Can be checked with phpversion("dom");
*/
#define DOM_API_VERSION "20031129"
+/* Define a custom type for iterating using an unused nodetype */
+#define DOM_NODESET XML_XINCLUDE_START
typedef struct _dom_nnodemap_object {
dom_object *baseobj;