aboutsummaryrefslogtreecommitdiff
path: root/lualib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lualib.h')
-rw-r--r--lualib.h23
1 files changed, 2 insertions, 21 deletions
diff --git a/lualib.h b/lualib.h
index 0a0fbe24..463951ab 100644
--- a/lualib.h
+++ b/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lualib.h,v 1.9 2000/06/16 17:22:43 roberto Exp roberto $ 2** $Id: lualib.h,v 1.10 2000/08/09 19:16:57 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*/
@@ -10,6 +10,7 @@
10 10
11#include "lua.h" 11#include "lua.h"
12 12
13void lua_baselibopen (lua_State *L);
13void lua_iolibopen (lua_State *L); 14void lua_iolibopen (lua_State *L);
14void lua_strlibopen (lua_State *L); 15void lua_strlibopen (lua_State *L);
15void lua_mathlibopen (lua_State *L); 16void lua_mathlibopen (lua_State *L);
@@ -17,26 +18,6 @@ void lua_dblibopen (lua_State *L);
17 18
18 19
19 20
20/*
21** ===============================================================
22** Macros (and functions) for single-state use
23** ===============================================================
24*/
25
26#ifdef LUA_SINGLESTATE
27
28#define lua_iolibopen() (lua_iolibopen)(lua_state)
29#define lua_strlibopen() (lua_strlibopen)(lua_state)
30#define lua_mathlibopen() (lua_mathlibopen)(lua_state)
31#define lua_dblibopen() (lua_dblibopen)(lua_state)
32
33/* this function should be used only in single-state mode */
34void lua_userinit (void);
35
36#endif
37
38
39
40/* Auxiliary functions (private) */ 21/* Auxiliary functions (private) */
41 22
42const char *luaI_classend (lua_State *L, const char *p); 23const char *luaI_classend (lua_State *L, const char *p);