projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Space after if.
[libfirm]
/
vector_t.h
diff --git
a/vector_t.h
b/vector_t.h
index
6262c01
..
3024e03
100644
(file)
--- a/
vector_t.h
+++ b/
vector_t.h
@@
-1,14
+1,24
@@
#ifndef KAPS_VECTOR_T_H
#define KAPS_VECTOR_T_H
#ifndef KAPS_VECTOR_T_H
#define KAPS_VECTOR_T_H
+#include "../debug.h"
+
#include "pbqp_t.h"
#include "pbqp_t.h"
-struct vector;
+typedef struct vec_elem vec_elem;
+
+struct vec_elem {
+ num data;
+#if EXT_GRS_DEBUG
+ char *name;
+#endif
+};
+
typedef struct vector vector;
struct vector {
typedef struct vector vector;
struct vector {
-
int
len;
-
int
entries[];
+
unsigned
len;
+
vec_elem
entries[];
};
#endif /* KAPS_VECTOR_T_H */
};
#endif /* KAPS_VECTOR_T_H */