diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-09-16 09:43:02 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-09-16 09:43:02 +0300 |
commit | 9114530dfcc57b382f2b5fa95d17099d63f9b97f (patch) | |
tree | 8bf9720e450dc8c61fa4808152fb3d7a62b5275f /redis_commands.h | |
parent | fc524ac1d29f20281e8c6eaf644df79812e00566 (diff) |
WIP: php compatibility
Redefine zend_get_parameters_array macro for working with `zval *` instead of `zval **`
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis_commands.h b/redis_commands.h index 2bcd8893..f8760c52 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -37,7 +37,7 @@ typedef enum geoSortType { };*/ /* Construct a raw command */ -int redis_build_raw_cmd(zval **z_args, int argc, char **cmd, int *cmd_len TSRMLS_DC); +int redis_build_raw_cmd(zval *z_args, int argc, char **cmd, int *cmd_len TSRMLS_DC); /* Redis command generics. Many commands share common prototypes meaning that * we can write one function to handle all of them. For example, there are @@ -266,4 +266,4 @@ void redis_unserialize_handler(INTERNAL_FUNCTION_PARAMETERS, #endif -/* vim: set tabstop=4 softtabstops=4 noexpandtab shiftwidth=4: */ +/* vim: set tabstop=4 softtabstop=4 expandtab shiftwidth=4: */ |