aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-03-31 15:37:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-03-31 15:37:52 -0300
commitea69f17d989784f75433eb69de0ad2dbe6c7195a (patch)
tree472bda50125b58eeba88c09fbea415f2f7ba67c8 /lvm.h
parent420cc62facc5b49d0aebfb9be7ddfe911d77ff97 (diff)
downloadlua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.tar.gz
lua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.tar.bz2
lua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.zip
macro 'tostring' is used only by 'luaV_concat'
Diffstat (limited to 'lvm.h')
-rw-r--r--lvm.h4
1 files changed, 1 insertions, 3 deletions
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