Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e7864a2b
Unverified
Commit
e7864a2b
authored
Oct 17, 2021
by
Oran Agra
Committed by
GitHub
Oct 17, 2021
Browse files
fix typos in module doc / header (#9641)
the RedisModule_ReplyWithPush prototype was merged by mistake (no such API yet)
parent
6d5a9117
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
e7864a2b
...
...
@@ -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
...
...
src/redismodule.h
View file @
e7864a2b
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment