mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[SKIPLIST]
Verify that SKIPLIST_LEVELS is in the required range using C_ASSERTs (thanks to Thomas for the hint!) svn path=/branches/colins-printing-for-freedom/; revision=68192
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
#error Please define SKIPLIST_LEVELS to a value between 1 and 32.
|
||||
#endif
|
||||
|
||||
C_ASSERT(SKIPLIST_LEVELS >= 1);
|
||||
C_ASSERT(SKIPLIST_LEVELS <= 32);
|
||||
|
||||
// Function pointer definitions
|
||||
typedef PVOID (WINAPI *PSKIPLIST_ALLOCATE_ROUTINE)(DWORD);
|
||||
typedef int (WINAPI *PSKIPLIST_COMPARE_ROUTINE)(PVOID, PVOID);
|
||||
|
||||
Reference in New Issue
Block a user