summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 0a7324a8..14f6feb3 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.175 2001/03/07 18:09:25 roberto Exp roberto $ 2** $Id: lvm.c,v 1.176 2001/03/07 18:16:22 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*/
@@ -10,6 +10,7 @@
10#include <stdlib.h> 10#include <stdlib.h>
11#include <string.h> 11#include <string.h>
12 12
13#define LUA_PRIVATE
13#include "lua.h" 14#include "lua.h"
14 15
15#include "lapi.h" 16#include "lapi.h"
@@ -39,7 +40,7 @@ int luaV_tonumber (TObject *obj) {
39} 40}
40 41
41 42
42int luaV_tostring (lua_State *L, TObject *obj) { /* LUA_NUMBER */ 43int luaV_tostring (lua_State *L, TObject *obj) {
43 if (ttype(obj) != LUA_TNUMBER) 44 if (ttype(obj) != LUA_TNUMBER)
44 return 1; 45 return 1;
45 else { 46 else {