diff options
author | David Walter Seikel | 2014-04-08 01:50:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-08 01:50:58 +1000 |
commit | fc8941e94125b4e1f599caac80e44973d92a1716 (patch) | |
tree | 55ca6a258d6ea5bef44857ddd8039c86364b98b5 | |
parent | Comment out the currently unused dumpStack(). (diff) | |
download | SledjHamr-fc8941e94125b4e1f599caac80e44973d92a1716.zip SledjHamr-fc8941e94125b4e1f599caac80e44973d92a1716.tar.gz SledjHamr-fc8941e94125b4e1f599caac80e44973d92a1716.tar.bz2 SledjHamr-fc8941e94125b4e1f599caac80e44973d92a1716.tar.xz |
Notes about why a combined skang library / app probably wont work, and what we could do about that.
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/test_c.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/test_c.c b/ClientHamr/GuiLua/test_c.c index eb06416..c090ed9 100644 --- a/ClientHamr/GuiLua/test_c.c +++ b/ClientHamr/GuiLua/test_c.c | |||
@@ -1,7 +1,13 @@ | |||
1 | /* Should be a Lua skang module, roughly the same as test.lua | 1 | /* Should be a Lua skang module, roughly the same as test.lua |
2 | 2 | ||
3 | TODO - see if this still works if it's an app instead of a library. | 3 | TODO - See if this still works if it's an app instead of a library. |
4 | 4 | I think the problem will be duplicate Lua library names. | |
5 | The C app will be linked to one copy, the lua executable that require() this is linked to another, even if it's the same one. | ||
6 | Much hilarity ensues. | ||
7 | Not to mention linker flags being different. | ||
8 | |||
9 | Plan B - | ||
10 | Widget skang module runs the window app, and sends stuff to it. | ||
5 | 11 | ||
6 | Seems to be several problems with linking in various OSes, here's some | 12 | Seems to be several problems with linking in various OSes, here's some |
7 | possibly helpful links - | 13 | possibly helpful links - |