Method: Ctp::CThostFtdcQrySuperUserFunctionField#UserID

Defined in:
ext/ctp/ctp.cxx

#UserID(*args) ⇒ Object



60223
60224
60225
60226
60227
60228
60229
60230
60231
60232
60233
60234
60235
60236
60237
60238
60239
60240
60241
60242
60243
60244
60245
60246
60247
60248
60249
60250
# File 'ext/ctp/ctp.cxx', line 60223

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