mirror of
https://github.com/reactos/reactos.git
synced 2025-04-11 16:24:39 +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:
parent
86ad9580b1
commit
f1377fcb7c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue