4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
|
# File 'ext/cbc-wrapper/cbc_wrap.c', line 4337
SWIGINTERN VALUE
_wrap_Cbc_secondaryStatus(int argc, VALUE *argv, VALUE self) {
Cbc_Model *arg1 = (Cbc_Model *) 0 ;
int res1 ;
int result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg1), 0, 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Cbc_Model *","Cbc_secondaryStatus", 1, argv[0] ));
}
result = (int)Cbc_secondaryStatus(arg1);
vresult = SWIG_From_int((int)(result));
return vresult;
fail:
return Qnil;
}
|