diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-02-06 13:12:46 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-02-06 13:12:46 -0800 |
commit | 8a9efc1b9171b22fc254e6e533cf9e364b273807 (patch) | |
tree | 045a5a629acae9af1aa3f77365cffc7dec7b2bfe /src/lualib.h | |
parent | b79d6be383b1ab6eae85595abccf36aaf833016d (diff) | |
download | teliva-8a9efc1b9171b22fc254e6e533cf9e364b273807.tar.gz |
drop module 'package'
Just like with `require`, we don't we don't know how to sandbox it. (Though we still have `require` because standard libraries outside apps need it. I need to make sure apps can't invoke `require`..)
Diffstat (limited to 'src/lualib.h')
-rw-r--r-- | src/lualib.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lualib.h b/src/lualib.h index 779f195..6964d41 100644 --- a/src/lualib.h +++ b/src/lualib.h @@ -60,9 +60,6 @@ LUALIB_API int (luaopen_ssl_config) (lua_State *L); #define LUA_DBLIBNAME "debug" LUALIB_API int (luaopen_debug) (lua_State *L); -#define LUA_LOADLIBNAME "package" -LUALIB_API int (luaopen_package) (lua_State *L); - /* open all previous libraries */ LUALIB_API void (luaL_openlibs) (lua_State *L); |