seqlua

diff seqlua_c_example.c @ 54:92ce3958aca7

Reverted last two commits
author jbe
date Wed Aug 27 00:10:47 2014 +0200 (2014-08-27)
parents 3362ec36cb09
children
line diff
     1.1 --- a/seqlua_c_example.c	Tue Aug 26 23:53:29 2014 +0200
     1.2 +++ b/seqlua_c_example.c	Wed Aug 27 00:10:47 2014 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4  
     1.5  int seqlua_c_example_printcsv(lua_State *L) {
     1.6    seqlua_Iterator iter;
     1.7 -  seqlua_iterloop(L, &iter, SEQLUA_MODE_CALL, 1) {
     1.8 +  seqlua_iterloop(L, &iter, 1) {
     1.9      if (seqlua_itercount(&iter) > 1) fputs(",", stdout);
    1.10      fputs(luaL_tolstring(L, -1, NULL), stdout);
    1.11      // two values need to be popped (the value pushed by

Impressum / About Us