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
9c573144
Commit
9c573144
authored
Jul 09, 2014
by
torque
Committed by
Matt Stancliff
Jan 05, 2015
Browse files
Cleanup libuv adapter
This: - Removes misplaced libuv function prototype - Includes stdlib for free() Closes #251
parent
40f7035b
Changes
1
Show whitespace changes
Inline
Side-by-side
adapters/libuv.h
View file @
9c573144
#ifndef __HIREDIS_LIBUV_H__
#define __HIREDIS_LIBUV_H__
#include <stdlib.h>
#include <uv.h>
#include "../hiredis.h"
#include "../async.h"
...
...
@@ -11,7 +12,6 @@ typedef struct redisLibuvEvents {
int
events
;
}
redisLibuvEvents
;
int
redisLibuvAttach
(
redisAsyncContext
*
,
uv_loop_t
*
);
static
void
redisLibuvPoll
(
uv_poll_t
*
handle
,
int
status
,
int
events
)
{
redisLibuvEvents
*
p
=
(
redisLibuvEvents
*
)
handle
->
data
;
...
...
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