166600
166601
166602
166603
166604
166605
166606
166607
166608
166609
166610
166611
166612
166613
166614
166615
166616
166617
166618
166619
166620
166621
166622
166623
166624
166625
166626
166627
|
# File 'ext/ctp/ctp.cxx', line 166600
SWIGINTERN VALUE
_wrap_CThostFtdcReturnResultField_ReturnCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReturnResultField *arg1 = (CThostFtdcReturnResultField *) 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_CThostFtdcReturnResultField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReturnResultField *","ReturnCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReturnResultField * >(argp1);
result = (char *) ((arg1)->ReturnCode);
{
size_t size = SWIG_strnlen(result, 7);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|