diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2021-02-25 21:03:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 21:03:53 +0300 |
commit | e61ee1da45e2c20d8d10c1802d47cfbea4c66b14 (patch) | |
tree | 093c9db771bd9ea08207ca3f20601ae36677eebb /php_redis.h | |
parent | 1f2a7ef6b5ea9c032e6075b2c21e0cf57bd11c3f (diff) |
Normalize Redis callback prototypes and stop typecasting. (#1935)
Diffstat (limited to 'php_redis.h')
-rw-r--r-- | php_redis.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/php_redis.h b/php_redis.h index ab6533dd..e3ed29c8 100644 --- a/php_redis.h +++ b/php_redis.h @@ -276,11 +276,6 @@ PHP_MINIT_FUNCTION(redis); PHP_MSHUTDOWN_FUNCTION(redis); PHP_MINFO_FUNCTION(redis); -/* Redis response handler function callback prototype */ -typedef void (*ResultCallback)(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx); - -typedef int (*FailableResultCallback)(INTERNAL_FUNCTION_PARAMETERS, RedisSock*, zval*, void*); - PHP_REDIS_API int redis_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent); PHP_REDIS_API int redis_response_enqueued(RedisSock *redis_sock); |