forked from lei.chen/myxce
enhance ordq
This commit is contained in:
parent
c478ea8516
commit
05abed1964
4 changed files with 18 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include "unity.h"
|
||||
#include "utils.h"
|
||||
|
||||
static int long_cmp(ordkey_t k1, ordkey_t k2)
|
||||
static int long_cmp(void* ctx, ordkey_t k1, ordkey_t k2)
|
||||
{
|
||||
if ((long)k1 < (long)k2) {
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue