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:
parent
3486c8a4f2
commit
7a65f5ff41
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue