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
hiredis
Commits
74254a3b
"src/parser.c" did not exist on "e5f1193101a0c3276c9e76c31f474621980d6576"
Commit
74254a3b
authored
Jun 08, 2010
by
Ryan Tecco
Committed by
Pieter Noordhuis
Nov 19, 2010
Browse files
add extern "C" for C++ compiles
parent
09a0fe62
Changes
1
Show whitespace changes
Inline
Side-by-side
hiredis.h
View file @
74254a3b
...
...
@@ -69,6 +69,10 @@
#define REDIS_REPLY_NIL 4
#define REDIS_REPLY_STATUS 5
#ifdef __cplusplus
extern
"C"
{
#endif
/* This is the reply object returned by redisCommand() */
typedef
struct
redisReply
{
int
type
;
/* REDIS_REPLY_* */
...
...
@@ -154,4 +158,8 @@ void *redisvCommand(redisContext *c, const char *format, va_list ap);
void
*
redisCommand
(
redisContext
*
c
,
const
char
*
format
,
...);
void
*
redisCommandArgv
(
redisContext
*
c
,
int
argc
,
const
char
**
argv
,
const
size_t
*
argvlen
);
#ifdef __cplusplus
}
#endif
#endif
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