-
Notifications
You must be signed in to change notification settings - Fork 1
/
callisto.h
36 lines (27 loc) · 939 Bytes
/
callisto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Callisto - standalone scripting platform for Lua 5.4
* Copyright (c) 2023-2024 Jeremy Baxter.
*/
/* clang-format off */
#ifndef _CALLISTO_H_
#define _CALLISTO_H_
#include <lua/lua.h>
#define CALLISTO_VERSION_MAJOR "0"
#define CALLISTO_VERSION_MINOR "1"
#define CALLISTO_VERSION_RELEASE "0"
#define CALLISTO_VERSION \
"Callisto " CALLISTO_VERSION_MAJOR "." CALLISTO_VERSION_MINOR
#define CALLISTO_COPYRIGHT \
CALLISTO_VERSION " (" LUA_RELEASE ") Copyright (C) 1994-2022 Lua.org, PUC-Rio"
#define CALLISTO_CLLIBNAME "cl"
#define CALLISTO_ENVLIBNAME "environ"
#define CALLISTO_EXTLIBNAME "_G" /* global table */
#define CALLISTO_FSYSLIBNAME "fs"
#define CALLISTO_JSONLIBNAME "json"
#define CALLISTO_PROCLIBNAME "process"
#define CALLISTO_ENVIRON "environ"
lua_State *callisto_newstate(void);
void callisto_openall(lua_State *);
void callisto_openlibs(lua_State *);
void callisto_setversion(lua_State *);
#endif