Method: Ctp::CThostFtdcOrderField#UpdateTime

Defined in:
ext/ctp/ctp.cxx

#UpdateTime(*args) ⇒ Object



36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
# File 'ext/ctp/ctp.cxx', line 36654

SWIGINTERN VALUE
_wrap_CThostFtdcOrderField_UpdateTime_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 *","UpdateTime", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcOrderField * >(argp1);
  result = (char *) ((arg1)->UpdateTime);
  {
    size_t size = SWIG_strnlen(result, 9);
    
    
    
    vresult = SWIG_FromCharPtrAndSize(result, size);
  }
  return vresult;
fail:
  return Qnil;
}