callisto: move luaopen_ prototypes outside of the header
Previously they would have been public to any program that wanted to use them.
This commit is contained in:
parent
35773d12f7
commit
a89b8aee0a
2 changed files with 7 additions and 7 deletions
|
@ -9,6 +9,13 @@
|
||||||
|
|
||||||
#include "callisto.h"
|
#include "callisto.h"
|
||||||
|
|
||||||
|
int luaopen_cl(lua_State *);
|
||||||
|
int luaopen_environ(lua_State *);
|
||||||
|
int luaopen_extra(lua_State *);
|
||||||
|
int luaopen_fs(lua_State *);
|
||||||
|
int luaopen_json(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},
|
||||||
|
|
|
@ -24,13 +24,6 @@
|
||||||
|
|
||||||
#define CALLISTO_ENVIRON "environ"
|
#define CALLISTO_ENVIRON "environ"
|
||||||
|
|
||||||
int luaopen_cl(lua_State *);
|
|
||||||
int luaopen_environ(lua_State *);
|
|
||||||
int luaopen_extra(lua_State *);
|
|
||||||
int luaopen_fs(lua_State *);
|
|
||||||
int luaopen_json(lua_State *);
|
|
||||||
int luaopen_process(lua_State *);
|
|
||||||
|
|
||||||
lua_State *callisto_newstate(void);
|
lua_State *callisto_newstate(void);
|
||||||
void callisto_openall(lua_State *);
|
void callisto_openall(lua_State *);
|
||||||
void callisto_openlibs(lua_State *);
|
void callisto_openlibs(lua_State *);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue