start working on text representation and constants
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
#include "type.h"
|
||||
#include "block.h"
|
||||
#include "list.h"
|
||||
#include <assert.h>
|
||||
#include "strb.h"
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
UseList(GravityBlock);
|
||||
|
||||
@@ -13,6 +16,10 @@ typedef struct GravityOpaqueFunction* GravityFunction;
|
||||
struct GravityOpaqueFunction {
|
||||
GravityFunctionType functionType;
|
||||
List(GravityBlock) blocks;
|
||||
const char* name;
|
||||
};
|
||||
|
||||
GravityBlock gravityStartBlock(const char* name, GravityFunction function, uint16_t numBlockParams, ...);
|
||||
char* gravityFunctionToCStr(GravityFunction function);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user