boilerplate hopefully down

This commit is contained in:
2026-08-03 17:02:20 +10:00
parent 87208566fc
commit b4cb3aa56e
15 changed files with 286 additions and 21 deletions

View File

@@ -1,8 +1,18 @@
#ifndef __GRAVITY_FUNCTION_H
#define __GRAVITY_FUNCTION_H
#ifndef __GRAVITY__FUNCTION_H
#define __GRAVITY__FUNCTION_H
typedef struct {
#include "type.h"
#include "block.h"
#include "list.h"
#include <assert.h>
} GravityIRFunction;
UseList(GravityBlock);
typedef struct GravityOpaqueFunction* GravityFunction;
struct GravityOpaqueFunction {
GravityFunctionType functionType;
List(GravityBlock) blocks;
};
#endif