15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
|
# File 'ext/ctp/ctp.cxx', line 15396
SWIGINTERN VALUE
_wrap_CThostFtdcInvestorField_Address_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcInvestorField *arg1 = (CThostFtdcInvestorField *) 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_CThostFtdcInvestorField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcInvestorField *","Address", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcInvestorField * >(argp1);
result = (char *) ((arg1)->Address);
{
size_t size = SWIG_strnlen(result, 101);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|