From 4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 3 Jun 2011 10:40:04 +0200 Subject: Add lua_rawgeti wrapper to luamm --- src/FbTk/Luamm.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FbTk/Luamm.hh b/src/FbTk/Luamm.hh index ca012c3..218eea9 100644 --- a/src/FbTk/Luamm.hh +++ b/src/FbTk/Luamm.hh @@ -233,6 +233,7 @@ namespace lua { void rawgetfield(int index, const char *k) throw(std::bad_alloc); void rawset(int index) { lua_rawset(cobj, index); } void rawsetfield(int index, const char *k) throw(std::bad_alloc); + void rawseti(int index, int n) { lua_rawseti(cobj, index, n); } int ref(int t) { return luaL_ref(cobj, t); } // len recieves length, if not null. Returned value may contain '\0' const char* tocstring(int index, size_t *len = NULL) { return lua_tolstring(cobj, index, len); } -- cgit v0.11.2