From 4f788029394d84a839a72c24b637ba557514f2c7 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 19 Mar 2014 21:44:04 +1000 Subject: "Simplify" test.c. B-) --- ClientHamr/GuiLua/test.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'ClientHamr/GuiLua/test.c') diff --git a/ClientHamr/GuiLua/test.c b/ClientHamr/GuiLua/test.c index 2aa2a8d..4427724 100644 --- a/ClientHamr/GuiLua/test.c +++ b/ClientHamr/GuiLua/test.c @@ -1,20 +1,4 @@ -/* Should be a Lua module, roughly the same as - - -local skang = require('skang') -local result = {}; -result.author = 'onefang' -result.version = '0.72 alpha 2004-11-19 16:28:00' -local bar --- The first argument would be the name of a local variable / method. Which could be accessed via _G? --- Not sure if we could use a global bar, AND use it directly. -result.bar = skang.newParam('bar', "Required", "Shortcut", "Default", "Help text") -result.func = skang.newCommand('number,data', 'Help Text', function (arg1, arg2) --- do something here -end) - --- do something here - -return result; +/* Should be a Lua module, roughly the same as test.lua */ @@ -35,4 +19,4 @@ hyphen and the bit before it. Though it seems that chapter 26 is not in the same place? -*/ \ No newline at end of file +*/ -- cgit v1.1