1
0
Fork 0

Codechange: remove now unused endof macro

pull/12451/head
Rubidium 2024-04-08 19:24:03 +02:00
parent 9a563ff253
commit 175365e6fd
1 changed files with 0 additions and 8 deletions

View File

@ -286,14 +286,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
*/
#define lengthof(array) (sizeof(ArraySizeHelper(array)))
/**
* Get the end element of an fixed size array.
*
* @param x The pointer to the first element of the array
* @return The pointer past to the last element of the array
*/
#define endof(x) (&x[lengthof(x)])
/**
* Get the last element of an fixed size array.
*