bit of organisation

This commit is contained in:
2026-08-04 10:22:08 +10:00
parent 604b774ba9
commit 9eab7ffbda
16 changed files with 10 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#ifndef __GRAVITY__GENERATOR_H #ifndef __GRAVITY__GENERATOR_H
#define __GRAVITY__GENERATOR_H #define __GRAVITY__GENERATOR_H
#include "module.h" #include "../ir/module.h"
typedef struct GravityOpaqueGenerator* GravityGenerator; typedef struct GravityOpaqueGenerator* GravityGenerator;
struct GravityOpaqueGenerator { struct GravityOpaqueGenerator {

View File

@@ -1 +1 @@
#include "../generator.h" #include "generator.h"

View File

@@ -1,7 +1,7 @@
#ifndef __GRAVITY__BLOCK_H #ifndef __GRAVITY__BLOCK_H
#define __GRAVITY__BLOCK_H #define __GRAVITY__BLOCK_H
#include "list.h" #include "../list.h"
#include "type.h" #include "type.h"
#include "instruction.h" #include "instruction.h"

View File

@@ -3,8 +3,8 @@
#include "type.h" #include "type.h"
#include "block.h" #include "block.h"
#include "list.h" #include "../list.h"
#include "strb.h" #include "../strb.h"
#include "instruction.h" #include "instruction.h"
#include <stdint.h> #include <stdint.h>
#include <stdarg.h> #include <stdarg.h>

View File

@@ -2,8 +2,8 @@
#define __GRAVITY__MODULE_H #define __GRAVITY__MODULE_H
#include "function.h" #include "function.h"
#include "list.h" #include "../list.h"
#include "strb.h" #include "../strb.h"
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>

View File

@@ -1,8 +1,8 @@
#ifndef __GRAVITY__TYPE_H #ifndef __GRAVITY__TYPE_H
#define __GRAVITY__TYPE_H #define __GRAVITY__TYPE_H
#include "list.h" #include "../list.h"
#include "strb.h" #include "../strb.h"
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

View File

@@ -2,6 +2,7 @@
#define __GRAVITY__VALUE_H #define __GRAVITY__VALUE_H
#include "type.h" #include "type.h"
#include "../list.h"
extern uint32_t globalValueIncrementer; extern uint32_t globalValueIncrementer;