diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:19:04 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:19:04 -0200 |
| commit | 28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 (patch) | |
| tree | eaac6c45a621d7f0176ce8f57df3cca1ca8d30f6 /linit.c | |
| parent | c25072a246eddff711ebec8e4acce9593bc5ff70 (diff) | |
| download | lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.gz lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.bz2 lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.zip | |
added include for 'lprefix.h', for stuff that must be added before
any other header file
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" |
