From 8e06e56e16183c18b01bf6941fde8c35b5562655 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 18 Apr 2014 00:37:17 +1000 Subject: Merge the widget module into the skang module, and some related clean ups. So now the skang module is a mix of C and Lua. --- ClientHamr/GuiLua/skang.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ClientHamr/GuiLua/skang.lua') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 1357b69..88bd6fb 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -977,6 +977,12 @@ set = function (stuff, key, name, value) end end + +-- Get our C functions installed into skang. +-- This has to be after thingasm is defined. +local GuiLua = require 'libGuiLua' + + thingasm('module,l', 'Load a module.', module, 'file') thingasm('get', 'Get the current value of an existing Thing or metadata.', get, 'thing,key,name') thingasm('reset', 'Reset the current value of an existing Thing or metadata.', reset, 'thing,key,name') -- cgit v1.1