mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Tweaked lib runner API
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "toy_common.h"
|
||||||
#include "toy_interpreter.h"
|
#include "toy_interpreter.h"
|
||||||
|
|
||||||
int Toy_hookRunner(Toy_Interpreter* interpreter, Toy_Literal identifier, Toy_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
|
//file system API - these need to be set by the host
|
||||||
void Toy_initDriveDictionary();
|
TOY_API void Toy_initDriveDictionary();
|
||||||
void Toy_freeDriveDictionary();
|
TOY_API void Toy_freeDriveDictionary();
|
||||||
Toy_LiteralDictionary* Toy_getDriveDictionary();
|
TOY_API Toy_LiteralDictionary* Toy_getDriveDictionary();
|
||||||
|
|
||||||
#define TOY_OPAQUE_TAG_RUNNER 100
|
#define TOY_OPAQUE_TAG_RUNNER 100
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user