Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-09 16:26:44 +0300
committerRemi Collet <remi@remirepo.net>2019-07-09 16:26:44 +0300
commit943802272a9557c513eb6b59f285e175ec734ad4 (patch)
treeb2043f3d762d36fd986a8b7bb75a2976d22cfd1a /redis_cluster.h
parent28388abceeb217202eb48c6edb5fd8671d46068e (diff)
cleanup TSRMLS_* usage
Diffstat (limited to 'redis_cluster.h')
-rw-r--r--redis_cluster.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/redis_cluster.h b/redis_cluster.h
index ca76ac8a..414c489d 100644
--- a/redis_cluster.h
+++ b/redis_cluster.h
@@ -65,7 +65,7 @@
&cmd_len, &slot, &ctx)==FAILURE) { \
RETURN_FALSE; \
} \
- if(cluster_send_command(c,slot,cmd,cmd_len TSRMLS_CC)<0 || c->err!=NULL) {\
+ if(cluster_send_command(c,slot,cmd,cmd_len)<0 || c->err!=NULL) {\
efree(cmd); \
RETURN_FALSE; \
} \
@@ -85,7 +85,7 @@
&slot,&ctx)==FAILURE) { \
RETURN_FALSE; \
} \
- if(cluster_send_command(c,slot,cmd,cmd_len TSRMLS_CC)<0 || c->err!=NULL) { \
+ if(cluster_send_command(c,slot,cmd,cmd_len)<0 || c->err!=NULL) { \
efree(cmd); \
RETURN_FALSE; \
} \
@@ -97,17 +97,17 @@
resp_func(INTERNAL_FUNCTION_PARAM_PASSTHRU, c, ctx);
/* For the creation of RedisCluster specific exceptions */
-PHP_REDIS_API zend_class_entry *rediscluster_get_exception_base(int root TSRMLS_DC);
+PHP_REDIS_API zend_class_entry *rediscluster_get_exception_base(int root);
/* Create cluster context */
-zend_object *create_cluster_context(zend_class_entry *class_type TSRMLS_DC);
+zend_object *create_cluster_context(zend_class_entry *class_type);
/* Free cluster context struct */
void free_cluster_context(zend_object *object);
/* Inittialize our class with PHP */
-void init_rediscluster(TSRMLS_D);
+void init_rediscluster(void);
/* RedisCluster method implementation */
PHP_METHOD(RedisCluster, __construct);