ensure arginfo is generated when needed

This commit is contained in:
Remi Collet
2020-06-25 08:59:28 +02:00
parent e71da6ad6f
commit 172de90b7b
3 changed files with 7 additions and 1 deletions

3
Makefile.frag Normal file
View File

@@ -0,0 +1,3 @@
$(builddir)/xmlrpc-epi-php.lo: $(top_srcdir)/xmlrpc_arginfo.h
@touch $@

View File

@@ -101,3 +101,5 @@ elif test "$PHP_XMLRPC" != "no"; then
PHP_NEW_EXTENSION(xmlrpc,xmlrpc-epi-php.c, $ext_shared)
XMLRPC_MODULE_TYPE=external
fi
PHP_ADD_MAKEFILE_FRAGMENT

View File

@@ -1,4 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. */
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 2c5da90cd5f2c426f268a392171339bdf268e293 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xmlrpc_encode, 0, 1, IS_STRING, 1)
ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)