From fc8941e94125b4e1f599caac80e44973d92a1716 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 8 Apr 2014 01:50:58 +1000 Subject: Notes about why a combined skang library / app probably wont work, and what we could do about that. --- ClientHamr/GuiLua/test_c.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ClientHamr/GuiLua') 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 @@ /* Should be a Lua skang module, roughly the same as test.lua -TODO - see if this still works if it's an app instead of a library. - +TODO - See if this still works if it's an app instead of a library. + I think the problem will be duplicate Lua library names. + 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. + Much hilarity ensues. + Not to mention linker flags being different. + + Plan B - + Widget skang module runs the window app, and sends stuff to it. Seems to be several problems with linking in various OSes, here's some possibly helpful links - -- cgit v1.1