dot
This commit is contained in:
parent
8198714190
commit
f2b7048036
2 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ sprintf_slex_node(slex_node_t *node, char *buf)
|
||||||
* extract data from within your nodes.
|
* extract data from within your nodes.
|
||||||
*/
|
*/
|
||||||
SKIPLIST_KV_ACCESS(
|
SKIPLIST_KV_ACCESS(
|
||||||
slex, api_, int, char *,
|
slex, api_, key, int, value, char *,
|
||||||
/* query blk */ { query.key = key; },
|
/* query blk */ { query.key = key; },
|
||||||
/* return blk */ { return node->value; })
|
/* return blk */ { return node->value; })
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ shuffle(int *array, size_t n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_ARRAY_SIZE 5
|
#define TEST_ARRAY_SIZE 8
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -1474,7 +1474,7 @@
|
||||||
} \
|
} \
|
||||||
if (fn) { \
|
if (fn) { \
|
||||||
fn(node, buf); \
|
fn(node, buf); \
|
||||||
fprintf(os, " <f0> \u219F %zu \u226B %s \"\n", node->field.sle.height, buf); \
|
fprintf(os, " <f0> \u219F %zu \u226B %s \"\n", node->field.sle.height + 1, buf); \
|
||||||
} else { \
|
} else { \
|
||||||
fprintf(os, " <f0> \u219F %zu \"\n", node->field.sle.height); \
|
fprintf(os, " <f0> \u219F %zu \"\n", node->field.sle.height); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in a new issue