diff options
Diffstat (limited to 'linit.c')
-rw-r--r-- | linit.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,10 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: linit.c,v 1.33 2014/02/06 17:32:33 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.34 2014/05/15 19:28:34 roberto Exp roberto $ |
3 | ** Initialization of libraries for lua.c and other clients | 3 | ** Initialization of libraries for lua.c and other clients |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | 7 | ||
8 | #define linit_c | ||
9 | #define LUA_LIB | ||
10 | |||
11 | #include "lprefix.h" | ||
12 | |||
13 | |||
8 | /* | 14 | /* |
9 | ** If you embed Lua in your program and need to open the standard | 15 | ** If you embed Lua in your program and need to open the standard |
10 | ** libraries, call luaL_openlibs in your program. If you need a | 16 | ** libraries, call luaL_openlibs in your program. If you need a |
@@ -12,10 +18,6 @@ | |||
12 | ** it to suit your needs. | 18 | ** it to suit your needs. |
13 | */ | 19 | */ |
14 | 20 | ||
15 | |||
16 | #define linit_c | ||
17 | #define LUA_LIB | ||
18 | |||
19 | #include "lua.h" | 21 | #include "lua.h" |
20 | 22 | ||
21 | #include "lualib.h" | 23 | #include "lualib.h" |