commit f61ceee70822259725a335ccaaa323416296a6c1
parent 5aeb57f11f2499050907d2ce1d27f66006e226c4
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 2 Apr 2014 13:44:17 -0300
LUAI_FUNC is being used only in header files
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lcode.c b/lcode.c
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.c,v 2.85 2014/03/21 13:52:33 roberto Exp roberto $
+** $Id: lcode.c,v 2.86 2014/04/01 14:39:55 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -195,7 +195,7 @@ void luaK_patchlist (FuncState *fs, int list, int target) {
}
-LUAI_FUNC void luaK_patchclose (FuncState *fs, int list, int level) {
+void luaK_patchclose (FuncState *fs, int list, int level) {
level++; /* argument is +1 to reserve 0 as non-op */
while (list != NO_JUMP) {
int next = getjump(fs, list);
diff --git a/lgc.c b/lgc.c
@@ -1,5 +1,5 @@
/*
-** $Id: lgc.c,v 2.179 2014/03/21 13:52:33 roberto Exp roberto $
+** $Id: lgc.c,v 2.180 2014/04/01 14:06:59 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -172,7 +172,7 @@ void luaC_barrierback_ (lua_State *L, GCObject *o) {
** closures pointing to it. So, we assume that the object being assigned
** must be marked.
*/
-LUAI_FUNC void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) {
+void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) {
global_State *g = G(L);
GCObject *o = gcvalue(uv->v);
lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */
diff --git a/lstring.c b/lstring.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstring.c,v 2.37 2014/02/19 13:51:09 roberto Exp roberto $
+** $Id: lstring.c,v 2.38 2014/03/19 18:51:42 roberto Exp roberto $
** String table (keeps all strings handled by Lua)
** See Copyright Notice in lua.h
*/
@@ -102,7 +102,7 @@ static TString *createstrobj (lua_State *L, const char *str, size_t l,
}
-LUAI_FUNC void luaS_remove (lua_State *L, TString *ts) {
+void luaS_remove (lua_State *L, TString *ts) {
stringtable *tb = &G(L)->strt;
TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)];
while (*p != ts) /* find previous element */