Method: Ctp::CThostFtdcQuoteField#InsertTime

Defined in:
ext/ctp/ctp.cxx

#InsertTime(*args) ⇒ Object



85822
85823
85824
85825
85826
85827
85828
85829
85830
85831
85832
85833
85834
85835
85836
85837
85838
85839
85840
85841
85842
85843
85844
85845
85846
85847
85848
85849
# File 'ext/ctp/ctp.cxx', line 85822

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