119819
119820
119821
119822
119823
119824
119825
119826
119827
119828
119829
119830
119831
119832
119833
119834
119835
119836
119837
119838
119839
119840
119841
119842
119843
119844
119845
119846
|
# File 'ext/ctp/ctp.cxx', line 119819
SWIGINTERN VALUE
_wrap_CThostFtdcErrOrderField_CombOffsetFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcErrOrderField *arg1 = (CThostFtdcErrOrderField *) 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_CThostFtdcErrOrderField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcErrOrderField *","CombOffsetFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcErrOrderField * >(argp1);
result = (char *) ((arg1)->CombOffsetFlag);
{
size_t size = SWIG_strnlen(result, 5);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|