summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src_luamm.hh
blob: 324ccc9c7244cadcf619908162a129da5f79398d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/luamm.hh.orig	2016-10-04 07:49:19 UTC
+++ src/luamm.hh
@@ -212,7 +212,7 @@ namespace lua {
 		bool islightuserdata(int index) throw() { return lua_islightuserdata(cobj.get(), index); }
 		bool isnil(int index) throw() { return lua_isnil(cobj.get(), index); }
 		bool isnone(int index) throw() { return lua_isnone(cobj.get(), index); }
-		bool isnumber(int index) throw() { return lua_isnumber(cobj.get(), index); }
+		bool isanumber(int index) throw() { return lua_isnumber(cobj.get(), index); }
 		bool isstring(int index) throw() { return lua_isstring(cobj.get(), index); }
 		void pop(int n = 1) throw() { lua_pop(cobj.get(), n); }
 		void pushboolean(bool b) throw() { lua_pushboolean(cobj.get(), b); }