Commit 7a26c37f authored by Matthias Braun's avatar Matthias Braun
Browse files

Revert "Return address of new element in ARR_APP1"

This reverts commit 0401d159.

This didn't turn out to be that useful and just produced warnings in
gcc.
parent 4e520c22
...@@ -280,7 +280,7 @@ static inline size_t ARR_LEN(void const *const arr) ...@@ -280,7 +280,7 @@ static inline size_t ARR_LEN(void const *const arr)
* @param arr The array, which must be an lvalue. * @param arr The array, which must be an lvalue.
* @param elt The new element, must be of type (type). * @param elt The new element, must be of type (type).
*/ */
#define ARR_APP1(type, arr, elt) (*ARR_EXTEND1(type, (arr)) = (elt), (arr)+ARR_LEN((arr))-1) #define ARR_APP1(type, arr, elt) (*ARR_EXTEND1(type, (arr)) = (elt))
/** @} */ /** @} */
......
Supports Markdown
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