Method: Ctp::CThostFtdcEWarrantOffsetField#InvestorID

Defined in:
ext/ctp/ctp.cxx

#InvestorID(*args) ⇒ Object



131662
131663
131664
131665
131666
131667
131668
131669
131670
131671
131672
131673
131674
131675
131676
131677
131678
131679
131680
131681
131682
131683
131684
131685
131686
131687
131688
131689
# File 'ext/ctp/ctp.cxx', line 131662

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