109773
109774
109775
109776
109777
109778
109779
109780
109781
109782
109783
109784
109785
109786
109787
109788
109789
109790
109791
109792
109793
109794
|
# File 'ext/ctp/ctp.cxx', line 109773
SWIGINTERN VALUE
_wrap_CThostFtdcSyncStatusField_DataSyncStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcSyncStatusField *arg1 = (CThostFtdcSyncStatusField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcDataSyncStatusType result;
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_CThostFtdcSyncStatusField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcSyncStatusField *","DataSyncStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcSyncStatusField * >(argp1);
result = (TThostFtdcDataSyncStatusType) ((arg1)->DataSyncStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|