Method: Ctp::CThostFtdcOpenAccountField#ErrorID

Defined in:
ext/ctp/ctp.cxx

#ErrorID(*args) ⇒ Object



183873
183874
183875
183876
183877
183878
183879
183880
183881
183882
183883
183884
183885
183886
183887
183888
183889
183890
183891
183892
183893
183894
# File 'ext/ctp/ctp.cxx', line 183873

SWIGINTERN VALUE
_wrap_CThostFtdcOpenAccountField_ErrorID_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcOpenAccountField *arg1 = (CThostFtdcOpenAccountField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcErrorIDType result;
  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_CThostFtdcOpenAccountField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcOpenAccountField *","ErrorID", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcOpenAccountField * >(argp1);
  result = (TThostFtdcErrorIDType) ((arg1)->ErrorID);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}