Xonotic
|
Go to the source code of this file.
Classes | |
class | LinkedList |
class | LinkedListNode |
Macros | |
#define | EVAL_LL_CLEAR(...) __VA_ARGS__ |
#define | EVAL_LL_DELETE(...) __VA_ARGS__ |
#define | LL_CLEAR(...) EVAL_LL_CLEAR(OVERLOAD(LL_CLEAR, __VA_ARGS__)) |
#define | LL_CLEAR_1(this) LL_CLEAR_2(this, LAMBDA()) |
#define | LL_CLEAR_2(this, dtor) |
#define | LL_DELETE(...) EVAL_LL_DELETE(OVERLOAD(LL_DELETE, __VA_ARGS__)) |
#define | LL_DELETE_1(this) LL_DELETE_2(this, LAMBDA()) |
#define | LL_DELETE_2(this, dtor) |
#define | LL_EACH(list, cond, body) |
#define | LL_EMPTY(ll) (ll.ll_head == NULL) |
#define | LL_NEW() NEW(LinkedList) |
Functions | |
entity | LL_POP (LinkedList this) |
Pop from tail. More... | |
entity | LL_PUSH (LinkedList this, entity e) |
Push to tail. More... | |
#define EVAL_LL_CLEAR | ( | ... | ) | __VA_ARGS__ |
Definition at line 48 of file linkedlist.qh.
#define EVAL_LL_DELETE | ( | ... | ) | __VA_ARGS__ |
Definition at line 64 of file linkedlist.qh.
#define LL_CLEAR | ( | ... | ) | EVAL_LL_CLEAR(OVERLOAD(LL_CLEAR, __VA_ARGS__)) |
Definition at line 47 of file linkedlist.qh.
#define LL_CLEAR_1 | ( | this | ) | LL_CLEAR_2(this, LAMBDA()) |
Definition at line 49 of file linkedlist.qh.
#define LL_CLEAR_2 | ( | this, | |
dtor | |||
) |
Definition at line 50 of file linkedlist.qh.
#define LL_DELETE | ( | ... | ) | EVAL_LL_DELETE(OVERLOAD(LL_DELETE, __VA_ARGS__)) |
Definition at line 63 of file linkedlist.qh.
#define LL_DELETE_1 | ( | this | ) | LL_DELETE_2(this, LAMBDA()) |
Definition at line 65 of file linkedlist.qh.
#define LL_DELETE_2 | ( | this, | |
dtor | |||
) |
Definition at line 66 of file linkedlist.qh.
#define LL_EACH | ( | list, | |
cond, | |||
body | |||
) |
Definition at line 73 of file linkedlist.qh.
Referenced by Draw_ShowNames(), and Draw_ShowNames_All().
#define LL_EMPTY | ( | ll | ) | (ll.ll_head == NULL) |
Definition at line 16 of file linkedlist.qh.
#define LL_NEW | ( | ) | NEW(LinkedList) |
Definition at line 14 of file linkedlist.qh.
Referenced by STATIC_INIT().
entity LL_POP | ( | LinkedList | this | ) |
Pop from tail.
Definition at line 34 of file linkedlist.qh.
References assert, entity(), NULL, and prev.
entity LL_PUSH | ( | LinkedList | this, |
entity | e | ||
) |
Push to tail.
Definition at line 21 of file linkedlist.qh.
Referenced by STATIC_INIT().