Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f49bf7

Browse files
Merge commit 'edd777a6b4202580975447abfc95870572795e36' into develop
2 parents b718ce0 + edd777a commit 4f49bf7

File tree

5 files changed

+500
-217
lines changed

5 files changed

+500
-217
lines changed

library.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#ifndef REDIS_LIBRARY_H
22
#define REDIS_LIBRARY_H
33

4+
#define REDIS_CMD_APPEND_SSTR_STATIC(sstr, str) \
5+
redis_cmd_append_sstr(sstr, str, sizeof(str)-1);
6+
7+
#define REDIS_CMD_INIT_SSTR_STATIC(sstr, argc, keyword) \
8+
redis_cmd_init_sstr(sstr, argc, keyword, sizeof(keyword)-1);
9+
410
void add_constant_long(zend_class_entry *ce, char *name, int value);
511
int integer_length(int i);
612
int redis_cmd_format(char **ret, char *format, ...);

php_redis.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ PHP_METHOD(Redis, slowlog);
197197
PHP_METHOD(Redis, wait);
198198
PHP_METHOD(Redis, pubsub);
199199

200+
/* Geoadd and friends */
201+
PHP_METHOD(Redis, geoadd);
202+
PHP_METHOD(Redis, geohash);
203+
PHP_METHOD(Redis, geopos);
204+
PHP_METHOD(Redis, geodist);
205+
PHP_METHOD(Redis, georadius);
206+
PHP_METHOD(Redis, georadiusbymember);
207+
200208
PHP_METHOD(Redis, client);
201209
PHP_METHOD(Redis, command);
202210
PHP_METHOD(Redis, rawcommand);

0 commit comments

Comments
 (0)