Method: Ctp::CThostFtdcFutureSignIOField#OperNo

Defined in:
ext/ctp/ctp.cxx

#OperNo(*args) ⇒ Object



158334
158335
158336
158337
158338
158339
158340
158341
158342
158343
158344
158345
158346
158347
158348
158349
158350
158351
158352
158353
158354
158355
158356
158357
158358
158359
158360
158361
# File 'ext/ctp/ctp.cxx', line 158334

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