mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Basically, all Toy varaibles, functions, etc. are prepended with "Toy_", and macros are prepended with "TOY_". This is to reduce namespace pollution, which was an issue pointed out to be - blame @GyroVorbis. I've also bumped the minor version number - theoretically I should bump the major number, but I'm not quite ready for 1.0 yet.
15 lines
380 B
C
15 lines
380 B
C
#pragma once
|
|
|
|
#include "toy_common.h"
|
|
|
|
char* Toy_readFile(char* path, size_t* fileSize);
|
|
int Toy_writeFile(char* path, unsigned char* bytes, size_t size);
|
|
|
|
unsigned char* Toy_compileString(char* source, size_t* size);
|
|
|
|
void Toy_runBinary(unsigned char* tb, size_t size);
|
|
void Toy_runBinaryFile(char* fname);
|
|
void Toy_runSource(char* source);
|
|
void Toy_runSourceFile(char* fname);
|
|
|