search for: add_assoc_str

Displaying 1 result from an estimated 1 matches for "add_assoc_str".

2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
...ator/php.ml @@ -93,6 +93,32 @@ and generate_php_c () = static int res_guestfs_h; +#if ZEND_MODULE_API_NO >= 20151012 +# define GUESTFS_RETURN_STRING(x, duplicate) \\ + do { if (duplicate) RETURN_STRING(x) else { RETVAL_STRING(x); efree ((char *)x); return; } } while (0) +# define guestfs_add_assoc_string(arg, key, str, dup) \\ + add_assoc_string(arg, key, str) +# define guestfs_add_assoc_stringl(arg, key, str, len, dup) \\ + add_assoc_stringl(arg, key, str, len) +# define guestfs_add_next_index_string(retval, val, x) \\ + add_next_index_string (retval, val) +# define GUESTFS_ZEND_FETCH_...