diff options
author | David Walter Seikel | 2014-04-17 00:16:52 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-17 00:16:52 +1000 |
commit | 80a2f0045962189f7c4609a24894025c09647006 (patch) | |
tree | 93202fb495d083abfbb8c7cdf18da9d23c56df63 /ClientHamr/GuiLua | |
parent | Make C calling Lua easier with wrapper functions, lifted from edje_lua2, and ... (diff) | |
download | SledjHamr-80a2f0045962189f7c4609a24894025c09647006.zip SledjHamr-80a2f0045962189f7c4609a24894025c09647006.tar.gz SledjHamr-80a2f0045962189f7c4609a24894025c09647006.tar.bz2 SledjHamr-80a2f0045962189f7c4609a24894025c09647006.tar.xz |
Comment fix ups.
Diffstat (limited to 'ClientHamr/GuiLua')
-rw-r--r-- | ClientHamr/GuiLua/GuiLua.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/GuiLua.c b/ClientHamr/GuiLua/GuiLua.c index e26ce36..252ebb1 100644 --- a/ClientHamr/GuiLua/GuiLua.c +++ b/ClientHamr/GuiLua/GuiLua.c | |||
@@ -614,12 +614,11 @@ int luaopen_widget(lua_State *L) | |||
614 | push_lua(L, "@ ( @ $ $ & )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "loopWindow", "Run our windows main loop.", loopWindow, 0); | 614 | push_lua(L, "@ ( @ $ $ & )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "loopWindow", "Run our windows main loop.", loopWindow, 0); |
615 | push_lua(L, "@ ( @ $ $ & )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "closeWindow", "Closes our window.", closeWindow, 0); | 615 | push_lua(L, "@ ( @ $ $ & )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "closeWindow", "Closes our window.", closeWindow, 0); |
616 | 616 | ||
617 | // skang.thingasm{_M, 'cfooble,c', 'cfooble help text', 1, widget=\"'edit', 'The cfooble:', 1, 1, 10, 50\", required=true} | 617 | // A test of the array building stuff. |
618 | push_lua(L, "@ ( { @ $ $ % $widget !required } )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "wibble", "It's wibbly!", 1, "'edit', 'The wibblinator:', 1, 1, 10, 50", 1, 0); | 618 | push_lua(L, "@ ( { @ $ $ % $widget !required } )", skang, "thingasm", LUA_REGISTRYINDEX, ourName, "wibble", "It's wibbly!", 1, "'edit', 'The wibblinator:', 1, 1, 10, 50", 1, 0); |
619 | 619 | ||
620 | lua_pop(L, openWindow(L)); | 620 | lua_pop(L, openWindow(L)); |
621 | 621 | ||
622 | // skang.moduleEnd(_M) | ||
623 | push_lua(L, "@ ( @ )", skang, "moduleEnd", LUA_REGISTRYINDEX, ourName, 0); | 622 | push_lua(L, "@ ( @ )", skang, "moduleEnd", LUA_REGISTRYINDEX, ourName, 0); |
624 | 623 | ||
625 | return 1; | 624 | return 1; |