opnsense-ports/sysutils/conky/files/patch-src_luamm.hh
Franco Fichtner 3023a4c3e2 */*: sync with upstream
Taken from: FreeBSD
2016-10-04 23:48:54 +02:00

11 lines
715 B
C++

--- 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); }