aboutsummaryrefslogtreecommitdiff
path: root/lualib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-16 14:22:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-16 14:22:43 -0300
commit89a3ec08f37d127fc3c7756cb7cf71586959f8c4 (patch)
tree583e5059db359960da0f6c954916133a46024cfe /lualib.h
parente3ea307434c876f561fa22d22d64ec1030f10415 (diff)
downloadlua-89a3ec08f37d127fc3c7756cb7cf71586959f8c4.tar.gz
lua-89a3ec08f37d127fc3c7756cb7cf71586959f8c4.tar.bz2
lua-89a3ec08f37d127fc3c7756cb7cf71586959f8c4.zip
function lua_userinit is used only in single-state mode (by lua.c)
Diffstat (limited to 'lualib.h')
-rw-r--r--lualib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lualib.h b/lualib.h
index 8956e19a..f069c167 100644
--- a/lualib.h
+++ b/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lualib.h,v 1.7 1999/08/16 20:52:00 roberto Exp roberto $ 2** $Id: lualib.h,v 1.8 1999/11/22 13:12:07 roberto Exp roberto $
3** Lua standard libraries 3** Lua standard libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -16,12 +16,10 @@ void lua_mathlibopen (lua_State *L);
16void lua_dblibopen (lua_State *L); 16void lua_dblibopen (lua_State *L);
17 17
18 18
19void lua_userinit (lua_State *L);
20
21 19
22/* 20/*
23** =============================================================== 21** ===============================================================
24** Macros for single-state use 22** Macros (and functions) for single-state use
25** =============================================================== 23** ===============================================================
26*/ 24*/
27 25
@@ -31,7 +29,9 @@ void lua_userinit (lua_State *L);
31#define lua_strlibopen() (lua_strlibopen)(lua_state) 29#define lua_strlibopen() (lua_strlibopen)(lua_state)
32#define lua_mathlibopen() (lua_mathlibopen)(lua_state) 30#define lua_mathlibopen() (lua_mathlibopen)(lua_state)
33#define lua_dblibopen() (lua_dblibopen)(lua_state) 31#define lua_dblibopen() (lua_dblibopen)(lua_state)
34#define lua_userinit() (lua_userinit)(lua_state) 32
33/* this function should be used only in single-state mode */
34void lua_userinit (void);
35 35
36#endif 36#endif
37 37