aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'ClientHamr/GuiLua/test_c.c')
-rw-r--r--ClientHamr/GuiLua/test_c.c3
1 files changed, 3 insertions, 0 deletions
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)
114 // Save this module in the C registry. 114 // Save this module in the C registry.
115 lua_setfield(L, LUA_REGISTRYINDEX, ourName); 115 lua_setfield(L, LUA_REGISTRYINDEX, ourName);
116 116
117// TODO - This is too verbose. I've had an idea for writing some sort of generic wrapper, though others have done the same.
118// http://www.lua.org/pil/25.3.html seems the most reasonable of the examples I've found.
119
117// skang.thing('cfooble,c', 'Help text goes here', 1, 'number', \"'edit', 'The fooble:', 1, 1, 10, 50\", true) 120// skang.thing('cfooble,c', 'Help text goes here', 1, 'number', \"'edit', 'The fooble:', 1, 1, 10, 50\", true)
118 lua_getfield(L, skang, "thing"); 121 lua_getfield(L, skang, "thing");
119 lua_pushstring(L, "cfooble,c"); 122 lua_pushstring(L, "cfooble,c");