summaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
commita6f465f55802989c1656d1a3b030c315c8ef2690 (patch)
treed82e6d23612d42957341f3e8bd53937c267a1d1e /luaconf.h
parent9a41506b8f26e387493880e0affc2e23d604a97e (diff)
downloadlua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip
new mark LUAMOD_API for all luaopen_* functions
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index d3454d3b..3d2edf8f 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.114 2009/11/19 16:26:52 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.115 2009/11/19 19:06:52 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*/
@@ -143,7 +143,8 @@
143 143
144/* 144/*
145@@ LUA_API is a mark for all core API functions. 145@@ LUA_API is a mark for all core API functions.
146@@ LUALIB_API is a mark for all standard library functions. 146@@ LUALIB_API is a mark for all auxiliary library functions.
147@@ LUAMOD_API is a mark for all standard library opening functions.
147** CHANGE them if you need to define those functions in some special way. 148** CHANGE them if you need to define those functions in some special way.
148** For instance, if you want to create one Windows DLL with the core and 149** For instance, if you want to create one Windows DLL with the core and
149** the libraries, you may want to use the following definition (define 150** the libraries, you may want to use the following definition (define
@@ -165,6 +166,7 @@
165 166
166/* more often than not the libs go together with the core */ 167/* more often than not the libs go together with the core */
167#define LUALIB_API LUA_API 168#define LUALIB_API LUA_API
169#define LUAMOD_API LUALIB_API
168 170
169 171
170/* 172/*