From e61ee1da45e2c20d8d10c1802d47cfbea4c66b14 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Thu, 25 Feb 2021 10:03:53 -0800 Subject: Normalize Redis callback prototypes and stop typecasting. (#1935) --- php_redis.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'php_redis.h') 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); -- cgit v1.2.3