147412
147413
147414
147415
147416
147417
147418
147419
147420
147421
147422
147423
147424
147425
147426
147427
147428
147429
147430
147431
147432
147433
147434
147435
147436
147437
147438
147439
|
# File 'ext/ctp/ctp.cxx', line 147412
SWIGINTERN VALUE
_wrap_CThostFtdcReqRepealField_BankRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcReqRepealField *arg1 = (CThostFtdcReqRepealField *) 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_CThostFtdcReqRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcReqRepealField *","BankRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcReqRepealField * >(argp1);
result = (char *) ((arg1)->BankRepealSerial);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|