boilerplate hopefully down
This commit is contained in:
17
src/instruction.h
Normal file
17
src/instruction.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __GRAVITY__INSTRUCTION_H
|
||||
#define __GRAVITY__INSTRUCTION_H
|
||||
|
||||
#include "value.h"
|
||||
#include <stddef.h>
|
||||
|
||||
typedef enum {
|
||||
GravityOpcodeAdd = 0
|
||||
} GravityOpcode;
|
||||
|
||||
typedef struct {
|
||||
GravityOpcode opcode;
|
||||
GravityValue* operands;
|
||||
size_t numOperands;
|
||||
} GravityInstruction;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user