aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/luaconf.h b/luaconf.h
index a8bcec4a..2f337f96 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.7 2004/06/23 15:57:29 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.8 2004/06/29 16:57:56 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -84,9 +84,15 @@
84#define PROGNAME "lua" 84#define PROGNAME "lua"
85 85
86 86
87#define LUA_EXTRALIBS /* empty */ 87/*
88 88** this macro allows you to open other libraries when starting the
89#define lua_userinit(L) openstdlibs(L) 89** stand-alone interpreter
90*/
91#define lua_userinit(L) luaopen_stdlibs(L)
92/*
93** #define lua_userinit(L) { int luaopen_mylibs(lua_State *L); \
94** luaopen_stdlibs(L); luaopen_mylibs(L); }
95*/
90 96
91 97
92 98