Commit 39e23fc9 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼

replace NULL by nullptr

parent c423c60f
......@@ -42,11 +42,11 @@ __attribute__((constructor(105))) static void UNIQUE(__ctor)() {\
vlist_init(l); \
} \
__attribute__((destructor(105))) static void UNIQUE(__dtor)() { \
vlist_destroy(l, NULL, false); \
vlist_destroy(l, nullptr, false); \
}
#define vlist_length(list) ((list)->length)
#define vlist_at_safe(list, index) ((list)->length > index ? (list)->array[index] : NULL)
#define vlist_at_safe(list, index) ((list)->length > index ? (list)->array[index] : nullptr)
#define vlist_at(list, index) ((list)->array[index])
#define vlist_first(list) vlist_at(list, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment