summaryrefslogtreecommitdiff
path: root/ext/dom/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/attr.c')
-rw-r--r--ext/dom/attr.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/ext/dom/attr.c b/ext/dom/attr.c
index ade037a765..f9da264266 100644
--- a/ext/dom/attr.c
+++ b/ext/dom/attr.c
@@ -24,16 +24,7 @@
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
-
-/* {{{ arginfo */
-ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_is_id, 0, 0, 0)
-ZEND_END_ARG_INFO();
-
-ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_construct, 0, 0, 1)
- ZEND_ARG_INFO(0, name)
- ZEND_ARG_INFO(0, value)
-ZEND_END_ARG_INFO();
-/* }}} */
+#include "dom_arginfo.h"
/*
* class DOMAttr extends DOMNode
@@ -43,8 +34,8 @@ ZEND_END_ARG_INFO();
*/
const zend_function_entry php_dom_attr_class_functions[] = {
- PHP_FALIAS(isId, dom_attr_is_id, arginfo_dom_attr_is_id)
- PHP_ME(domattr, __construct, arginfo_dom_attr_construct, ZEND_ACC_PUBLIC)
+ PHP_FALIAS(isId, dom_attr_is_id, arginfo_class_DOMAttr_isId)
+ PHP_ME(domattr, __construct, arginfo_class_DOMAttr___construct, ZEND_ACC_PUBLIC)
PHP_FE_END
};