//-*-c++-*- // Template for a variable arguments function call bool ok = false; switch(argc) { !calls! default: ok = false; break; } if ( !ok ) { rb_raise(rb_eArgError, "Mantatory parameters missing"); return Qnil; }