Method: Ctp::CThostFtdcExchangeExecOrderField#OffsetFlag

Defined in:
ext/ctp/ctp.cxx

#OffsetFlag(*args) ⇒ Object



73662
73663
73664
73665
73666
73667
73668
73669
73670
73671
73672
73673
73674
73675
73676
73677
73678
73679
73680
73681
73682
73683
# File 'ext/ctp/ctp.cxx', line 73662

SWIGINTERN VALUE
_wrap_CThostFtdcExchangeExecOrderField_OffsetFlag_get(int argc, VALUE *argv, VALUE self) {
  CThostFtdcExchangeExecOrderField *arg1 = (CThostFtdcExchangeExecOrderField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  TThostFtdcOffsetFlagType 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_CThostFtdcExchangeExecOrderField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeExecOrderField *","OffsetFlag", 1, self )); 
  }
  arg1 = reinterpret_cast< CThostFtdcExchangeExecOrderField * >(argp1);
  result = (TThostFtdcOffsetFlagType) ((arg1)->OffsetFlag);
  vresult = SWIG_From_char(static_cast< char >(result));
  return vresult;
fail:
  return Qnil;
}