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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-02-11 00:12:22 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-02-11 00:30:39 +0300
commit88d870e0d9c532fb095678271e06c679b0b3fc83 (patch)
treea3ad8c78fa4084a53e347d3aaeca6345179b529a /library.h
parent8fa85afa7ab786ba124a86c7b9fdf34ecaff5aae (diff)
refactoring
redis_sock_get and redis_array_get return pointer to RedisSock/RedisArray structure instead of assign by pointer pointer
Diffstat (limited to 'library.h')
-rw-r--r--library.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library.h b/library.h
index 7e68fba2..de4991fa 100644
--- a/library.h
+++ b/library.h
@@ -59,7 +59,7 @@ PHP_REDIS_API int redis_unsubscribe_response(INTERNAL_FUNCTION_PARAMETERS,
PHP_REDIS_API int redis_sock_write(RedisSock *redis_sock, char *cmd, size_t sz TSRMLS_DC);
PHP_REDIS_API void redis_stream_close(RedisSock *redis_sock TSRMLS_DC);
PHP_REDIS_API int redis_check_eof(RedisSock *redis_sock, int no_throw TSRMLS_DC);
-PHP_REDIS_API int redis_sock_get(zval *id, RedisSock **redis_sock TSRMLS_DC, int nothrow);
+PHP_REDIS_API RedisSock *redis_sock_get(zval *id TSRMLS_DC, int nothrow);
PHP_REDIS_API void redis_free_socket(RedisSock *redis_sock);
PHP_REDIS_API void redis_send_discard(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock);
PHP_REDIS_API void redis_sock_set_err(RedisSock *redis_sock, const char *msg, int msg_len);