Method: Ctp::CThostFtdcDiscountField#initialize

Defined in:
ext/ctp/ctp.cxx

#initialize(*args) ⇒ Object



103150
103151
103152
103153
103154
103155
103156
103157
103158
103159
103160
103161
103162
103163
# File 'ext/ctp/ctp.cxx', line 103150

SWIGINTERN VALUE
_wrap_new_CThostFtdcDiscountField(int argc, VALUE *argv, VALUE self) {
  const char *classname SWIGUNUSED = "Ctp::CThostFtdcDiscountField";
  CThostFtdcDiscountField *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (CThostFtdcDiscountField *)new CThostFtdcDiscountField();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}