diff options
author | David Walter Seikel | 2014-03-28 15:44:43 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-28 15:44:43 +1000 |
commit | 5018f9e7673f533bbe3240c2ecce703b47d76a73 (patch) | |
tree | c9cfa3b06f3a830d2819ee42ccd50f7a6378f343 /ClientHamr/GuiLua/test.lua | |
parent | TODO++ (diff) | |
download | SledjHamr-5018f9e7673f533bbe3240c2ecce703b47d76a73.zip SledjHamr-5018f9e7673f533bbe3240c2ecce703b47d76a73.tar.gz SledjHamr-5018f9e7673f533bbe3240c2ecce703b47d76a73.tar.bz2 SledjHamr-5018f9e7673f533bbe3240c2ecce703b47d76a73.tar.xz |
Make test_c a real skang module, and tweaks to the rest of the system to support C skang modules.
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 5 |
1 files changed, 3 insertions, 2 deletions
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' | |||
49 | local test = require 'test' | 49 | local test = require 'test' |
50 | local test_c = require 'test_c' | 50 | local test_c = require 'test_c' |
51 | 51 | ||
52 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | ||
53 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) | 52 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) |
53 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | ||
54 | print('cfunc ->> ' .. skang.things.cfunc.help) | ||
54 | test.ffunc('one', 2) | 55 | test.ffunc('one', 2) |
55 | test_c.ffunc(0, 'zero') | 56 | test_c.cfunc(0, 'zero') |
56 | --skang.things.ffunc('seven', 'aight') | 57 | --skang.things.ffunc('seven', 'aight') |
57 | print('') | 58 | print('') |
58 | 59 | ||