Cleaned up the ir.h
parent
b2ba4768c6
commit
e29492f7f8
|
@ -20,11 +20,18 @@ typedef struct n {
|
||||||
* @return Pointer to the initialized node
|
* @return Pointer to the initialized node
|
||||||
* */
|
* */
|
||||||
node_t* node_init (
|
node_t* node_init (
|
||||||
node_t *nd, node_index_t type, void *data, uint64_t n_children, ...
|
node_t* nd,
|
||||||
|
node_index_t type,
|
||||||
|
void* data,
|
||||||
|
uint64_t n_children,
|
||||||
|
...
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SYM_GLOBAL_VAR, SYM_FUNCTION, SYM_PARAMETER, SYM_LOCAL_VAR
|
SYM_GLOBAL_VAR,
|
||||||
|
SYM_FUNCTION,
|
||||||
|
SYM_PARAMETER,
|
||||||
|
SYM_LOCAL_VAR
|
||||||
} symtype_t;
|
} symtype_t;
|
||||||
|
|
||||||
typedef struct s {
|
typedef struct s {
|
||||||
|
|
Loading…
Reference in New Issue