Method: Ctp::CThostFtdcQryBrokerUserEventField#UserID

Defined in:
ext/ctp/ctp.cxx

#UserID(*args) ⇒ Object



110823
110824
110825
110826
110827
110828
110829
110830
110831
110832
110833
110834
110835
110836
110837
110838
110839
110840
110841
110842
110843
110844
110845
110846
110847
110848
110849
110850
# File 'ext/ctp/ctp.cxx', line 110823

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