We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23aef10 commit 43b6d55Copy full SHA for 43b6d55
src/macros.rs
@@ -9,9 +9,6 @@ macro_rules! redis_command {
9
$keystep:expr) => {{
10
let name = CString::new($command_name).unwrap();
11
let flags = CString::new($command_flags).unwrap();
12
- let firstkey: i32 = $firstkey;
13
- let lastkey: i32 = $lastkey;
14
- let keystep: i32 = $keystep;
15
16
/////////////////////
17
extern "C" fn do_command(
@@ -45,9 +42,9 @@ macro_rules! redis_command {
45
42
name.as_ptr(),
46
43
Some(do_command),
47
44
flags.as_ptr(),
48
- firstkey,
49
- lastkey,
50
- keystep,
+ $firstkey,
+ $lastkey,
+ $keystep,
51
)
52
} == raw::Status::Err as c_int
53
{
0 commit comments