mirror of https://github.com/redis/redis.git
fix typos in module doc / header (#9641)
the RedisModule_ReplyWithPush prototype was merged by mistake (no such API yet)
This commit is contained in:
parent
6d5a911707
commit
e7864a2b70
|
|
@ -3027,7 +3027,7 @@ char *RM_StringDMA(RedisModuleKey *key, size_t *len, int mode) {
|
|||
return key->value->ptr;
|
||||
}
|
||||
|
||||
/* If the string is open for writing and is of string type, resize it, padding
|
||||
/* If the key is open for writing and is of string type, resize it, padding
|
||||
* with zero bytes if the new length is greater than the old one.
|
||||
*
|
||||
* After this call, RM_StringDMA() must be called again to continue
|
||||
|
|
|
|||
|
|
@ -650,7 +650,6 @@ REDISMODULE_API int (*RedisModule_ReplyWithArray)(RedisModuleCtx *ctx, long len)
|
|||
REDISMODULE_API int (*RedisModule_ReplyWithMap)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR;
|
||||
REDISMODULE_API int (*RedisModule_ReplyWithSet)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR;
|
||||
REDISMODULE_API int (*RedisModule_ReplyWithAttribute)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR;
|
||||
REDISMODULE_API int (*RedisModule_ReplyWithPush)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR;
|
||||
REDISMODULE_API int (*RedisModule_ReplyWithNullArray)(RedisModuleCtx *ctx) REDISMODULE_ATTR;
|
||||
REDISMODULE_API int (*RedisModule_ReplyWithEmptyArray)(RedisModuleCtx *ctx) REDISMODULE_ATTR;
|
||||
REDISMODULE_API void (*RedisModule_ReplySetArrayLength)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR;
|
||||
|
|
@ -934,7 +933,6 @@ static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int
|
|||
REDISMODULE_GET_API(ReplyWithMap);
|
||||
REDISMODULE_GET_API(ReplyWithSet);
|
||||
REDISMODULE_GET_API(ReplyWithAttribute);
|
||||
REDISMODULE_GET_API(ReplyWithPush);
|
||||
REDISMODULE_GET_API(ReplyWithNullArray);
|
||||
REDISMODULE_GET_API(ReplyWithEmptyArray);
|
||||
REDISMODULE_GET_API(ReplySetArrayLength);
|
||||
|
|
|
|||
Loading…
Reference in New Issue