aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-25 01:36:02 +1000
committerDavid Walter Seikel2012-02-25 01:36:02 +1000
commitdb634cda56ca8eca2ddab728d1a95dc9fbd36eba (patch)
treecfd3e4930c4edfa416cd2edacc858a51a6591c62 /LuaSL/src/LuaSL_main.c
parentMoved luaproc into LuaSL, merged it all into it's own file, and replaced the ... (diff)
downloadSledjHamr-db634cda56ca8eca2ddab728d1a95dc9fbd36eba.zip
SledjHamr-db634cda56ca8eca2ddab728d1a95dc9fbd36eba.tar.gz
SledjHamr-db634cda56ca8eca2ddab728d1a95dc9fbd36eba.tar.bz2
SledjHamr-db634cda56ca8eca2ddab728d1a95dc9fbd36eba.tar.xz
Remove a whole bunch of stuff we don't need from our luaproc fork, and rearrange what's left.
Diffstat (limited to 'LuaSL/src/LuaSL_main.c')
-rw-r--r--LuaSL/src/LuaSL_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 582ba95..759995b 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -49,7 +49,7 @@ static void resetScript(script *victim)
49 // TODO - now what? 49 // TODO - now what?
50} 50}
51 51
52static void _sendBack(void * data) 52void scriptSendBack(void * data)
53{ 53{
54 scriptMessage *message = data; 54 scriptMessage *message = data;
55 gameGlobals *game = message->script->game; 55 gameGlobals *game = message->script->game;
@@ -179,7 +179,7 @@ static Eina_Bool _data(void *data, int type __UNUSED__, Ecore_Con_Event_Client_D
179 if (me) 179 if (me)
180 { 180 {
181 sprintf(buf, "%s.lua.out", me->fileName); 181 sprintf(buf, "%s.lua.out", me->fileName);
182 newProc(buf, TRUE, (Ecore_Cb) _sendBack, me); 182 newProc(buf, TRUE, me);
183 } 183 }
184 } 184 }
185 else if (0 == strcmp(command, "exit()")) 185 else if (0 == strcmp(command, "exit()"))