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
34947405
Commit
34947405
authored
Apr 26, 2007
by
Michael Beck
Browse files
Use libFirm's obst.h instead of obstack.h
[r13503]
parent
e2b20d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/adt/array.h
View file @
34947405
...
...
@@ -28,8 +28,8 @@
#include <assert.h>
#include <stddef.h>
#include <obstack.h>
#include "obst.h"
#include "fourcc.h"
#include "align.h"
#include "xmalloc.h"
...
...
@@ -54,7 +54,7 @@
((type *)_new_arr_f ((nelts), sizeof(type) * (nelts)))
/**
* Creates a new flxible array with the same number of elements as a
* Creates a new fl
e
xible array with the same number of elements as a
* given one.
*
* @param type The element type of the new array.
...
...
@@ -346,4 +346,4 @@ void *_arr_setlen (void *, int, size_t);
#define _ARR_ELTS_OFFS offsetof (_arr_descr, v.elts)
#define _ARR_DESCR(elts) ((_arr_descr *)(void *)((char *)(elts) - _ARR_ELTS_OFFS))
#endif
#endif
/* FIRM_ADT_ARRAY_H */
Write
Preview
Markdown
is supported
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