Method: Ctp::CThostFtdcQryQuoteField#ExchangeID

Defined in:
ext/ctp/ctp.cxx

#ExchangeID(*args) ⇒ Object



88336
88337
88338
88339
88340
88341
88342
88343
88344
88345
88346
88347
88348
88349
88350
88351
88352
88353
88354
88355
88356
88357
88358
88359
88360
88361
88362
88363
# File 'ext/ctp/ctp.cxx', line 88336

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