mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Renemed all variables to fit into a namespace
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.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "interpreter.h"
|
||||
#include "toy_interpreter.h"
|
||||
|
||||
int hookRunner(Interpreter* interpreter, Literal identifier, Literal alias);
|
||||
int Toy_hookRunner(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_Literal alias);
|
||||
|
||||
//file system API - these need to be set by the host
|
||||
void initDriveDictionary();
|
||||
void freeDriveDictionary();
|
||||
LiteralDictionary* getDriveDictionary();
|
||||
void Toy_initDriveDictionary();
|
||||
void Toy_freeDriveDictionary();
|
||||
Toy_LiteralDictionary* Toy_getDriveDictionary();
|
||||
|
||||
#define OPAQUE_TAG_RUNNER 100
|
||||
#define TOY_OPAQUE_TAG_RUNNER 100
|
||||
|
||||
Reference in New Issue
Block a user