47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
|
# File 'ext/ctp/ctp.cxx', line 47499
SWIGINTERN VALUE
_wrap_CThostFtdcUserSessionField_LoginTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcUserSessionField *arg1 = (CThostFtdcUserSessionField *) 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_CThostFtdcUserSessionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcUserSessionField *","LoginTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcUserSessionField * >(argp1);
result = (char *) ((arg1)->LoginTime);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|