aboutsummaryrefslogtreecommitdiff
path: root/lref.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-12 10:52:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-12 10:52:05 -0300
commit1de5587184eb2d8d9f379c661f77f7e450764894 (patch)
tree9be30539af6392679e56ae3cf336e2d2befc8255 /lref.c
parent8ca9534d048782af13141874e0d2fec0d0f806af (diff)
downloadlua-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lref.c b/lref.c
index 42ee5eda..97072843 100644
--- a/lref.c
+++ b/lref.c
@@ -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
17int lua_ref (lua_State *L, int lock) { 18int lua_ref (lua_State *L, int lock) {