summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lvm.c4
-rw-r--r--lvm.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lvm.c b/lvm.c
index 50d81fa4..c536f74c 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.189 2014/03/14 16:54:08 roberto Exp roberto $ 2** $Id: lvm.c,v 2.190 2014/03/15 12:29:48 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -257,6 +257,8 @@ int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) {
257} 257}
258 258
259 259
260#define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
261
260void luaV_concat (lua_State *L, int total) { 262void luaV_concat (lua_State *L, int total) {
261 lua_assert(total >= 2); 263 lua_assert(total >= 2);
262 do { 264 do {
diff --git a/lvm.h b/lvm.h
index bb35d633..ffda5fb2 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 2.24 2013/12/16 14:30:22 roberto Exp roberto $ 2** $Id: lvm.h,v 2.25 2013/12/30 20:47:58 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -13,8 +13,6 @@
13#include "ltm.h" 13#include "ltm.h"
14 14
15 15
16#define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
17
18#define tonumber(o,n) \ 16#define tonumber(o,n) \
19 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n)) 17 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
20 18