Class: Ctp::CThostFtdcQryQuoteField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcQryQuoteField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #ExchangeID(*args) ⇒ Object
- #ExchangeID=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InsertTimeEnd(*args) ⇒ Object
- #InsertTimeEnd=(*args) ⇒ Object
- #InsertTimeStart(*args) ⇒ Object
- #InsertTimeStart=(*args) ⇒ Object
- #InstrumentID(*args) ⇒ Object
- #InstrumentID=(*args) ⇒ Object
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
- #QuoteSysID(*args) ⇒ Object
- #QuoteSysID=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
88561 88562 88563 88564 88565 88566 88567 88568 88569 88570 88571 88572 88573 88574 |
# File 'ext/ctp/ctp.cxx', line 88561
SWIGINTERN VALUE
_wrap_new_CThostFtdcQryQuoteField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcQryQuoteField";
CThostFtdcQryQuoteField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcQryQuoteField *)new CThostFtdcQryQuoteField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#BrokerID(*args) ⇒ Object
88156 88157 88158 88159 88160 88161 88162 88163 88164 88165 88166 88167 88168 88169 88170 88171 88172 88173 88174 88175 88176 88177 88178 88179 88180 88181 88182 88183 |
# File 'ext/ctp/ctp.cxx', line 88156
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->BrokerID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerID=(*args) ⇒ Object
88126 88127 88128 88129 88130 88131 88132 88133 88134 88135 88136 88137 88138 88139 88140 88141 88142 88143 88144 88145 88146 88147 88148 88149 88150 88151 88152 88153 |
# File 'ext/ctp/ctp.cxx', line 88126
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[11] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","BrokerID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerID,arg2,11*sizeof(char));
else memset(arg1->BrokerID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ExchangeID(*args) ⇒ Object
88336 88337 88338 88339 88340 88341 88342 88343 88344 88345 88346 88347 88348 88349 88350 88351 88352 88353 88354 88355 88356 88357 88358 88359 88360 88361 88362 88363 |
# File 'ext/ctp/ctp.cxx', line 88336
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_ExchangeID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->ExchangeID);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ExchangeID=(*args) ⇒ Object
88306 88307 88308 88309 88310 88311 88312 88313 88314 88315 88316 88317 88318 88319 88320 88321 88322 88323 88324 88325 88326 88327 88328 88329 88330 88331 88332 88333 |
# File 'ext/ctp/ctp.cxx', line 88306
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_ExchangeID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","ExchangeID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","ExchangeID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ExchangeID,arg2,9*sizeof(char));
else memset(arg1->ExchangeID,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InsertTimeEnd(*args) ⇒ Object
88516 88517 88518 88519 88520 88521 88522 88523 88524 88525 88526 88527 88528 88529 88530 88531 88532 88533 88534 88535 88536 88537 88538 88539 88540 88541 88542 88543 |
# File 'ext/ctp/ctp.cxx', line 88516
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InsertTimeEnd_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InsertTimeEnd", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->InsertTimeEnd);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InsertTimeEnd=(*args) ⇒ Object
88486 88487 88488 88489 88490 88491 88492 88493 88494 88495 88496 88497 88498 88499 88500 88501 88502 88503 88504 88505 88506 88507 88508 88509 88510 88511 88512 88513 |
# File 'ext/ctp/ctp.cxx', line 88486
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InsertTimeEnd_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InsertTimeEnd", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","InsertTimeEnd", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InsertTimeEnd,arg2,9*sizeof(char));
else memset(arg1->InsertTimeEnd,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InsertTimeStart(*args) ⇒ Object
88456 88457 88458 88459 88460 88461 88462 88463 88464 88465 88466 88467 88468 88469 88470 88471 88472 88473 88474 88475 88476 88477 88478 88479 88480 88481 88482 88483 |
# File 'ext/ctp/ctp.cxx', line 88456
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InsertTimeStart_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InsertTimeStart", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->InsertTimeStart);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InsertTimeStart=(*args) ⇒ Object
88426 88427 88428 88429 88430 88431 88432 88433 88434 88435 88436 88437 88438 88439 88440 88441 88442 88443 88444 88445 88446 88447 88448 88449 88450 88451 88452 88453 |
# File 'ext/ctp/ctp.cxx', line 88426
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InsertTimeStart_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InsertTimeStart", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","InsertTimeStart", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InsertTimeStart,arg2,9*sizeof(char));
else memset(arg1->InsertTimeStart,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InstrumentID(*args) ⇒ Object
88276 88277 88278 88279 88280 88281 88282 88283 88284 88285 88286 88287 88288 88289 88290 88291 88292 88293 88294 88295 88296 88297 88298 88299 88300 88301 88302 88303 |
# File 'ext/ctp/ctp.cxx', line 88276
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InstrumentID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InstrumentID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->InstrumentID);
{
size_t size = SWIG_strnlen(result, 31);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InstrumentID=(*args) ⇒ Object
88246 88247 88248 88249 88250 88251 88252 88253 88254 88255 88256 88257 88258 88259 88260 88261 88262 88263 88264 88265 88266 88267 88268 88269 88270 88271 88272 88273 |
# File 'ext/ctp/ctp.cxx', line 88246
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InstrumentID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[31] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InstrumentID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 31);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [31]","InstrumentID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InstrumentID,arg2,31*sizeof(char));
else memset(arg1->InstrumentID,0,31*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InvestorID(*args) ⇒ Object
88216 88217 88218 88219 88220 88221 88222 88223 88224 88225 88226 88227 88228 88229 88230 88231 88232 88233 88234 88235 88236 88237 88238 88239 88240 88241 88242 88243 |
# File 'ext/ctp/ctp.cxx', line 88216
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->InvestorID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InvestorID=(*args) ⇒ Object
88186 88187 88188 88189 88190 88191 88192 88193 88194 88195 88196 88197 88198 88199 88200 88201 88202 88203 88204 88205 88206 88207 88208 88209 88210 88211 88212 88213 |
# File 'ext/ctp/ctp.cxx', line 88186
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[13] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","InvestorID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InvestorID,arg2,13*sizeof(char));
else memset(arg1->InvestorID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#QuoteSysID(*args) ⇒ Object
88396 88397 88398 88399 88400 88401 88402 88403 88404 88405 88406 88407 88408 88409 88410 88411 88412 88413 88414 88415 88416 88417 88418 88419 88420 88421 88422 88423 |
# File 'ext/ctp/ctp.cxx', line 88396
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_QuoteSysID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 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_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","QuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
result = (char *) ((arg1)->QuoteSysID);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#QuoteSysID=(*args) ⇒ Object
88366 88367 88368 88369 88370 88371 88372 88373 88374 88375 88376 88377 88378 88379 88380 88381 88382 88383 88384 88385 88386 88387 88388 88389 88390 88391 88392 88393 |
# File 'ext/ctp/ctp.cxx', line 88366
SWIGINTERN VALUE
_wrap_CThostFtdcQryQuoteField_QuoteSysID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryQuoteField *arg1 = (CThostFtdcQryQuoteField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[21] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcQryQuoteField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryQuoteField *","QuoteSysID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryQuoteField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","QuoteSysID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->QuoteSysID,arg2,21*sizeof(char));
else memset(arg1->QuoteSysID,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|