summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
authorCraig Duncan <git@duncanc.co.uk>2019-09-22 15:21:51 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-29 10:40:37 +0200
commit676f455f74fbee757568c772b5a4e3bc18b963be (patch)
treed30f9145ae8670acbf346b357ea0cfda50dbf967 /ext/libxml/libxml.c
parent1593f79ecd2f718b5de7d9028084205595c6e509 (diff)
downloadphp-git-676f455f74fbee757568c772b5a4e3bc18b963be.tar.gz
Convert libxml arginfo to php stubs
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index b559ceb5ff..9c6a51f5f8 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -41,6 +41,7 @@
#endif
#include "php_libxml.h"
+#include "libxml_arginfo.h"
#define PHP_LIBXML_ERROR 0
#define PHP_LIBXML_CTX_ERROR 1
@@ -89,33 +90,6 @@ static int php_libxml_post_deactivate(void);
/* }}} */
-/* {{{ arginfo */
-ZEND_BEGIN_ARG_INFO(arginfo_libxml_set_streams_context, 0)
- ZEND_ARG_INFO(0, context)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO_EX(arginfo_libxml_use_internal_errors, 0, 0, 0)
- ZEND_ARG_INFO(0, use_errors)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO(arginfo_libxml_get_last_error, 0)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO(arginfo_libxml_get_errors, 0)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO(arginfo_libxml_clear_errors, 0)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO_EX(arginfo_libxml_disable_entity_loader, 0, 0, 0)
- ZEND_ARG_INFO(0, disable)
-ZEND_END_ARG_INFO()
-
-ZEND_BEGIN_ARG_INFO_EX(arginfo_libxml_set_external_entity_loader, 0, 0, 1)
- ZEND_ARG_INFO(0, resolver_function)
-ZEND_END_ARG_INFO()
-/* }}} */
-
/* {{{ extension definition structures */
static const zend_function_entry libxml_functions[] = {
PHP_FE(libxml_set_streams_context, arginfo_libxml_set_streams_context)