MRI-Binding: Optimize RB_ARG_END vaarg guard
It's enough to check this only in debug mode. Make this an empty define in release mode.
This commit is contained in:
parent
d7ceff91a2
commit
c504a383ba
16 changed files with 61 additions and 52 deletions
|
@ -30,7 +30,7 @@ RB_METHOD(tableInitialize)
|
|||
int x, y, z;
|
||||
x = y = z = 1;
|
||||
|
||||
rb_get_args(argc, argv, "i|ii", &x, &y, &z, RB_ARG_END);
|
||||
rb_get_args(argc, argv, "i|ii", &x, &y, &z RB_ARG_END);
|
||||
|
||||
Table *t = new Table(x, y, z);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue