aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/test_c.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-20 23:34:25 +1000
committerDavid Walter Seikel2014-05-20 23:34:25 +1000
commit909fd6e2c4369020707782e20656069fbb3030d1 (patch)
tree15590f94950be42916fff1b3ba00124bce157751 /src/GuiLua/test_c.c
parentThe results of a session with valgrind. (diff)
downloadSledjHamr-909fd6e2c4369020707782e20656069fbb3030d1.zip
SledjHamr-909fd6e2c4369020707782e20656069fbb3030d1.tar.gz
SledjHamr-909fd6e2c4369020707782e20656069fbb3030d1.tar.bz2
SledjHamr-909fd6e2c4369020707782e20656069fbb3030d1.tar.xz
Found a way to deal with the PACKAGE_* stuff outside of Elm. It's undocumented.
Diffstat (limited to '')
-rw-r--r--src/GuiLua/test_c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GuiLua/test_c.c b/src/GuiLua/test_c.c
index e85814b..ed680b0 100644
--- a/src/GuiLua/test_c.c
+++ b/src/GuiLua/test_c.c
@@ -10,7 +10,6 @@ http://lua-users.org/lists/lua-l/2008-01/msg00671.html
10*/ 10*/
11 11
12 12
13//#include "LumbrJack.h"
14#include "Runnr.h" 13#include "Runnr.h"
15#include "GuiLua.h" 14#include "GuiLua.h"
16 15
@@ -23,7 +22,7 @@ static int cfunc (lua_State *L)
23 double arg1 = luaL_checknumber(L, 1); 22 double arg1 = luaL_checknumber(L, 1);
24 const char *arg2 = luaL_checkstring(L, 2); 23 const char *arg2 = luaL_checkstring(L, 2);
25 24
26 printf("Inside %s.cfunc(%f, %s)\n", ourName, arg1, arg2); 25 PI("Inside %s.cfunc(%f, %s)\n", ourName, arg1, arg2);
27 return 0; 26 return 0;
28} 27}
29 28