From c61df1e41984efa46fe1e6acd88509390472c97f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 28 Mar 2014 22:19:04 +1000 Subject: More random notes. --- ClientHamr/GuiLua/test_c.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ClientHamr/GuiLua/test_c.c') diff --git a/ClientHamr/GuiLua/test_c.c b/ClientHamr/GuiLua/test_c.c index e3fd801..e8c2bfd 100644 --- a/ClientHamr/GuiLua/test_c.c +++ b/ClientHamr/GuiLua/test_c.c @@ -114,6 +114,9 @@ int luaopen_test_c(lua_State *L) // Save this module in the C registry. lua_setfield(L, LUA_REGISTRYINDEX, ourName); +// TODO - This is too verbose. I've had an idea for writing some sort of generic wrapper, though others have done the same. +// http://www.lua.org/pil/25.3.html seems the most reasonable of the examples I've found. + // skang.thing('cfooble,c', 'Help text goes here', 1, 'number', \"'edit', 'The fooble:', 1, 1, 10, 50\", true) lua_getfield(L, skang, "thing"); lua_pushstring(L, "cfooble,c"); -- cgit v1.1