From 5018f9e7673f533bbe3240c2ecce703b47d76a73 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 28 Mar 2014 15:44:43 +1000 Subject: Make test_c a real skang module, and tweaks to the rest of the system to support C skang modules. --- ClientHamr/GuiLua/test.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ClientHamr/GuiLua/test.lua') diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua index 3c2e9ab..d566354 100644 --- a/ClientHamr/GuiLua/test.lua +++ b/ClientHamr/GuiLua/test.lua @@ -49,10 +49,11 @@ local skang = require 'skang' local test = require 'test' local test_c = require 'test_c' -print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) +print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) +print('cfunc ->> ' .. skang.things.cfunc.help) test.ffunc('one', 2) -test_c.ffunc(0, 'zero') +test_c.cfunc(0, 'zero') --skang.things.ffunc('seven', 'aight') print('') -- cgit v1.1