boilerplate hopefully down
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user