mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
macro 'tostring' is used only by 'luaV_concat'
This commit is contained in:
parent
420cc62fac
commit
ea69f17d98
2 changed files with 4 additions and 4 deletions
4
lvm.h
4
lvm.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lvm.h,v 2.24 2013/12/16 14:30:22 roberto Exp roberto $
|
||||
** $Id: lvm.h,v 2.25 2013/12/30 20:47:58 roberto Exp roberto $
|
||||
** Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -13,8 +13,6 @@
|
|||
#include "ltm.h"
|
||||
|
||||
|
||||
#define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
|
||||
|
||||
#define tonumber(o,n) \
|
||||
(ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue