aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-07 16:21:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-07 16:21:39 -0300
commit0df2238063f3e5b1a12c5272484f2afd45a2a2f1 (patch)
tree04361bb15edb5dbeba28ecd0103a0f29807112ad /luaconf.h
parent6828f6d42786de735d6696da8cccbb47c8bad347 (diff)
downloadlua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.tar.gz
lua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.tar.bz2
lua-0df2238063f3e5b1a12c5272484f2afd45a2a2f1.zip
name "_ENV" configurable through 'luaconf.h'
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index ad4e65f9..1b881475 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.141 2010/07/25 15:02:41 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.142 2010/07/28 15:51:59 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*/
@@ -116,6 +116,14 @@
116 116
117 117
118/* 118/*
119@@ LUA_ENV is the name of the variable that holds the current
120@@ environment, used to access global names.
121** CHANGE it if you do not like this name.
122*/
123#define LUA_ENV "_ENV"
124
125
126/*
119@@ LUA_API is a mark for all core API functions. 127@@ LUA_API is a mark for all core API functions.
120@@ LUALIB_API is a mark for all auxiliary library functions. 128@@ LUALIB_API is a mark for all auxiliary library functions.
121@@ LUAMOD_API is a mark for all standard library opening functions. 129@@ LUAMOD_API is a mark for all standard library opening functions.