mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Working on refactoring, read more
The main program segfaults, but right now I'm working on the tests, mainly.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "literal.h"
|
||||
|
||||
Literal copyLiteral(Literal original);
|
||||
char* copyString(char* original, int length);
|
||||
bool literalsAreEqual(Literal lhs, Literal rhs);
|
||||
int hashLiteral(Literal lit);
|
||||
@@ -9,4 +10,3 @@ int hashLiteral(Literal lit);
|
||||
void printLiteral(Literal literal);
|
||||
void printLiteralCustom(Literal literal, void (printFn)(const char*));
|
||||
|
||||
//TODO: copy literal (to be used in dictionaries and arrays, as well)
|
||||
|
||||
Reference in New Issue
Block a user