Rename file -> fs

This commit is contained in:
Jeremy Baxter 2023-08-01 13:34:32 +12:00
parent e18cf6e588
commit 659bbb9e90
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ static const luaL_Reg loadedlibs[] = {
{CALLISTO_CLLIBNAME, luaopen_cl}, {CALLISTO_CLLIBNAME, luaopen_cl},
{CALLISTO_ENVLIBNAME, luaopen_environ}, {CALLISTO_ENVLIBNAME, luaopen_environ},
{CALLISTO_EXTLIBNAME, luaopen_extra}, {CALLISTO_EXTLIBNAME, luaopen_extra},
{CALLISTO_FILELIBNAME, luaopen_file}, {CALLISTO_FSYSLIBNAME, luaopen_fs},
{CALLISTO_JSONLIBNAME, luaopen_json}, {CALLISTO_JSONLIBNAME, luaopen_json},
{CALLISTO_MATHLIBNAME, luaopen_math}, {CALLISTO_MATHLIBNAME, luaopen_math},
{CALLISTO_OSLIBNAME, luaopen_os}, {CALLISTO_OSLIBNAME, luaopen_os},

View file

@ -20,7 +20,7 @@
#define CALLISTO_CLLIBNAME "cl" #define CALLISTO_CLLIBNAME "cl"
#define CALLISTO_ENVLIBNAME "environ" #define CALLISTO_ENVLIBNAME "environ"
#define CALLISTO_EXTLIBNAME "_G" /* global table */ #define CALLISTO_EXTLIBNAME "_G" /* global table */
#define CALLISTO_FILELIBNAME "file" #define CALLISTO_FSYSLIBNAME "fs"
#define CALLISTO_JSONLIBNAME "json" #define CALLISTO_JSONLIBNAME "json"
#define CALLISTO_MATHLIBNAME "math" #define CALLISTO_MATHLIBNAME "math"
#define CALLISTO_OSLIBNAME "os" #define CALLISTO_OSLIBNAME "os"
@ -32,7 +32,7 @@
int luaopen_cl(lua_State *); int luaopen_cl(lua_State *);
int luaopen_environ(lua_State *); int luaopen_environ(lua_State *);
int luaopen_extra(lua_State *); int luaopen_extra(lua_State *);
int luaopen_file(lua_State *); int luaopen_fs(lua_State *);
int luaopen_json(lua_State *); int luaopen_json(lua_State *);
int luaopen_process(lua_State *); int luaopen_process(lua_State *);
int luaopen_socket(lua_State *); int luaopen_socket(lua_State *);