3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
|
# File 'ext/cbc-wrapper/cbc_wrap.c', line 3271
SWIGINTERN VALUE
_wrap_Cbc_getObjSense(int argc, VALUE *argv, VALUE self) {
Cbc_Model *arg1 = (Cbc_Model *) 0 ;
int res1 ;
double 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_getObjSense", 1, argv[0] ));
}
result = (double)Cbc_getObjSense(arg1);
vresult = SWIG_From_double((double)(result));
return vresult;
fail:
return Qnil;
}
|