@@ -59,7 +59,7 @@ var i$ffiWrap = function(fid,oldbase,myoldbase) {
60 var res = fid;
60 var res = fid;
62− for(var i = 0; i < arguments.length; ++i) {
62+ for(var i = 0; i < (arguments.length ? arguments.length : 1); ++i) {
63 while (res instanceof i$CON) {
63 while (res instanceof i$CON) {
64 i$valstack_top += 1;
64 i$valstack_top += 1;
65 i$valstack[i$valstack_top] = res;
65 i$valstack[i$valstack_top] = res;