110311
110312
110313
110314
110315
110316
110317
110318
110319
110320
110321
110322
110323
110324
110325
110326
110327
110328
110329
110330
110331
110332
110333
110334
110335
110336
110337
110338
|
# File 'ext/ctp/ctp.cxx', line 110311
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (char *) ((arg1)->PersonName);
{
size_t size = SWIG_strnlen(result, 81);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|