diff options
Diffstat (limited to 'luaconf.h')
| -rw-r--r-- | luaconf.h | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -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 | /* |
