[SKIPLIST]
authorColin Finck <colin@reactos.org>
Thu, 25 Jun 2015 13:12:01 +0000 (13:12 +0000)
committerColin Finck <colin@reactos.org>
Thu, 25 Jun 2015 13:12:01 +0000 (13:12 +0000)
commit84416a465a50caa858db70c04e7fbfce27eec8ef
tree9a2417f7b3f8811b3ce28c0350a79076f37cc204
parent7aef841dea48385604bfbccb101d9c87bcf3ec7c
[SKIPLIST]
- Add a LookupNodeByIndexSkiplist function and a small test for it in skiplist_test.
- Remove a redundant double-set in LookupElementSkiplist.

Yes, we now have one lookup function that accepts search criteria and returns an element and another one that accepts an index and returns a SKIPLIST_NODE.
It's simply because I have exactly these two cases :)
You're free to implement the two missing functions or refactor this code another way.

svn path=/branches/colins-printing-for-freedom/; revision=68262
reactos/lib/skiplist/skiplist.c
reactos/lib/skiplist/skiplist.h
reactos/lib/skiplist/skiplist_test.c