[libvirt] [libvirt-php PATCH 07/29] adapt add_assoc_string_ex
Michal Privoznik
mprivozn at redhat.com
Thu Apr 14 16:30:08 UTC 2016
On 13.04.2016 18:13, Neal Gompa wrote:
> From: Remi Collet <fedora at famillecollet.com>
>
> ---
> src/libvirt-php.c | 299 ++++++++++++++++++------------------------------------
> 1 file changed, 99 insertions(+), 200 deletions(-)
>
> diff --git a/src/libvirt-php.c b/src/libvirt-php.c
> index 3f47075..80a947c 100644
> --- a/src/libvirt-php.c
> +++ b/src/libvirt-php.c
> @@ -58,6 +58,7 @@ const char *features_binaries[] = { NULL };
> #if PHP_MAJOR_VERSION >= 7
> typedef size_t strsize_t;
>
> +#define VIRT_COPY_OPT
> #define VIRT_FETCH_RESOURCE(_state, _type, _zval, _name, _le) \
> if ((_state = (_type)zend_fetch_resource(Z_RES_P(*_zval), _name, _le)) == NULL) { \
> RETURN_FALSE; \
> @@ -68,6 +69,8 @@ typedef int strsize_t;
> typedef long zend_long;
> typedef unsigned long zend_ulong;
>
> +#define VIRT_COPY_OPT ,1
> +
This will still not fly. But I've rewritten the patch, so it builds.
Michal
More information about the libvir-list
mailing list