Method: Ctp::CThostFtdcForQuoteField#StatusMsg

Defined in:
ext/ctp/ctp.cxx

#StatusMsg(*args) ⇒ Object



80878
80879
80880
80881
80882
80883
80884
80885
80886
80887
80888
80889
80890
80891
80892
80893
80894
80895
80896
80897
80898
80899
80900
80901
80902
80903
80904
80905
# File 'ext/ctp/ctp.cxx', line 80878

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