Method: Ctp::CThostFtdcRspTransferField#TransferStatus

Defined in:
ext/ctp/ctp.cxx

#TransferStatus(*args) ⇒ Object



146941
146942
146943
146944
146945
146946
146947
146948
146949
146950
146951
146952
146953
146954
146955
146956
146957
146958
146959
146960
146961
146962
# File 'ext/ctp/ctp.cxx', line 146941

SWIGINTERN VALUE
_wrap_CThostFtdcRspTransferField_TransferStatus_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcRspTransferField *arg1 = (CThostFtdcRspTransferField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcTransferStatusType 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_CThostFtdcRspTransferField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspTransferField *","TransferStatus", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcRspTransferField * >(argp1);
  result = (TThostFtdcTransferStatusType) ((arg1)->TransferStatus);
  vresult = SWIG_From_char(static_cast< char >(result));
  return vresult;
fail:
  return Qnil;
}