aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-02 13:44:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-02 13:44:42 -0300
commitf61ceee70822259725a335ccaaa323416296a6c1 (patch)
tree7b6249b61077a7578111545084eda4b36171abc0 /lgc.c
parent5aeb57f11f2499050907d2ce1d27f66006e226c4 (diff)
downloadlua-f61ceee70822259725a335ccaaa323416296a6c1.tar.gz
lua-f61ceee70822259725a335ccaaa323416296a6c1.tar.bz2
lua-f61ceee70822259725a335ccaaa323416296a6c1.zip
LUAI_FUNC is being used only in header files
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 348781c0..680c0ac2 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 2.179 2014/03/21 13:52:33 roberto Exp roberto $ 2** $Id: lgc.c,v 2.180 2014/04/01 14:06:59 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -172,7 +172,7 @@ void luaC_barrierback_ (lua_State *L, GCObject *o) {
172** closures pointing to it. So, we assume that the object being assigned 172** closures pointing to it. So, we assume that the object being assigned
173** must be marked. 173** must be marked.
174*/ 174*/
175LUAI_FUNC void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) { 175void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) {
176 global_State *g = G(L); 176 global_State *g = G(L);
177 GCObject *o = gcvalue(uv->v); 177 GCObject *o = gcvalue(uv->v);
178 lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */ 178 lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */