Spacing
This commit is contained in:
parent
7a1dd2588d
commit
1bacceddf0
11 changed files with 34 additions and 1 deletions
|
@ -256,6 +256,7 @@ static void runRMXPScripts()
|
|||
i, RSTRING_PTR(scriptName));
|
||||
|
||||
showMsg(buffer);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ rb_get_args(int argc, VALUE *argv, const char *format, ...)
|
|||
// FIXME print num of needed args vs provided
|
||||
if (argc <= argI && !opt)
|
||||
rb_raise(rb_eArgError, "wrong number of arguments");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -135,6 +136,7 @@ rb_get_args(int argc, VALUE *argv, const char *format, ...)
|
|||
|
||||
*obj = *arg++;
|
||||
++argI;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -151,6 +153,7 @@ rb_get_args(int argc, VALUE *argv, const char *format, ...)
|
|||
|
||||
*str = tmp;
|
||||
++argI;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -170,6 +173,7 @@ rb_get_args(int argc, VALUE *argv, const char *format, ...)
|
|||
*s = RSTRING_PTR(tmp);
|
||||
*len = RSTRING_LEN(tmp);
|
||||
++argI;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -187,6 +191,7 @@ rb_get_args(int argc, VALUE *argv, const char *format, ...)
|
|||
|
||||
*s = RSTRING_PTR(tmp);
|
||||
++argI;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -119,17 +119,20 @@ RB_METHOD(tableSetAt)
|
|||
case 2 :
|
||||
x = rb_fix2int(argv[0]);
|
||||
value = rb_fix2int(argv[1]);
|
||||
|
||||
break;
|
||||
case 3 :
|
||||
x = rb_fix2int(argv[0]);
|
||||
y = rb_fix2int(argv[1]);
|
||||
value = rb_fix2int(argv[2]);
|
||||
|
||||
break;
|
||||
case 4 :
|
||||
x = rb_fix2int(argv[0]);
|
||||
y = rb_fix2int(argv[1]);
|
||||
z = rb_fix2int(argv[2]);
|
||||
value = rb_fix2int(argv[3]);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue