diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-12 10:52:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-12 10:52:05 -0300 |
commit | 1de5587184eb2d8d9f379c661f77f7e450764894 (patch) | |
tree | 9be30539af6392679e56ae3cf336e2d2befc8255 /lref.c | |
parent | 8ca9534d048782af13141874e0d2fec0d0f806af (diff) | |
download | lua-1de5587184eb2d8d9f379c661f77f7e450764894.tar.gz lua-1de5587184eb2d8d9f379c661f77f7e450764894.tar.bz2 lua-1de5587184eb2d8d9f379c661f77f7e450764894.zip |
`lua.h' is included before any other Lua header file
Diffstat (limited to 'lref.c')
-rw-r--r-- | lref.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lref.c,v 1.12 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lref.c,v 1.13 2000/06/08 17:48:31 roberto Exp roberto $ |
3 | ** reference mechanism | 3 | ** reference mechanism |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -7,11 +7,12 @@ | |||
7 | 7 | ||
8 | #define LUA_REENTRANT | 8 | #define LUA_REENTRANT |
9 | 9 | ||
10 | #include "lua.h" | ||
11 | |||
10 | #include "lapi.h" | 12 | #include "lapi.h" |
11 | #include "lmem.h" | 13 | #include "lmem.h" |
12 | #include "lref.h" | 14 | #include "lref.h" |
13 | #include "lstate.h" | 15 | #include "lstate.h" |
14 | #include "lua.h" | ||
15 | 16 | ||
16 | 17 | ||
17 | int lua_ref (lua_State *L, int lock) { | 18 | int lua_ref (lua_State *L, int lock) { |