diff options
author | David Walter Seikel | 2014-05-16 18:51:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-16 18:51:58 +1000 |
commit | 3177b3a471f45ab1688c2143f18024f12f468173 (patch) | |
tree | 84ca9ff1ffe5197ec664b54084409e5a130516a7 /src | |
parent | TODO++ (diff) | |
download | SledjHamr-3177b3a471f45ab1688c2143f18024f12f468173.zip SledjHamr-3177b3a471f45ab1688c2143f18024f12f468173.tar.gz SledjHamr-3177b3a471f45ab1688c2143f18024f12f468173.tar.bz2 SledjHamr-3177b3a471f45ab1688c2143f18024f12f468173.tar.xz |
Commented out attempt to debug push_lua(). Still a bit dodgy.
Diffstat (limited to 'src')
-rw-r--r-- | src/libraries/Runnr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libraries/Runnr.c b/src/libraries/Runnr.c index 25357a0..cff402e 100644 --- a/src/libraries/Runnr.c +++ b/src/libraries/Runnr.c | |||
@@ -245,7 +245,9 @@ int push_lua(lua_State *L, char *params, ...) // Stack usage [-0, +n, em] | |||
245 | case '$': | 245 | case '$': |
246 | { | 246 | { |
247 | if (table) q = _push_name(L, q, &i); // Stack usage [-0, +1, m] | 247 | if (table) q = _push_name(L, q, &i); // Stack usage [-0, +1, m] |
248 | lua_pushstring(L, va_arg(vl, char *)); // Stack usage [-0, +1, m] | 248 | char *t = va_arg(vl, char *); |
249 | //printf("push_lua %s string %s\n", p, t); | ||
250 | lua_pushstring(L, t); // Stack usage [-0, +1, m] | ||
249 | break; | 251 | break; |
250 | } | 252 | } |
251 | case '!': | 253 | case '!': |