Cleaned up the ir.h

main
Øyvind Skaaden 2022-03-13 20:19:53 +01:00
parent b2ba4768c6
commit e29492f7f8
1 changed files with 9 additions and 2 deletions

View File

@ -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 {