Method: Ctp::CThostFtdcOrderField#SuspendTime

Defined in:
ext/ctp/ctp.cxx

#SuspendTime(*args) ⇒ Object



36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
# File 'ext/ctp/ctp.cxx', line 36594

SWIGINTERN VALUE
_wrap_CThostFtdcOrderField_SuspendTime_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcOrderField *arg1 = (CThostFtdcOrderField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *result = 0 ;
  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_CThostFtdcOrderField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOrderField *","SuspendTime", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcOrderField * >(argp1);
  result = (char *) ((arg1)->SuspendTime);
  {
    size_t size = SWIG_strnlen(result, 9);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}