Put DLList_ForEach into one-line
This commit is contained in:
parent
b1394e6416
commit
842085ac26
@ -494,10 +494,8 @@ DN_API bool DN_TicketMutex_CanLock (DN_TicketMutex const *mutex, DN_UInt t
|
||||
#define DN_DLList_HasItems(list) \
|
||||
((list) && ((list) != (list)->next))
|
||||
|
||||
#define DN_DLList_ForEach(it_name, list) \
|
||||
auto *it_name = (list)->next; \
|
||||
(it_name) != (list); \
|
||||
(it_name) = (it_name)->next
|
||||
#define DN_DLList_ForEach(it, list) \
|
||||
auto *it = (list)->next; (it) != (list); (it) = (it)->next \
|
||||
|
||||
// NOTE: Intrinsics ////////////////////////////////////////////////////////////////////////////////
|
||||
DN_FORCE_INLINE DN_U64 DN_Atomic_SetValue64(DN_U64 volatile *target, DN_U64 value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user