diff options
author | David Walter Seikel | 2014-05-16 18:56:44 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-16 18:56:44 +1000 |
commit | dbf4b2b338273b037d28234ed9bc025af8bb565e (patch) | |
tree | ab6df20a0194b7af597b1098d55ea96735f2b5e5 /src/GuiLua/GuiLua.c | |
parent | Bring back the dangerous push_lua() calls. Trying to debug this. (diff) | |
download | SledjHamr-dbf4b2b338273b037d28234ed9bc025af8bb565e.zip SledjHamr-dbf4b2b338273b037d28234ed9bc025af8bb565e.tar.gz SledjHamr-dbf4b2b338273b037d28234ed9bc025af8bb565e.tar.bz2 SledjHamr-dbf4b2b338273b037d28234ed9bc025af8bb565e.tar.xz |
Stick the connection to the love server in the GuiLua structure, and related tweakage.
Diffstat (limited to 'src/GuiLua/GuiLua.c')
-rw-r--r-- | src/GuiLua/GuiLua.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 65e0d79..f2de1ea 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -429,7 +429,7 @@ GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world) | |||
429 | return result; | 429 | return result; |
430 | } | 430 | } |
431 | 431 | ||
432 | GuiLua *GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world) | 432 | GuiLua *GuiLuaLoad(char *module, winFang *parent, Ecore_Con_Server *server, EPhysics_World *world) |
433 | { | 433 | { |
434 | GuiLua *result; | 434 | GuiLua *result; |
435 | char *args[] = {"GuiLUa", "-l", ""}; | 435 | char *args[] = {"GuiLUa", "-l", ""}; |
@@ -437,6 +437,7 @@ GuiLua *GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world) | |||
437 | args[2] = module; | 437 | args[2] = module; |
438 | result = GuiLuaDo(3, args, parent, world); | 438 | result = GuiLuaDo(3, args, parent, world); |
439 | result->name = module; | 439 | result->name = module; |
440 | result->server = server; | ||
440 | return result; | 441 | return result; |
441 | } | 442 | } |
442 | 443 | ||