mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Wrote some small tests
This commit is contained in:
10
source/literal_util.h
Normal file
10
source/literal_util.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "literal.h"
|
||||
|
||||
char* copyString(char* original, int length);
|
||||
bool literalsAreEqual(Literal lhs, Literal rhs);
|
||||
int hashLiteral(Literal lit);
|
||||
|
||||
void printLiteral(Literal literal);
|
||||
void printLiteralCustom(Literal literal, void (printFn)(const char*));
|
||||
Reference in New Issue
Block a user