110882
110883
110884
110885
110886
110887
110888
110889
110890
110891
110892
110893
110894
110895
110896
110897
110898
110899
110900
110901
110902
110903
|
# File 'ext/ctp/ctp.cxx', line 110882
SWIGINTERN VALUE
_wrap_CThostFtdcQryBrokerUserEventField_UserEventType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryBrokerUserEventField *arg1 = (CThostFtdcQryBrokerUserEventField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcUserEventTypeType 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_CThostFtdcQryBrokerUserEventField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryBrokerUserEventField *","UserEventType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryBrokerUserEventField * >(argp1);
result = (TThostFtdcUserEventTypeType) ((arg1)->UserEventType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|