23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
|
# File 'ext/ctp/ctp.cxx', line 23623
SWIGINTERN VALUE
_wrap_CThostFtdcDepthMarketDataField_LowestPrice_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcDepthMarketDataField *arg1 = (CThostFtdcDepthMarketDataField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPriceType 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_CThostFtdcDepthMarketDataField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcDepthMarketDataField *","LowestPrice", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcDepthMarketDataField * >(argp1);
result = (TThostFtdcPriceType) ((arg1)->LowestPrice);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|