win: track windows with a hash table
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
7
src/uthash_extra.h
Normal file
7
src/uthash_extra.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <uthash.h>
|
||||
|
||||
#define HASH_ITER2(head, el) \
|
||||
for (__typeof__(head) el = (head), __tmp = el != NULL ? el->hh.next : NULL; \
|
||||
el != NULL; el = __tmp, __tmp = el != NULL ? el->hh.next : NULL)
|
||||
Reference in New Issue
Block a user