89784
89785
89786
89787
89788
89789
89790
89791
89792
89793
89794
89795
89796
89797
89798
89799
89800
89801
89802
89803
89804
89805
89806
89807
89808
89809
89810
89811
|
# File 'ext/ctp/ctp.cxx', line 89784
SWIGINTERN VALUE
_wrap_CThostFtdcExchangeQuoteField_QuoteSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcExchangeQuoteField *arg1 = (CThostFtdcExchangeQuoteField *) 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_CThostFtdcExchangeQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcExchangeQuoteField *","QuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcExchangeQuoteField * >(argp1);
result = (char *) ((arg1)->QuoteSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|