Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
0401d159
Commit
0401d159
authored
Jan 30, 2016
by
Matthias Braun
Browse files
Return address of new element in ARR_APP1
parent
521f76c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/libfirm/adt/array.h
View file @
0401d159
...
...
@@ -280,7 +280,7 @@ static inline size_t ARR_LEN(void const *const arr)
* @param arr The array, which must be an lvalue.
* @param elt The new element, must be of type (type).
*/
#define ARR_APP1(type, arr, elt) (*ARR_EXTEND1(type, (arr)) = (elt))
#define ARR_APP1(type, arr, elt) (*ARR_EXTEND1(type, (arr)) = (elt)
, (arr)+ARR_LEN((arr))-1
)
/** @} */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment