callisto: reformat
This commit is contained in:
parent
a89b8aee0a
commit
83f9f8690c
2 changed files with 13 additions and 11 deletions
12
callisto.c
12
callisto.c
|
@ -17,12 +17,12 @@ int luaopen_json(lua_State *);
|
||||||
int luaopen_process(lua_State *);
|
int luaopen_process(lua_State *);
|
||||||
|
|
||||||
static const luaL_Reg loadedlibs[] = {
|
static const luaL_Reg loadedlibs[] = {
|
||||||
{CALLISTO_CLLIBNAME, luaopen_cl},
|
{ CALLISTO_CLLIBNAME, luaopen_cl },
|
||||||
{CALLISTO_ENVLIBNAME, luaopen_environ},
|
{ CALLISTO_ENVLIBNAME, luaopen_environ },
|
||||||
{CALLISTO_FSYSLIBNAME, luaopen_fs},
|
{ CALLISTO_FSYSLIBNAME, luaopen_fs },
|
||||||
{CALLISTO_JSONLIBNAME, luaopen_json},
|
{ CALLISTO_JSONLIBNAME, luaopen_json },
|
||||||
{CALLISTO_PROCLIBNAME, luaopen_process},
|
{ CALLISTO_PROCLIBNAME, luaopen_process },
|
||||||
{NULL, NULL}
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
lua_State *
|
lua_State *
|
||||||
|
|
12
callisto.h
12
callisto.h
|
@ -8,12 +8,14 @@
|
||||||
|
|
||||||
#include <lua/lua.h>
|
#include <lua/lua.h>
|
||||||
|
|
||||||
#define CALLISTO_VERSION_MAJOR "0"
|
#define CALLISTO_VERSION_MAJOR "0"
|
||||||
#define CALLISTO_VERSION_MINOR "1"
|
#define CALLISTO_VERSION_MINOR "1"
|
||||||
#define CALLISTO_VERSION_RELEASE "0"
|
#define CALLISTO_VERSION_RELEASE "0"
|
||||||
|
|
||||||
#define CALLISTO_VERSION "Callisto " CALLISTO_VERSION_MAJOR "." CALLISTO_VERSION_MINOR
|
#define CALLISTO_VERSION \
|
||||||
#define CALLISTO_COPYRIGHT CALLISTO_VERSION " (" LUA_RELEASE ") Copyright (C) 1994-2022 Lua.org, PUC-Rio"
|
"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_CLLIBNAME "cl"
|
||||||
#define CALLISTO_ENVLIBNAME "environ"
|
#define CALLISTO_ENVLIBNAME "environ"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue