19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
|
# File 'ext/ctp/ctp.cxx', line 19235
SWIGINTERN VALUE
_wrap_CThostFtdcTradingAccountField_SpecProductFrozenCommission_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcTradingAccountField *arg1 = (CThostFtdcTradingAccountField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcMoneyType 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_CThostFtdcTradingAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcTradingAccountField *","SpecProductFrozenCommission", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcTradingAccountField * >(argp1);
result = (TThostFtdcMoneyType) ((arg1)->SpecProductFrozenCommission);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|