diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-05 16:33:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-05 16:33:32 -0300 |
commit | 6e80c1cde193b767d63d2cc30ebd71d65512e061 (patch) | |
tree | cb599bdc956c0dc9b3d469bb01de47185db3e4e2 /lualib.h | |
parent | f67f324377aff66d78479eaaffbb94a6b092ae45 (diff) | |
download | lua-github-6e80c1cde193b767d63d2cc30ebd71d65512e061.tar.gz |
new version for API
Diffstat (limited to 'lualib.h')
-rw-r--r-- | lualib.h | 23 |
1 files changed, 2 insertions, 21 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lualib.h,v 1.9 2000/06/16 17:22:43 roberto Exp roberto $ +** $Id: lualib.h,v 1.10 2000/08/09 19:16:57 roberto Exp roberto $ ** Lua standard libraries ** See Copyright Notice in lua.h */ @@ -10,6 +10,7 @@ #include "lua.h" +void lua_baselibopen (lua_State *L); void lua_iolibopen (lua_State *L); void lua_strlibopen (lua_State *L); void lua_mathlibopen (lua_State *L); @@ -17,26 +18,6 @@ void lua_dblibopen (lua_State *L); -/* -** =============================================================== -** Macros (and functions) for single-state use -** =============================================================== -*/ - -#ifdef LUA_SINGLESTATE - -#define lua_iolibopen() (lua_iolibopen)(lua_state) -#define lua_strlibopen() (lua_strlibopen)(lua_state) -#define lua_mathlibopen() (lua_mathlibopen)(lua_state) -#define lua_dblibopen() (lua_dblibopen)(lua_state) - -/* this function should be used only in single-state mode */ -void lua_userinit (void); - -#endif - - - /* Auxiliary functions (private) */ const char *luaI_classend (lua_State *L, const char *p); |