mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-18 00:04:09 +10:00
Got the compiler partially working
This commit is contained in:
16
source/literal_array.h
Normal file
16
source/literal_array.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "literal.h"
|
||||
|
||||
typedef struct LiteralArray {
|
||||
int capacity;
|
||||
int count;
|
||||
Literal* literals;
|
||||
} LiteralArray;
|
||||
|
||||
void initLiteralArray(LiteralArray* array);
|
||||
int writeLiteralArray(LiteralArray* array, Literal literal);
|
||||
void freeLiteralArray(LiteralArray* array);
|
||||
|
||||
int findLiteralIndex(LiteralArray* array, Literal literal);
|
||||
|
||||
Reference in New Issue
Block a user