1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

replace NULL by nullptr

This commit is contained in:
Steffen Vogel 2019-06-23 16:58:18 +02:00
parent edb54f3133
commit 91c62ce4e8

View file

@ -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)