126507
126508
126509
126510
126511
126512
126513
126514
126515
126516
126517
126518
126519
126520
126521
126522
126523
126524
126525
126526
126527
126528
|
# File 'ext/ctp/ctp.cxx', line 126507
SWIGINTERN VALUE
_wrap_CThostFtdcQueryMaxOrderVolumeWithPriceField_OffsetFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQueryMaxOrderVolumeWithPriceField *arg1 = (CThostFtdcQueryMaxOrderVolumeWithPriceField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcOffsetFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQueryMaxOrderVolumeWithPriceField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQueryMaxOrderVolumeWithPriceField *","OffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQueryMaxOrderVolumeWithPriceField * >(argp1);
result = (TThostFtdcOffsetFlagType) ((arg1)->OffsetFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|