evecache 0.42.1 → 0.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/evecache.gemspec +1 -1
- data/ext/evecache/evecache.cxx +443 -477
- data/ext/evecache/evecache/config.hpp +1 -1
- data/ext/evecache/evecache/market.hpp +1 -1
- data/ext/evecache/market.cpp +7 -1
- data/ext/evecache/parser.cpp +2 -1
- data/ext/evecache/reader.cpp +10 -2
- metadata +6 -7
- data/ext/evecache/Makefile +0 -237
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cccad7dba4a6d2f0bc9d30af30af2a334f19e2ed
|
4
|
+
data.tar.gz: 43a44bc51357cd2cb824bdbb76391f431b5f8e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd30c5416de76994c4f2f650b0fe2e449219c771ba480d34685feb312e5fbc1341fb2661244c143a4f7b1dfaf662ec1d099e3f79ca4b9184f58089ed1c5cf97f
|
7
|
+
data.tar.gz: e13e625666c68f2b4a08aaef559dac0c5376e0f8b55c8018ba09d5473578079a1874adcc21c418b9c126b6028e0dd2a381f261703b764ab53c7d6e690df901d4
|
data/evecache.gemspec
CHANGED
data/ext/evecache/evecache.cxx
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version
|
4
|
-
*
|
5
|
-
* This file is not intended to be easily readable and contains a number of
|
3
|
+
* Version 3.0.0
|
4
|
+
*
|
5
|
+
* This file is not intended to be easily readable and contains a number of
|
6
6
|
* coding conventions designed to improve portability and efficiency. Do not make
|
7
|
-
* changes to this file unless you know what you are doing--modify the SWIG
|
8
|
-
* interface file instead.
|
7
|
+
* changes to this file unless you know what you are doing--modify the SWIG
|
8
|
+
* interface file instead.
|
9
9
|
* ----------------------------------------------------------------------------- */
|
10
10
|
|
11
11
|
#define SWIGRUBY
|
@@ -65,28 +65,28 @@ template <typename T> T SwigValueInit() {
|
|
65
65
|
#ifndef SWIGUNUSED
|
66
66
|
# if defined(__GNUC__)
|
67
67
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
68
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
68
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
69
69
|
# else
|
70
70
|
# define SWIGUNUSED
|
71
71
|
# endif
|
72
72
|
# elif defined(__ICC)
|
73
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
73
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
74
74
|
# else
|
75
|
-
# define SWIGUNUSED
|
75
|
+
# define SWIGUNUSED
|
76
76
|
# endif
|
77
77
|
#endif
|
78
78
|
|
79
79
|
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
80
80
|
# if defined(_MSC_VER)
|
81
81
|
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
82
|
-
# endif
|
82
|
+
# endif
|
83
83
|
#endif
|
84
84
|
|
85
85
|
#ifndef SWIGUNUSEDPARM
|
86
86
|
# ifdef __cplusplus
|
87
87
|
# define SWIGUNUSEDPARM(p)
|
88
88
|
# else
|
89
|
-
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
89
|
+
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
90
90
|
# endif
|
91
91
|
#endif
|
92
92
|
|
@@ -129,7 +129,7 @@ template <typename T> T SwigValueInit() {
|
|
129
129
|
# define SWIGSTDCALL __stdcall
|
130
130
|
# else
|
131
131
|
# define SWIGSTDCALL
|
132
|
-
# endif
|
132
|
+
# endif
|
133
133
|
#endif
|
134
134
|
|
135
135
|
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
@@ -174,28 +174,28 @@ template <typename T> T SwigValueInit() {
|
|
174
174
|
#ifndef SWIGUNUSED
|
175
175
|
# if defined(__GNUC__)
|
176
176
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
177
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
177
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
178
178
|
# else
|
179
179
|
# define SWIGUNUSED
|
180
180
|
# endif
|
181
181
|
# elif defined(__ICC)
|
182
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
182
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
183
183
|
# else
|
184
|
-
# define SWIGUNUSED
|
184
|
+
# define SWIGUNUSED
|
185
185
|
# endif
|
186
186
|
#endif
|
187
187
|
|
188
188
|
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
189
189
|
# if defined(_MSC_VER)
|
190
190
|
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
191
|
-
# endif
|
191
|
+
# endif
|
192
192
|
#endif
|
193
193
|
|
194
194
|
#ifndef SWIGUNUSEDPARM
|
195
195
|
# ifdef __cplusplus
|
196
196
|
# define SWIGUNUSEDPARM(p)
|
197
197
|
# else
|
198
|
-
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
198
|
+
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
199
199
|
# endif
|
200
200
|
#endif
|
201
201
|
|
@@ -238,7 +238,7 @@ template <typename T> T SwigValueInit() {
|
|
238
238
|
# define SWIGSTDCALL __stdcall
|
239
239
|
# else
|
240
240
|
# define SWIGSTDCALL
|
241
|
-
# endif
|
241
|
+
# endif
|
242
242
|
#endif
|
243
243
|
|
244
244
|
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
@@ -276,7 +276,7 @@ template <typename T> T SwigValueInit() {
|
|
276
276
|
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
|
277
277
|
creating a static or dynamic library from the SWIG runtime code.
|
278
278
|
In 99.9% of the cases, SWIG just needs to declare them as 'static'.
|
279
|
-
|
279
|
+
|
280
280
|
But only do this if strictly necessary, ie, if you have problems
|
281
281
|
with your compiler or suchlike.
|
282
282
|
*/
|
@@ -302,16 +302,16 @@ template <typename T> T SwigValueInit() {
|
|
302
302
|
#define SWIG_POINTER_OWN 0x1
|
303
303
|
|
304
304
|
|
305
|
-
/*
|
305
|
+
/*
|
306
306
|
Flags/methods for returning states.
|
307
|
-
|
308
|
-
The SWIG conversion methods, as ConvertPtr, return an integer
|
307
|
+
|
308
|
+
The SWIG conversion methods, as ConvertPtr, return an integer
|
309
309
|
that tells if the conversion was successful or not. And if not,
|
310
310
|
an error code can be returned (see swigerrors.swg for the codes).
|
311
|
-
|
311
|
+
|
312
312
|
Use the following macros/flags to set or process the returning
|
313
313
|
states.
|
314
|
-
|
314
|
+
|
315
315
|
In old versions of SWIG, code such as the following was usually written:
|
316
316
|
|
317
317
|
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
|
@@ -344,23 +344,23 @@ template <typename T> T SwigValueInit() {
|
|
344
344
|
} else {
|
345
345
|
// fail code
|
346
346
|
}
|
347
|
-
|
347
|
+
|
348
348
|
I.e., now SWIG_ConvertPtr can return new objects and you can
|
349
349
|
identify the case and take care of the deallocation. Of course that
|
350
350
|
also requires SWIG_ConvertPtr to return new result values, such as
|
351
351
|
|
352
|
-
int SWIG_ConvertPtr(obj, ptr,...) {
|
353
|
-
if (<obj is ok>) {
|
354
|
-
if (<need new object>) {
|
355
|
-
*ptr = <ptr to new allocated object>;
|
356
|
-
return SWIG_NEWOBJ;
|
357
|
-
} else {
|
358
|
-
*ptr = <ptr to old object>;
|
359
|
-
return SWIG_OLDOBJ;
|
360
|
-
}
|
361
|
-
} else {
|
362
|
-
return SWIG_BADOBJ;
|
363
|
-
}
|
352
|
+
int SWIG_ConvertPtr(obj, ptr,...) {
|
353
|
+
if (<obj is ok>) {
|
354
|
+
if (<need new object>) {
|
355
|
+
*ptr = <ptr to new allocated object>;
|
356
|
+
return SWIG_NEWOBJ;
|
357
|
+
} else {
|
358
|
+
*ptr = <ptr to old object>;
|
359
|
+
return SWIG_OLDOBJ;
|
360
|
+
}
|
361
|
+
} else {
|
362
|
+
return SWIG_BADOBJ;
|
363
|
+
}
|
364
364
|
}
|
365
365
|
|
366
366
|
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
|
@@ -374,17 +374,17 @@ template <typename T> T SwigValueInit() {
|
|
374
374
|
int fooi(int);
|
375
375
|
|
376
376
|
and you call
|
377
|
-
|
377
|
+
|
378
378
|
food(1) // cast rank '1' (1 -> 1.0)
|
379
379
|
fooi(1) // cast rank '0'
|
380
380
|
|
381
381
|
just use the SWIG_AddCast()/SWIG_CheckState()
|
382
382
|
*/
|
383
383
|
|
384
|
-
#define SWIG_OK (0)
|
384
|
+
#define SWIG_OK (0)
|
385
385
|
#define SWIG_ERROR (-1)
|
386
386
|
#define SWIG_IsOK(r) (r >= 0)
|
387
|
-
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
|
387
|
+
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
|
388
388
|
|
389
389
|
/* The CastRankLimit says how many bits are used for the cast rank */
|
390
390
|
#define SWIG_CASTRANKLIMIT (1 << 8)
|
@@ -415,14 +415,14 @@ template <typename T> T SwigValueInit() {
|
|
415
415
|
# endif
|
416
416
|
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
|
417
417
|
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
|
418
|
-
SWIGINTERNINLINE int SWIG_AddCast(int r) {
|
418
|
+
SWIGINTERNINLINE int SWIG_AddCast(int r) {
|
419
419
|
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
|
420
420
|
}
|
421
|
-
SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
422
|
-
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
421
|
+
SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
422
|
+
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
423
423
|
}
|
424
424
|
#else /* no cast-rank mode */
|
425
|
-
# define SWIG_AddCast
|
425
|
+
# define SWIG_AddCast(r) (r)
|
426
426
|
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
427
427
|
#endif
|
428
428
|
|
@@ -466,7 +466,7 @@ typedef struct swig_module_info {
|
|
466
466
|
void *clientdata; /* Language specific module data */
|
467
467
|
} swig_module_info;
|
468
468
|
|
469
|
-
/*
|
469
|
+
/*
|
470
470
|
Compare two type names skipping the space characters, therefore
|
471
471
|
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
|
472
472
|
|
@@ -486,18 +486,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
|
|
486
486
|
|
487
487
|
/*
|
488
488
|
Check type equivalence in a name list like <name1>|<name2>|...
|
489
|
-
Return 0 if
|
489
|
+
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
|
490
490
|
*/
|
491
491
|
SWIGRUNTIME int
|
492
|
-
|
493
|
-
int equiv =
|
492
|
+
SWIG_TypeCmp(const char *nb, const char *tb) {
|
493
|
+
int equiv = 1;
|
494
494
|
const char* te = tb + strlen(tb);
|
495
495
|
const char* ne = nb;
|
496
|
-
while (
|
496
|
+
while (equiv != 0 && *ne) {
|
497
497
|
for (nb = ne; *ne; ++ne) {
|
498
498
|
if (*ne == '|') break;
|
499
499
|
}
|
500
|
-
equiv =
|
500
|
+
equiv = SWIG_TypeNameComp(nb, ne, tb, te);
|
501
501
|
if (*ne) ++ne;
|
502
502
|
}
|
503
503
|
return equiv;
|
@@ -505,24 +505,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
|
|
505
505
|
|
506
506
|
/*
|
507
507
|
Check type equivalence in a name list like <name1>|<name2>|...
|
508
|
-
Return 0 if equal,
|
508
|
+
Return 0 if not equal, 1 if equal
|
509
509
|
*/
|
510
510
|
SWIGRUNTIME int
|
511
|
-
|
512
|
-
|
513
|
-
const char* te = tb + strlen(tb);
|
514
|
-
const char* ne = nb;
|
515
|
-
while (!equiv && *ne) {
|
516
|
-
for (nb = ne; *ne; ++ne) {
|
517
|
-
if (*ne == '|') break;
|
518
|
-
}
|
519
|
-
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
|
520
|
-
if (*ne) ++ne;
|
521
|
-
}
|
522
|
-
return equiv;
|
511
|
+
SWIG_TypeEquiv(const char *nb, const char *tb) {
|
512
|
+
return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
|
523
513
|
}
|
524
514
|
|
525
|
-
|
526
515
|
/*
|
527
516
|
Check the typename
|
528
517
|
*/
|
@@ -550,7 +539,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
|
|
550
539
|
return 0;
|
551
540
|
}
|
552
541
|
|
553
|
-
/*
|
542
|
+
/*
|
554
543
|
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
|
555
544
|
*/
|
556
545
|
SWIGRUNTIME swig_cast_info *
|
@@ -585,7 +574,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
|
|
585
574
|
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
|
586
575
|
}
|
587
576
|
|
588
|
-
/*
|
577
|
+
/*
|
589
578
|
Dynamic pointer casting. Down an inheritance hierarchy
|
590
579
|
*/
|
591
580
|
SWIGRUNTIME swig_type_info *
|
@@ -629,7 +618,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
|
|
629
618
|
return type->name;
|
630
619
|
}
|
631
620
|
|
632
|
-
/*
|
621
|
+
/*
|
633
622
|
Set the clientdata field for a type
|
634
623
|
*/
|
635
624
|
SWIGRUNTIME void
|
@@ -637,14 +626,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
|
|
637
626
|
swig_cast_info *cast = ti->cast;
|
638
627
|
/* if (ti->clientdata == clientdata) return; */
|
639
628
|
ti->clientdata = clientdata;
|
640
|
-
|
629
|
+
|
641
630
|
while (cast) {
|
642
631
|
if (!cast->converter) {
|
643
632
|
swig_type_info *tc = cast->type;
|
644
633
|
if (!tc->clientdata) {
|
645
634
|
SWIG_TypeClientData(tc, clientdata);
|
646
635
|
}
|
647
|
-
}
|
636
|
+
}
|
648
637
|
cast = cast->next;
|
649
638
|
}
|
650
639
|
}
|
@@ -653,31 +642,31 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
|
|
653
642
|
SWIG_TypeClientData(ti, clientdata);
|
654
643
|
ti->owndata = 1;
|
655
644
|
}
|
656
|
-
|
645
|
+
|
657
646
|
/*
|
658
647
|
Search for a swig_type_info structure only by mangled name
|
659
648
|
Search is a O(log #types)
|
660
|
-
|
661
|
-
We start searching at module start, and finish searching when start == end.
|
649
|
+
|
650
|
+
We start searching at module start, and finish searching when start == end.
|
662
651
|
Note: if start == end at the beginning of the function, we go all the way around
|
663
652
|
the circular list.
|
664
653
|
*/
|
665
654
|
SWIGRUNTIME swig_type_info *
|
666
|
-
SWIG_MangledTypeQueryModule(swig_module_info *start,
|
667
|
-
swig_module_info *end,
|
655
|
+
SWIG_MangledTypeQueryModule(swig_module_info *start,
|
656
|
+
swig_module_info *end,
|
668
657
|
const char *name) {
|
669
658
|
swig_module_info *iter = start;
|
670
659
|
do {
|
671
660
|
if (iter->size) {
|
672
|
-
|
673
|
-
|
661
|
+
size_t l = 0;
|
662
|
+
size_t r = iter->size - 1;
|
674
663
|
do {
|
675
664
|
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
|
676
|
-
|
665
|
+
size_t i = (l + r) >> 1;
|
677
666
|
const char *iname = iter->types[i]->name;
|
678
667
|
if (iname) {
|
679
|
-
|
680
|
-
if (compare == 0) {
|
668
|
+
int compare = strcmp(name, iname);
|
669
|
+
if (compare == 0) {
|
681
670
|
return iter->types[i];
|
682
671
|
} else if (compare < 0) {
|
683
672
|
if (i) {
|
@@ -702,14 +691,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
|
|
702
691
|
Search for a swig_type_info structure for either a mangled name or a human readable name.
|
703
692
|
It first searches the mangled names of the types, which is a O(log #types)
|
704
693
|
If a type is not found it then searches the human readable names, which is O(#types).
|
705
|
-
|
706
|
-
We start searching at module start, and finish searching when start == end.
|
694
|
+
|
695
|
+
We start searching at module start, and finish searching when start == end.
|
707
696
|
Note: if start == end at the beginning of the function, we go all the way around
|
708
697
|
the circular list.
|
709
698
|
*/
|
710
699
|
SWIGRUNTIME swig_type_info *
|
711
|
-
SWIG_TypeQueryModule(swig_module_info *start,
|
712
|
-
swig_module_info *end,
|
700
|
+
SWIG_TypeQueryModule(swig_module_info *start,
|
701
|
+
swig_module_info *end,
|
713
702
|
const char *name) {
|
714
703
|
/* STEP 1: Search the name field using binary search */
|
715
704
|
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
|
@@ -720,7 +709,7 @@ SWIG_TypeQueryModule(swig_module_info *start,
|
|
720
709
|
of the str field (the human readable name) */
|
721
710
|
swig_module_info *iter = start;
|
722
711
|
do {
|
723
|
-
|
712
|
+
size_t i = 0;
|
724
713
|
for (; i < iter->size; ++i) {
|
725
714
|
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
|
726
715
|
return iter->types[i];
|
@@ -728,56 +717,56 @@ SWIG_TypeQueryModule(swig_module_info *start,
|
|
728
717
|
iter = iter->next;
|
729
718
|
} while (iter != end);
|
730
719
|
}
|
731
|
-
|
720
|
+
|
732
721
|
/* neither found a match */
|
733
722
|
return 0;
|
734
723
|
}
|
735
724
|
|
736
|
-
/*
|
725
|
+
/*
|
737
726
|
Pack binary data into a string
|
738
727
|
*/
|
739
728
|
SWIGRUNTIME char *
|
740
729
|
SWIG_PackData(char *c, void *ptr, size_t sz) {
|
741
730
|
static const char hex[17] = "0123456789abcdef";
|
742
|
-
|
743
|
-
|
731
|
+
const unsigned char *u = (unsigned char *) ptr;
|
732
|
+
const unsigned char *eu = u + sz;
|
744
733
|
for (; u != eu; ++u) {
|
745
|
-
|
734
|
+
unsigned char uu = *u;
|
746
735
|
*(c++) = hex[(uu & 0xf0) >> 4];
|
747
736
|
*(c++) = hex[uu & 0xf];
|
748
737
|
}
|
749
738
|
return c;
|
750
739
|
}
|
751
740
|
|
752
|
-
/*
|
741
|
+
/*
|
753
742
|
Unpack binary data from a string
|
754
743
|
*/
|
755
744
|
SWIGRUNTIME const char *
|
756
745
|
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
|
757
|
-
|
758
|
-
|
746
|
+
unsigned char *u = (unsigned char *) ptr;
|
747
|
+
const unsigned char *eu = u + sz;
|
759
748
|
for (; u != eu; ++u) {
|
760
|
-
|
761
|
-
|
749
|
+
char d = *(c++);
|
750
|
+
unsigned char uu;
|
762
751
|
if ((d >= '0') && (d <= '9'))
|
763
752
|
uu = ((d - '0') << 4);
|
764
753
|
else if ((d >= 'a') && (d <= 'f'))
|
765
754
|
uu = ((d - ('a'-10)) << 4);
|
766
|
-
else
|
755
|
+
else
|
767
756
|
return (char *) 0;
|
768
757
|
d = *(c++);
|
769
758
|
if ((d >= '0') && (d <= '9'))
|
770
759
|
uu |= (d - '0');
|
771
760
|
else if ((d >= 'a') && (d <= 'f'))
|
772
761
|
uu |= (d - ('a'-10));
|
773
|
-
else
|
762
|
+
else
|
774
763
|
return (char *) 0;
|
775
764
|
*u = uu;
|
776
765
|
}
|
777
766
|
return c;
|
778
767
|
}
|
779
768
|
|
780
|
-
/*
|
769
|
+
/*
|
781
770
|
Pack 'void *' into a string buffer.
|
782
771
|
*/
|
783
772
|
SWIGRUNTIME char *
|
@@ -837,18 +826,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
837
826
|
#endif
|
838
827
|
|
839
828
|
/* Errors in SWIG */
|
840
|
-
#define SWIG_UnknownError -1
|
841
|
-
#define SWIG_IOError -2
|
842
|
-
#define SWIG_RuntimeError -3
|
843
|
-
#define SWIG_IndexError -4
|
844
|
-
#define SWIG_TypeError -5
|
845
|
-
#define SWIG_DivisionByZero -6
|
846
|
-
#define SWIG_OverflowError -7
|
847
|
-
#define SWIG_SyntaxError -8
|
848
|
-
#define SWIG_ValueError -9
|
829
|
+
#define SWIG_UnknownError -1
|
830
|
+
#define SWIG_IOError -2
|
831
|
+
#define SWIG_RuntimeError -3
|
832
|
+
#define SWIG_IndexError -4
|
833
|
+
#define SWIG_TypeError -5
|
834
|
+
#define SWIG_DivisionByZero -6
|
835
|
+
#define SWIG_OverflowError -7
|
836
|
+
#define SWIG_SyntaxError -8
|
837
|
+
#define SWIG_ValueError -9
|
849
838
|
#define SWIG_SystemError -10
|
850
839
|
#define SWIG_AttributeError -11
|
851
|
-
#define SWIG_MemoryError -12
|
840
|
+
#define SWIG_MemoryError -12
|
852
841
|
#define SWIG_NullReferenceError -13
|
853
842
|
|
854
843
|
|
@@ -1398,7 +1387,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
|
1398
1387
|
|
1399
1388
|
/* Runtime API */
|
1400
1389
|
|
1401
|
-
#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
|
1390
|
+
#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
|
1402
1391
|
#define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
|
1403
1392
|
|
1404
1393
|
|
@@ -1514,14 +1503,13 @@ SWIG_Ruby_InitRuntime(void)
|
|
1514
1503
|
SWIGRUNTIME void
|
1515
1504
|
SWIG_Ruby_define_class(swig_type_info *type)
|
1516
1505
|
{
|
1517
|
-
VALUE klass;
|
1518
1506
|
char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
|
1519
1507
|
sprintf(klass_name, "TYPE%s", type->name);
|
1520
1508
|
if (NIL_P(_cSWIG_Pointer)) {
|
1521
1509
|
_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
|
1522
1510
|
rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
|
1523
1511
|
}
|
1524
|
-
|
1512
|
+
rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
|
1525
1513
|
free((void *) klass_name);
|
1526
1514
|
}
|
1527
1515
|
|
@@ -1734,7 +1722,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
|
|
1734
1722
|
}
|
1735
1723
|
|
1736
1724
|
SWIGRUNTIME swig_module_info *
|
1737
|
-
SWIG_Ruby_GetModule(void)
|
1725
|
+
SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
|
1738
1726
|
{
|
1739
1727
|
VALUE pointer;
|
1740
1728
|
swig_module_info *ret = 0;
|
@@ -1774,7 +1762,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
|
|
1774
1762
|
SWIGINTERN
|
1775
1763
|
int SWIG_Ruby_isCallable( VALUE proc )
|
1776
1764
|
{
|
1777
|
-
if ( rb_respond_to( proc, swig_call_id )
|
1765
|
+
if ( rb_respond_to( proc, swig_call_id ) )
|
1778
1766
|
return 1;
|
1779
1767
|
return 0;
|
1780
1768
|
}
|
@@ -1787,7 +1775,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
|
|
1787
1775
|
SWIGINTERN
|
1788
1776
|
int SWIG_Ruby_arity( VALUE proc, int minimal )
|
1789
1777
|
{
|
1790
|
-
if ( rb_respond_to( proc, swig_arity_id )
|
1778
|
+
if ( rb_respond_to( proc, swig_arity_id ) )
|
1791
1779
|
{
|
1792
1780
|
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
|
1793
1781
|
int arity = NUM2INT(num);
|
@@ -1871,7 +1859,7 @@ static VALUE mEvecache;
|
|
1871
1859
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1872
1860
|
|
1873
1861
|
|
1874
|
-
#define SWIGVERSION
|
1862
|
+
#define SWIGVERSION 0x030000
|
1875
1863
|
#define SWIG_VERSION SWIGVERSION
|
1876
1864
|
|
1877
1865
|
|
@@ -1900,11 +1888,64 @@ static VALUE mEvecache;
|
|
1900
1888
|
|
1901
1889
|
|
1902
1890
|
namespace swig {
|
1903
|
-
class
|
1904
|
-
protected:
|
1891
|
+
class SwigGCReferences {
|
1905
1892
|
// Hash of all GC_VALUE's currently in use
|
1906
|
-
static
|
1893
|
+
static SwigGCReferences s_references;
|
1894
|
+
|
1895
|
+
VALUE _hash;
|
1907
1896
|
|
1897
|
+
SwigGCReferences() : _hash(Qnil) {
|
1898
|
+
}
|
1899
|
+
~SwigGCReferences() {
|
1900
|
+
if (_hash != Qnil)
|
1901
|
+
rb_gc_unregister_address(&_hash);
|
1902
|
+
}
|
1903
|
+
static void EndProcHandler(VALUE) {
|
1904
|
+
// Ruby interpreter ending - _hash can no longer be accessed.
|
1905
|
+
s_references._hash = Qnil;
|
1906
|
+
}
|
1907
|
+
public:
|
1908
|
+
static SwigGCReferences& instance() {
|
1909
|
+
return s_references;
|
1910
|
+
}
|
1911
|
+
static void initialize() {
|
1912
|
+
if (s_references._hash == Qnil) {
|
1913
|
+
rb_set_end_proc(&EndProcHandler, Qnil);
|
1914
|
+
s_references._hash = rb_hash_new();
|
1915
|
+
rb_gc_register_address(&s_references._hash);
|
1916
|
+
}
|
1917
|
+
}
|
1918
|
+
void GC_register(VALUE& obj) {
|
1919
|
+
if (FIXNUM_P(obj) || SPECIAL_CONST_P(obj) || SYMBOL_P(obj))
|
1920
|
+
return;
|
1921
|
+
if (_hash != Qnil) {
|
1922
|
+
VALUE val = rb_hash_aref(_hash, obj);
|
1923
|
+
unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 0;
|
1924
|
+
++n;
|
1925
|
+
rb_hash_aset(_hash, obj, INT2NUM(n));
|
1926
|
+
}
|
1927
|
+
}
|
1928
|
+
void GC_unregister(const VALUE& obj) {
|
1929
|
+
if (FIXNUM_P(obj) || SPECIAL_CONST_P(obj) || SYMBOL_P(obj))
|
1930
|
+
return;
|
1931
|
+
// this test should not be needed but I've noticed some very erratic
|
1932
|
+
// behavior of none being unregistered in some very rare situations.
|
1933
|
+
if (BUILTIN_TYPE(obj) == T_NONE)
|
1934
|
+
return;
|
1935
|
+
if (_hash != Qnil) {
|
1936
|
+
VALUE val = rb_hash_aref(s_references._hash, obj);
|
1937
|
+
unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 1;
|
1938
|
+
--n;
|
1939
|
+
if (n)
|
1940
|
+
rb_hash_aset(s_references._hash, obj, INT2NUM(n));
|
1941
|
+
else
|
1942
|
+
rb_hash_delete(s_references._hash, obj);
|
1943
|
+
}
|
1944
|
+
}
|
1945
|
+
};
|
1946
|
+
|
1947
|
+
class GC_VALUE {
|
1948
|
+
protected:
|
1908
1949
|
VALUE _obj;
|
1909
1950
|
|
1910
1951
|
static ID hash_id;
|
@@ -1941,75 +1982,33 @@ namespace swig {
|
|
1941
1982
|
|
1942
1983
|
|
1943
1984
|
public:
|
1944
|
-
|
1945
|
-
{
|
1946
|
-
if ( _hash == Qnil )
|
1947
|
-
{
|
1948
|
-
_hash = rb_hash_new();
|
1949
|
-
rb_gc_register_address( &_hash );
|
1950
|
-
}
|
1951
|
-
}
|
1952
|
-
|
1953
|
-
// this function is never called. Provided for symmetry only.
|
1954
|
-
static void cleanup()
|
1955
|
-
{
|
1956
|
-
rb_gc_unregister_address( &_hash );
|
1957
|
-
}
|
1958
|
-
|
1959
|
-
GC_VALUE() : _obj( Qnil )
|
1985
|
+
GC_VALUE() : _obj(Qnil)
|
1960
1986
|
{
|
1961
1987
|
}
|
1962
1988
|
|
1963
1989
|
GC_VALUE(const GC_VALUE& item) : _obj(item._obj)
|
1964
1990
|
{
|
1965
|
-
GC_register();
|
1991
|
+
SwigGCReferences::instance().GC_register(_obj);
|
1966
1992
|
}
|
1967
1993
|
|
1968
1994
|
GC_VALUE(VALUE obj) :_obj(obj)
|
1969
1995
|
{
|
1970
|
-
GC_register();
|
1996
|
+
SwigGCReferences::instance().GC_register(_obj);
|
1971
1997
|
}
|
1972
1998
|
|
1973
1999
|
~GC_VALUE()
|
1974
2000
|
{
|
1975
|
-
GC_unregister();
|
2001
|
+
SwigGCReferences::instance().GC_unregister(_obj);
|
1976
2002
|
}
|
1977
2003
|
|
1978
2004
|
GC_VALUE & operator=(const GC_VALUE& item)
|
1979
2005
|
{
|
1980
|
-
GC_unregister();
|
2006
|
+
SwigGCReferences::instance().GC_unregister(_obj);
|
1981
2007
|
_obj = item._obj;
|
1982
|
-
GC_register();
|
2008
|
+
SwigGCReferences::instance().GC_register(_obj);
|
1983
2009
|
return *this;
|
1984
2010
|
}
|
1985
2011
|
|
1986
|
-
void GC_register()
|
1987
|
-
{
|
1988
|
-
if ( FIXNUM_P(_obj) || SPECIAL_CONST_P(_obj) || SYMBOL_P(_obj) )
|
1989
|
-
return;
|
1990
|
-
VALUE val = rb_hash_aref( _hash, _obj );
|
1991
|
-
unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 0;
|
1992
|
-
++n;
|
1993
|
-
rb_hash_aset( _hash, _obj, INT2NUM(n) );
|
1994
|
-
}
|
1995
|
-
|
1996
|
-
void GC_unregister()
|
1997
|
-
{
|
1998
|
-
if ( FIXNUM_P(_obj) || SPECIAL_CONST_P(_obj) || SYMBOL_P(_obj) )
|
1999
|
-
return;
|
2000
|
-
// this test should not be needed but I've noticed some very erratic
|
2001
|
-
// behavior of none being unregistered in some very rare situations.
|
2002
|
-
if ( BUILTIN_TYPE(_obj) == T_NONE ) return;
|
2003
|
-
|
2004
|
-
VALUE val = rb_hash_aref( _hash, _obj );
|
2005
|
-
unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 1;
|
2006
|
-
--n;
|
2007
|
-
if ( n )
|
2008
|
-
rb_hash_aset( _hash, _obj, INT2NUM(n) );
|
2009
|
-
else
|
2010
|
-
rb_hash_delete( _hash, _obj );
|
2011
|
-
}
|
2012
|
-
|
2013
2012
|
operator VALUE() const
|
2014
2013
|
{
|
2015
2014
|
return _obj;
|
@@ -2025,113 +2024,110 @@ namespace swig {
|
|
2025
2024
|
return rb_inspect(_obj);
|
2026
2025
|
}
|
2027
2026
|
|
2028
|
-
static VALUE
|
2027
|
+
static VALUE swig_rescue_swallow(VALUE)
|
2028
|
+
{
|
2029
|
+
/*
|
2030
|
+
VALUE errstr = rb_obj_as_string(rb_errinfo());
|
2031
|
+
printf("Swallowing error: '%s'\n", RSTRING_PTR(StringValue(errstr)));
|
2032
|
+
*/
|
2033
|
+
return Qnil; /* Swallow Ruby exception */
|
2034
|
+
}
|
2035
|
+
|
2036
|
+
static VALUE swig_rescue_funcall(VALUE p)
|
2029
2037
|
{
|
2030
2038
|
OpArgs* args = (OpArgs*) p;
|
2031
|
-
return rb_funcall(
|
2032
|
-
}
|
2033
|
-
|
2034
|
-
|
2035
|
-
#define GC_VALUE_CMP( op_id, op, cmp, cmpval ) \
|
2036
|
-
bool op( const GC_VALUE& other ) const \
|
2037
|
-
{ \
|
2038
|
-
if ( FIXNUM_P(_obj) && FIXNUM_P(other._obj) ) \
|
2039
|
-
{ \
|
2040
|
-
return _obj cmp other._obj; \
|
2041
|
-
} \
|
2042
|
-
bool res = false; \
|
2043
|
-
VALUE ret = Qnil; \
|
2044
|
-
SWIG_RUBY_THREAD_BEGIN_BLOCK; \
|
2045
|
-
if ( rb_respond_to( _obj, op_id ) == Qtrue ) \
|
2046
|
-
{ \
|
2047
|
-
int status; \
|
2048
|
-
OpArgs args; \
|
2049
|
-
args.src = _obj; \
|
2050
|
-
args.id = op_id; \
|
2051
|
-
args.nargs = 1; \
|
2052
|
-
args.target = VALUE(other); \
|
2053
|
-
ret = rb_protect( PROTECTFUNC(swig_protect_funcall), \
|
2054
|
-
VALUE(&args), &status ); \
|
2055
|
-
} \
|
2056
|
-
if ( ret == Qnil ) { \
|
2057
|
-
VALUE a = rb_funcall( _obj, hash_id, 0 ); \
|
2058
|
-
VALUE b = rb_funcall( VALUE(other), hash_id, 0 ); \
|
2059
|
-
res = a cmp b; \
|
2060
|
-
} \
|
2061
|
-
else \
|
2062
|
-
{ \
|
2063
|
-
res = RTEST( ret ); \
|
2064
|
-
} \
|
2065
|
-
SWIG_RUBY_THREAD_END_BLOCK; \
|
2066
|
-
return res; \
|
2067
|
-
}
|
2068
|
-
|
2069
|
-
|
2070
|
-
GC_VALUE_CMP( eq_id, operator==, ==, == 0 )
|
2071
|
-
GC_VALUE_CMP( lt_id, operator<, < , < 0 )
|
2072
|
-
GC_VALUE_CMP( le_id, operator<=, <=, <= 0 )
|
2073
|
-
GC_VALUE_CMP( gt_id, operator>, > , > 0 )
|
2074
|
-
GC_VALUE_CMP( ge_id, operator>=, >=, >= 0 )
|
2075
|
-
#undef GC_VALUE_CMP
|
2076
|
-
|
2077
|
-
bool operator!=( const GC_VALUE& other )
|
2039
|
+
return rb_funcall(args->src, args->id, args->nargs, args->target);
|
2040
|
+
}
|
2041
|
+
|
2042
|
+
bool relational_equal_op(const GC_VALUE& other, const ID& op_id, bool (*op_func)(const VALUE& a, const VALUE& b)) const
|
2078
2043
|
{
|
2079
|
-
|
2044
|
+
if (FIXNUM_P(_obj) && FIXNUM_P(other._obj)) {
|
2045
|
+
return op_func(_obj, other._obj);
|
2046
|
+
}
|
2047
|
+
bool res = false;
|
2048
|
+
VALUE ret = Qnil;
|
2049
|
+
SWIG_RUBY_THREAD_BEGIN_BLOCK;
|
2050
|
+
if (rb_respond_to(_obj, op_id)) {
|
2051
|
+
OpArgs args;
|
2052
|
+
args.src = _obj;
|
2053
|
+
args.id = op_id;
|
2054
|
+
args.nargs = 1;
|
2055
|
+
args.target = VALUE(other);
|
2056
|
+
ret = rb_rescue(RUBY_METHOD_FUNC(swig_rescue_funcall), VALUE(&args),
|
2057
|
+
(RUBY_METHOD_FUNC(swig_rescue_swallow)), Qnil);
|
2058
|
+
}
|
2059
|
+
if (ret == Qnil) {
|
2060
|
+
VALUE a = rb_funcall( _obj, hash_id, 0 );
|
2061
|
+
VALUE b = rb_funcall( VALUE(other), hash_id, 0 );
|
2062
|
+
res = op_func(a, b);
|
2063
|
+
} else {
|
2064
|
+
res = RTEST(ret);
|
2065
|
+
}
|
2066
|
+
SWIG_RUBY_THREAD_END_BLOCK;
|
2067
|
+
return res;
|
2080
2068
|
}
|
2081
2069
|
|
2082
|
-
|
2083
|
-
|
2084
|
-
{
|
2085
|
-
|
2086
|
-
|
2087
|
-
int status; \
|
2088
|
-
OpArgs args; \
|
2089
|
-
args.src = _obj; \
|
2090
|
-
args.id = proc_id; \
|
2091
|
-
args.nargs = 0; \
|
2092
|
-
args.target = Qnil; \
|
2093
|
-
ret = rb_protect( PROTECTFUNC(swig_protect_funcall), VALUE(&args), \
|
2094
|
-
&status ); \
|
2095
|
-
SWIG_RUBY_THREAD_END_BLOCK; \
|
2096
|
-
return ret; \
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
GC_VALUE_UNARY( pos_id, operator+ )
|
2100
|
-
GC_VALUE_UNARY( neg_id, operator- )
|
2101
|
-
GC_VALUE_UNARY( inv_id, operator~ )
|
2102
|
-
#undef GC_VALUE_BINARY
|
2103
|
-
|
2104
|
-
#define GC_VALUE_BINARY( proc_id, op ) \
|
2105
|
-
GC_VALUE op( const GC_VALUE& other ) const \
|
2106
|
-
{ \
|
2107
|
-
VALUE ret = Qnil; \
|
2108
|
-
SWIG_RUBY_THREAD_BEGIN_BLOCK; \
|
2109
|
-
int status; \
|
2110
|
-
OpArgs args; \
|
2111
|
-
args.src = _obj; \
|
2112
|
-
args.id = proc_id; \
|
2113
|
-
args.nargs = 1; \
|
2114
|
-
args.target = VALUE(other); \
|
2115
|
-
ret = rb_protect( PROTECTFUNC(swig_protect_funcall), VALUE(&args), \
|
2116
|
-
&status ); \
|
2117
|
-
SWIG_RUBY_THREAD_END_BLOCK; \
|
2118
|
-
return GC_VALUE(ret); \
|
2119
|
-
}
|
2120
|
-
|
2121
|
-
GC_VALUE_BINARY( add_id, operator+ );
|
2122
|
-
GC_VALUE_BINARY( sub_id, operator- );
|
2123
|
-
GC_VALUE_BINARY( mul_id, operator* );
|
2124
|
-
GC_VALUE_BINARY( div_id, operator/ );
|
2125
|
-
GC_VALUE_BINARY( mod_id, operator% );
|
2126
|
-
|
2127
|
-
GC_VALUE_BINARY( and_id, operator& );
|
2128
|
-
GC_VALUE_BINARY( xor_id, operator^ );
|
2129
|
-
GC_VALUE_BINARY( or_id, operator| );
|
2070
|
+
static bool operator_eq(const VALUE& a, const VALUE& b) { return a == b; }
|
2071
|
+
static bool operator_lt(const VALUE& a, const VALUE& b) { return a < b; }
|
2072
|
+
static bool operator_le(const VALUE& a, const VALUE& b) { return a <= b; }
|
2073
|
+
static bool operator_gt(const VALUE& a, const VALUE& b) { return a > b; }
|
2074
|
+
static bool operator_ge(const VALUE& a, const VALUE& b) { return a >= b; }
|
2130
2075
|
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2076
|
+
bool operator==(const GC_VALUE& other) const { return relational_equal_op(other, eq_id, operator_eq); }
|
2077
|
+
bool operator<(const GC_VALUE& other) const { return relational_equal_op(other, lt_id, operator_lt); }
|
2078
|
+
bool operator<=(const GC_VALUE& other) const { return relational_equal_op(other, le_id, operator_le); }
|
2079
|
+
bool operator>(const GC_VALUE& other) const { return relational_equal_op(other, gt_id, operator_gt); }
|
2080
|
+
bool operator>=(const GC_VALUE& other) const { return relational_equal_op(other, ge_id, operator_ge); }
|
2134
2081
|
|
2082
|
+
bool operator!=(const GC_VALUE& other) const
|
2083
|
+
{
|
2084
|
+
return !(this->operator==(other));
|
2085
|
+
}
|
2086
|
+
|
2087
|
+
GC_VALUE unary_op(const ID& op_id) const
|
2088
|
+
{
|
2089
|
+
VALUE ret = Qnil;
|
2090
|
+
SWIG_RUBY_THREAD_BEGIN_BLOCK;
|
2091
|
+
OpArgs args;
|
2092
|
+
args.src = _obj;
|
2093
|
+
args.id = op_id;
|
2094
|
+
args.nargs = 0;
|
2095
|
+
args.target = Qnil;
|
2096
|
+
ret = rb_rescue(RUBY_METHOD_FUNC(swig_rescue_funcall), VALUE(&args),
|
2097
|
+
(RUBY_METHOD_FUNC(swig_rescue_swallow)), Qnil);
|
2098
|
+
SWIG_RUBY_THREAD_END_BLOCK;
|
2099
|
+
return ret;
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
GC_VALUE operator+() const { return unary_op(pos_id); }
|
2103
|
+
GC_VALUE operator-() const { return unary_op(neg_id); }
|
2104
|
+
GC_VALUE operator~() const { return unary_op(inv_id); }
|
2105
|
+
|
2106
|
+
GC_VALUE binary_op(const GC_VALUE& other, const ID& op_id) const
|
2107
|
+
{
|
2108
|
+
VALUE ret = Qnil;
|
2109
|
+
SWIG_RUBY_THREAD_BEGIN_BLOCK;
|
2110
|
+
OpArgs args;
|
2111
|
+
args.src = _obj;
|
2112
|
+
args.id = op_id;
|
2113
|
+
args.nargs = 1;
|
2114
|
+
args.target = VALUE(other);
|
2115
|
+
ret = rb_rescue(RUBY_METHOD_FUNC(swig_rescue_funcall), VALUE(&args),
|
2116
|
+
(RUBY_METHOD_FUNC(swig_rescue_swallow)), Qnil);
|
2117
|
+
SWIG_RUBY_THREAD_END_BLOCK;
|
2118
|
+
return GC_VALUE(ret);
|
2119
|
+
}
|
2120
|
+
|
2121
|
+
GC_VALUE operator+(const GC_VALUE& other) const { return binary_op(other, add_id); }
|
2122
|
+
GC_VALUE operator-(const GC_VALUE& other) const { return binary_op(other, sub_id); }
|
2123
|
+
GC_VALUE operator*(const GC_VALUE& other) const { return binary_op(other, mul_id); }
|
2124
|
+
GC_VALUE operator/(const GC_VALUE& other) const { return binary_op(other, div_id); }
|
2125
|
+
GC_VALUE operator%(const GC_VALUE& other) const { return binary_op(other, mod_id); }
|
2126
|
+
GC_VALUE operator&(const GC_VALUE& other) const { return binary_op(other, and_id); }
|
2127
|
+
GC_VALUE operator^(const GC_VALUE& other) const { return binary_op(other, xor_id); }
|
2128
|
+
GC_VALUE operator|(const GC_VALUE& other) const { return binary_op(other, or_id); }
|
2129
|
+
GC_VALUE operator<<(const GC_VALUE& other) const { return binary_op(other, lshift_id); }
|
2130
|
+
GC_VALUE operator>>(const GC_VALUE& other) const { return binary_op(other, rshift_id); }
|
2135
2131
|
};
|
2136
2132
|
|
2137
2133
|
ID GC_VALUE::hash_id = rb_intern("hash");
|
@@ -2158,7 +2154,7 @@ namespace swig {
|
|
2158
2154
|
ID GC_VALUE::lshift_id = rb_intern("<<");
|
2159
2155
|
ID GC_VALUE::rshift_id = rb_intern(">>");
|
2160
2156
|
|
2161
|
-
|
2157
|
+
SwigGCReferences SwigGCReferences::s_references;
|
2162
2158
|
|
2163
2159
|
typedef GC_VALUE LANGUAGE_OBJ;
|
2164
2160
|
|
@@ -2173,14 +2169,9 @@ namespace swig {
|
|
2173
2169
|
#endif
|
2174
2170
|
|
2175
2171
|
|
2176
|
-
#include <string>
|
2177
|
-
#include <stdexcept>
|
2178
2172
|
#include <stddef.h>
|
2179
2173
|
|
2180
2174
|
|
2181
|
-
#include <stddef.h>
|
2182
|
-
|
2183
|
-
|
2184
2175
|
namespace swig {
|
2185
2176
|
struct stop_iteration {
|
2186
2177
|
};
|
@@ -2444,7 +2435,7 @@ SWIG_ruby_failed(void)
|
|
2444
2435
|
}
|
2445
2436
|
|
2446
2437
|
|
2447
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2438
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.0/share/swig/3.0.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2448
2439
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
|
2449
2440
|
{
|
2450
2441
|
VALUE obj = args[0];
|
@@ -2490,7 +2481,7 @@ SWIG_From_bool (bool value)
|
|
2490
2481
|
}
|
2491
2482
|
|
2492
2483
|
|
2493
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2484
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.0/share/swig/3.0.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2494
2485
|
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2495
2486
|
{
|
2496
2487
|
VALUE obj = args[0];
|
@@ -2549,9 +2540,6 @@ SWIG_From_ptrdiff_t (ptrdiff_t value)
|
|
2549
2540
|
}
|
2550
2541
|
|
2551
2542
|
|
2552
|
-
#include <stdexcept>
|
2553
|
-
|
2554
|
-
|
2555
2543
|
#include <algorithm>
|
2556
2544
|
|
2557
2545
|
|
@@ -2652,11 +2640,7 @@ SWIGINTERN int
|
|
2652
2640
|
SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
|
2653
2641
|
{
|
2654
2642
|
if (TYPE(obj) == T_STRING) {
|
2655
|
-
#if defined(StringValuePtr)
|
2656
2643
|
char *cstr = StringValuePtr(obj);
|
2657
|
-
#else
|
2658
|
-
char *cstr = STR2CSTR(obj);
|
2659
|
-
#endif
|
2660
2644
|
size_t size = RSTRING_LEN(obj) + 1;
|
2661
2645
|
if (cptr) {
|
2662
2646
|
if (alloc) {
|
@@ -2740,13 +2724,13 @@ SWIG_From_unsigned_SS_char (unsigned char value)
|
|
2740
2724
|
}
|
2741
2725
|
|
2742
2726
|
|
2743
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2727
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.0/share/swig/3.0.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2744
2728
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
|
2745
2729
|
{
|
2746
2730
|
VALUE obj = args[0];
|
2747
2731
|
VALUE type = TYPE(obj);
|
2748
2732
|
double *res = (double *)(args[1]);
|
2749
|
-
*res = NUM2DBL(obj);
|
2733
|
+
*res = NUM2DBL(obj); (void)type;
|
2750
2734
|
return obj;
|
2751
2735
|
}
|
2752
2736
|
/*@SWIG@*/
|
@@ -2772,7 +2756,7 @@ SWIG_AsVal_double (VALUE obj, double *val)
|
|
2772
2756
|
#define SWIG_From_double rb_float_new
|
2773
2757
|
|
2774
2758
|
|
2775
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2759
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.0/share/swig/3.0.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2776
2760
|
SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE *args)
|
2777
2761
|
{
|
2778
2762
|
VALUE obj = args[0];
|
@@ -2828,7 +2812,7 @@ SWIG_AsVal_bool (VALUE obj, bool *val)
|
|
2828
2812
|
}
|
2829
2813
|
|
2830
2814
|
|
2831
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2815
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.0/share/swig/3.0.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2832
2816
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE *args)
|
2833
2817
|
{
|
2834
2818
|
VALUE obj = args[0];
|
@@ -4375,25 +4359,6 @@ SWIGINTERN std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOr
|
|
4375
4359
|
|
4376
4360
|
return r;
|
4377
4361
|
}
|
4378
|
-
SWIGINTERN std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *std_vector_Sl_EveCache_MarketOrder_Sg__reject_bang(std::vector< EveCache::MarketOrder > *self){
|
4379
|
-
if ( !rb_block_given_p() )
|
4380
|
-
rb_raise( rb_eArgError, "no block given" );
|
4381
|
-
|
4382
|
-
std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > >::iterator i = self->begin();
|
4383
|
-
std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > >::iterator e = self->end();
|
4384
|
-
for ( ; i != e; )
|
4385
|
-
{
|
4386
|
-
VALUE r = swig::from< std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > >::value_type >(*i);
|
4387
|
-
if ( RTEST( rb_yield(r) ) ) {
|
4388
|
-
self->erase(i++);
|
4389
|
-
e = self->end();
|
4390
|
-
} else {
|
4391
|
-
++i;
|
4392
|
-
}
|
4393
|
-
}
|
4394
|
-
|
4395
|
-
return self;
|
4396
|
-
}
|
4397
4362
|
SWIGINTERN VALUE std_vector_Sl_EveCache_MarketOrder_Sg__delete_at(std::vector< EveCache::MarketOrder > *self,std::vector< EveCache::MarketOrder >::difference_type i){
|
4398
4363
|
VALUE r = Qnil;
|
4399
4364
|
try {
|
@@ -4410,6 +4375,14 @@ SWIGINTERN VALUE std_vector_Sl_EveCache_MarketOrder_Sg____delete2__(std::vector<
|
|
4410
4375
|
VALUE r = Qnil;
|
4411
4376
|
return r;
|
4412
4377
|
}
|
4378
|
+
SWIGINTERN std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *std_vector_Sl_EveCache_MarketOrder_Sg__reject_bang(std::vector< EveCache::MarketOrder > *self){
|
4379
|
+
if ( !rb_block_given_p() )
|
4380
|
+
rb_raise( rb_eArgError, "no block given" );
|
4381
|
+
|
4382
|
+
self->erase( std::remove_if( self->begin(), self->end(),
|
4383
|
+
swig::yield< std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > >::value_type >() ), self->end() );
|
4384
|
+
return self;
|
4385
|
+
}
|
4413
4386
|
SWIGINTERN VALUE std_vector_Sl_EveCache_MarketOrder_Sg__pop(std::vector< EveCache::MarketOrder > *self){
|
4414
4387
|
if (self->empty()) return Qnil;
|
4415
4388
|
std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > >::value_type x = self->back();
|
@@ -4471,7 +4444,6 @@ SWIGINTERN VALUE std_vector_Sl_EveCache_MarketOrder_Sg____getitem____SWIG_2(std:
|
|
4471
4444
|
rb_raise( rb_eTypeError, "not a valid index or range" );
|
4472
4445
|
}
|
4473
4446
|
|
4474
|
-
VALUE r = Qnil;
|
4475
4447
|
static ID id_end = rb_intern("end");
|
4476
4448
|
static ID id_start = rb_intern("begin");
|
4477
4449
|
static ID id_noend = rb_intern("exclude_end?");
|
@@ -4591,6 +4563,10 @@ SWIG_From_size_t (size_t value)
|
|
4591
4563
|
return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
|
4592
4564
|
}
|
4593
4565
|
|
4566
|
+
SWIGINTERN std::vector< EveCache::MarketOrder >::iterator std_vector_Sl_EveCache_MarketOrder_Sg__erase__SWIG_0(std::vector< EveCache::MarketOrder > *self,std::vector< EveCache::MarketOrder >::iterator pos){ return self->erase(pos); }
|
4567
|
+
SWIGINTERN std::vector< EveCache::MarketOrder >::iterator std_vector_Sl_EveCache_MarketOrder_Sg__erase__SWIG_1(std::vector< EveCache::MarketOrder > *self,std::vector< EveCache::MarketOrder >::iterator first,std::vector< EveCache::MarketOrder >::iterator last){ return self->erase(first, last); }
|
4568
|
+
SWIGINTERN std::vector< EveCache::MarketOrder >::iterator std_vector_Sl_EveCache_MarketOrder_Sg__insert__SWIG_1(std::vector< EveCache::MarketOrder > *self,std::vector< EveCache::MarketOrder >::iterator pos,std::vector< EveCache::MarketOrder >::value_type const &x){ return self->insert(pos, x); }
|
4569
|
+
SWIGINTERN void std_vector_Sl_EveCache_MarketOrder_Sg__insert__SWIG_2(std::vector< EveCache::MarketOrder > *self,std::vector< EveCache::MarketOrder >::iterator pos,std::vector< EveCache::MarketOrder >::size_type n,std::vector< EveCache::MarketOrder >::value_type const &x){ self->insert(pos, n, x); }
|
4594
4570
|
|
4595
4571
|
namespace swig {
|
4596
4572
|
template <> struct traits<unsigned char > {
|
@@ -4714,25 +4690,6 @@ SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vec
|
|
4714
4690
|
|
4715
4691
|
return r;
|
4716
4692
|
}
|
4717
|
-
SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg__reject_bang(std::vector< unsigned char > *self){
|
4718
|
-
if ( !rb_block_given_p() )
|
4719
|
-
rb_raise( rb_eArgError, "no block given" );
|
4720
|
-
|
4721
|
-
std::vector<unsigned char,std::allocator< unsigned char > >::iterator i = self->begin();
|
4722
|
-
std::vector<unsigned char,std::allocator< unsigned char > >::iterator e = self->end();
|
4723
|
-
for ( ; i != e; )
|
4724
|
-
{
|
4725
|
-
VALUE r = swig::from< std::vector<unsigned char,std::allocator< unsigned char > >::value_type >(*i);
|
4726
|
-
if ( RTEST( rb_yield(r) ) ) {
|
4727
|
-
self->erase(i++);
|
4728
|
-
e = self->end();
|
4729
|
-
} else {
|
4730
|
-
++i;
|
4731
|
-
}
|
4732
|
-
}
|
4733
|
-
|
4734
|
-
return self;
|
4735
|
-
}
|
4736
4693
|
SWIGINTERN VALUE std_vector_Sl_unsigned_SS_char_Sg__delete_at(std::vector< unsigned char > *self,std::vector< unsigned char >::difference_type i){
|
4737
4694
|
VALUE r = Qnil;
|
4738
4695
|
try {
|
@@ -4749,6 +4706,14 @@ SWIGINTERN VALUE std_vector_Sl_unsigned_SS_char_Sg____delete2__(std::vector< uns
|
|
4749
4706
|
VALUE r = Qnil;
|
4750
4707
|
return r;
|
4751
4708
|
}
|
4709
|
+
SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg__reject_bang(std::vector< unsigned char > *self){
|
4710
|
+
if ( !rb_block_given_p() )
|
4711
|
+
rb_raise( rb_eArgError, "no block given" );
|
4712
|
+
|
4713
|
+
self->erase( std::remove_if( self->begin(), self->end(),
|
4714
|
+
swig::yield< std::vector<unsigned char,std::allocator< unsigned char > >::value_type >() ), self->end() );
|
4715
|
+
return self;
|
4716
|
+
}
|
4752
4717
|
SWIGINTERN VALUE std_vector_Sl_unsigned_SS_char_Sg__pop(std::vector< unsigned char > *self){
|
4753
4718
|
if (self->empty()) return Qnil;
|
4754
4719
|
std::vector<unsigned char,std::allocator< unsigned char > >::value_type x = self->back();
|
@@ -4810,7 +4775,6 @@ SWIGINTERN VALUE std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_2(std::vec
|
|
4810
4775
|
rb_raise( rb_eTypeError, "not a valid index or range" );
|
4811
4776
|
}
|
4812
4777
|
|
4813
|
-
VALUE r = Qnil;
|
4814
4778
|
static ID id_end = rb_intern("end");
|
4815
4779
|
static ID id_start = rb_intern("begin");
|
4816
4780
|
static ID id_noend = rb_intern("exclude_end?");
|
@@ -4923,6 +4887,10 @@ SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vec
|
|
4923
4887
|
|
4924
4888
|
return self;
|
4925
4889
|
}
|
4890
|
+
SWIGINTERN std::vector< unsigned char >::iterator std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(std::vector< unsigned char > *self,std::vector< unsigned char >::iterator pos){ return self->erase(pos); }
|
4891
|
+
SWIGINTERN std::vector< unsigned char >::iterator std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(std::vector< unsigned char > *self,std::vector< unsigned char >::iterator first,std::vector< unsigned char >::iterator last){ return self->erase(first, last); }
|
4892
|
+
SWIGINTERN std::vector< unsigned char >::iterator std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(std::vector< unsigned char > *self,std::vector< unsigned char >::iterator pos,std::vector< unsigned char >::value_type const &x){ return self->insert(pos, x); }
|
4893
|
+
SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_2(std::vector< unsigned char > *self,std::vector< unsigned char >::iterator pos,std::vector< unsigned char >::size_type n,std::vector< unsigned char >::value_type const &x){ self->insert(pos, n, x); }
|
4926
4894
|
static swig_class SwigClassGC_VALUE;
|
4927
4895
|
|
4928
4896
|
|
@@ -6177,7 +6145,7 @@ _wrap_new_SNode__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
6177
6145
|
}
|
6178
6146
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
6179
6147
|
if (!SWIG_IsOK(ecode1)) {
|
6180
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "EveCache::EStreamCode","
|
6148
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "EveCache::EStreamCode","SNode", 1, argv[0] ));
|
6181
6149
|
}
|
6182
6150
|
arg1 = static_cast< EveCache::EStreamCode >(val1);
|
6183
6151
|
result = (EveCache::SNode *)new EveCache::SNode(arg1);
|
@@ -6217,10 +6185,10 @@ _wrap_new_SNode__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
6217
6185
|
}
|
6218
6186
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__SNode, 0 );
|
6219
6187
|
if (!SWIG_IsOK(res1)) {
|
6220
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SNode const &","
|
6188
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SNode const &","SNode", 1, argv[0] ));
|
6221
6189
|
}
|
6222
6190
|
if (!argp1) {
|
6223
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SNode const &","
|
6191
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SNode const &","SNode", 1, argv[0]));
|
6224
6192
|
}
|
6225
6193
|
arg1 = reinterpret_cast< EveCache::SNode * >(argp1);
|
6226
6194
|
result = (EveCache::SNode *)new EveCache::SNode((EveCache::SNode const &)*arg1);
|
@@ -6467,7 +6435,7 @@ _wrap_new_SStreamNode__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
6467
6435
|
}
|
6468
6436
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
6469
6437
|
if (!SWIG_IsOK(ecode1)) {
|
6470
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "EveCache::EStreamCode","
|
6438
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "EveCache::EStreamCode","SStreamNode", 1, argv[0] ));
|
6471
6439
|
}
|
6472
6440
|
arg1 = static_cast< EveCache::EStreamCode >(val1);
|
6473
6441
|
result = (EveCache::SStreamNode *)new EveCache::SStreamNode(arg1);
|
@@ -6507,10 +6475,10 @@ _wrap_new_SStreamNode__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
6507
6475
|
}
|
6508
6476
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__SStreamNode, 0 );
|
6509
6477
|
if (!SWIG_IsOK(res1)) {
|
6510
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SStreamNode const &","
|
6478
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SStreamNode const &","SStreamNode", 1, argv[0] ));
|
6511
6479
|
}
|
6512
6480
|
if (!argp1) {
|
6513
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SStreamNode const &","
|
6481
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SStreamNode const &","SStreamNode", 1, argv[0]));
|
6514
6482
|
}
|
6515
6483
|
arg1 = reinterpret_cast< EveCache::SStreamNode * >(argp1);
|
6516
6484
|
result = (EveCache::SStreamNode *)new EveCache::SStreamNode((EveCache::SStreamNode const &)*arg1);
|
@@ -6736,7 +6704,7 @@ _wrap_new_STuple__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
6736
6704
|
}
|
6737
6705
|
ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
|
6738
6706
|
if (!SWIG_IsOK(ecode1)) {
|
6739
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned int","
|
6707
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned int","STuple", 1, argv[0] ));
|
6740
6708
|
}
|
6741
6709
|
arg1 = static_cast< unsigned int >(val1);
|
6742
6710
|
result = (EveCache::STuple *)new EveCache::STuple(arg1);
|
@@ -6776,10 +6744,10 @@ _wrap_new_STuple__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
6776
6744
|
}
|
6777
6745
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__STuple, 0 );
|
6778
6746
|
if (!SWIG_IsOK(res1)) {
|
6779
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::STuple const &","
|
6747
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::STuple const &","STuple", 1, argv[0] ));
|
6780
6748
|
}
|
6781
6749
|
if (!argp1) {
|
6782
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::STuple const &","
|
6750
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::STuple const &","STuple", 1, argv[0]));
|
6783
6751
|
}
|
6784
6752
|
arg1 = reinterpret_cast< EveCache::STuple * >(argp1);
|
6785
6753
|
result = (EveCache::STuple *)new EveCache::STuple((EveCache::STuple const &)*arg1);
|
@@ -6958,7 +6926,7 @@ _wrap_new_SDict__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
6958
6926
|
}
|
6959
6927
|
ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
|
6960
6928
|
if (!SWIG_IsOK(ecode1)) {
|
6961
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned int","
|
6929
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned int","SDict", 1, argv[0] ));
|
6962
6930
|
}
|
6963
6931
|
arg1 = static_cast< unsigned int >(val1);
|
6964
6932
|
result = (EveCache::SDict *)new EveCache::SDict(arg1);
|
@@ -6998,10 +6966,10 @@ _wrap_new_SDict__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
6998
6966
|
}
|
6999
6967
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__SDict, 0 );
|
7000
6968
|
if (!SWIG_IsOK(res1)) {
|
7001
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SDict const &","
|
6969
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SDict const &","SDict", 1, argv[0] ));
|
7002
6970
|
}
|
7003
6971
|
if (!argp1) {
|
7004
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SDict const &","
|
6972
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::SDict const &","SDict", 1, argv[0]));
|
7005
6973
|
}
|
7006
6974
|
arg1 = reinterpret_cast< EveCache::SDict * >(argp1);
|
7007
6975
|
result = (EveCache::SDict *)new EveCache::SDict((EveCache::SDict const &)*arg1);
|
@@ -7332,7 +7300,7 @@ _wrap_new_SMarker(int argc, VALUE *argv, VALUE self) {
|
|
7332
7300
|
}
|
7333
7301
|
ecode1 = SWIG_AsVal_unsigned_SS_char(argv[0], &val1);
|
7334
7302
|
if (!SWIG_IsOK(ecode1)) {
|
7335
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","
|
7303
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned char","SMarker", 1, argv[0] ));
|
7336
7304
|
}
|
7337
7305
|
arg1 = static_cast< unsigned char >(val1);
|
7338
7306
|
result = (EveCache::SMarker *)new EveCache::SMarker(arg1);
|
@@ -7485,10 +7453,10 @@ _wrap_new_SIdent(int argc, VALUE *argv, VALUE self) {
|
|
7485
7453
|
std::string *ptr = (std::string *)0;
|
7486
7454
|
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
7487
7455
|
if (!SWIG_IsOK(res1)) {
|
7488
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","
|
7456
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","SIdent", 1, argv[0] ));
|
7489
7457
|
}
|
7490
7458
|
if (!ptr) {
|
7491
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","
|
7459
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","SIdent", 1, argv[0]));
|
7492
7460
|
}
|
7493
7461
|
arg1 = ptr;
|
7494
7462
|
}
|
@@ -7620,10 +7588,10 @@ _wrap_new_SString(int argc, VALUE *argv, VALUE self) {
|
|
7620
7588
|
std::string *ptr = (std::string *)0;
|
7621
7589
|
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
7622
7590
|
if (!SWIG_IsOK(res1)) {
|
7623
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","
|
7591
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","SString", 1, argv[0] ));
|
7624
7592
|
}
|
7625
7593
|
if (!ptr) {
|
7626
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","
|
7594
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","SString", 1, argv[0]));
|
7627
7595
|
}
|
7628
7596
|
arg1 = ptr;
|
7629
7597
|
}
|
@@ -7754,7 +7722,7 @@ _wrap_new_SInt(int argc, VALUE *argv, VALUE self) {
|
|
7754
7722
|
}
|
7755
7723
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
7756
7724
|
if (!SWIG_IsOK(ecode1)) {
|
7757
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
7725
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","SInt", 1, argv[0] ));
|
7758
7726
|
}
|
7759
7727
|
arg1 = static_cast< int >(val1);
|
7760
7728
|
result = (EveCache::SInt *)new EveCache::SInt(arg1);
|
@@ -7882,7 +7850,7 @@ _wrap_new_SReal(int argc, VALUE *argv, VALUE self) {
|
|
7882
7850
|
}
|
7883
7851
|
ecode1 = SWIG_AsVal_double(argv[0], &val1);
|
7884
7852
|
if (!SWIG_IsOK(ecode1)) {
|
7885
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","
|
7853
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","SReal", 1, argv[0] ));
|
7886
7854
|
}
|
7887
7855
|
arg1 = static_cast< double >(val1);
|
7888
7856
|
result = (EveCache::SReal *)new EveCache::SReal(arg1);
|
@@ -8010,7 +7978,7 @@ _wrap_new_SLongLong(int argc, VALUE *argv, VALUE self) {
|
|
8010
7978
|
}
|
8011
7979
|
ecode1 = SWIG_AsVal_long_SS_long(argv[0], &val1);
|
8012
7980
|
if (!SWIG_IsOK(ecode1)) {
|
8013
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "long long","
|
7981
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "long long","SLongLong", 1, argv[0] ));
|
8014
7982
|
}
|
8015
7983
|
arg1 = static_cast< long long >(val1);
|
8016
7984
|
result = (EveCache::SLongLong *)new EveCache::SLongLong(arg1);
|
@@ -8258,7 +8226,7 @@ _wrap_new_SSubstream(int argc, VALUE *argv, VALUE self) {
|
|
8258
8226
|
}
|
8259
8227
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
8260
8228
|
if (!SWIG_IsOK(ecode1)) {
|
8261
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
8229
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","SSubstream", 1, argv[0] ));
|
8262
8230
|
}
|
8263
8231
|
arg1 = static_cast< int >(val1);
|
8264
8232
|
result = (EveCache::SSubstream *)new EveCache::SSubstream(arg1);
|
@@ -8365,15 +8333,15 @@ _wrap_new_SDBRow(int argc, VALUE *argv, VALUE self) {
|
|
8365
8333
|
}
|
8366
8334
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
8367
8335
|
if (!SWIG_IsOK(ecode1)) {
|
8368
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
8336
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","SDBRow", 1, argv[0] ));
|
8369
8337
|
}
|
8370
8338
|
arg1 = static_cast< int >(val1);
|
8371
8339
|
res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 );
|
8372
8340
|
if (!SWIG_IsOK(res2)) {
|
8373
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::vector< unsigned char,std::allocator< unsigned char > > const &","
|
8341
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::vector< unsigned char,std::allocator< unsigned char > > const &","SDBRow", 2, argv[1] ));
|
8374
8342
|
}
|
8375
8343
|
if (!argp2) {
|
8376
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char,std::allocator< unsigned char > > const &","
|
8344
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char,std::allocator< unsigned char > > const &","SDBRow", 2, argv[1]));
|
8377
8345
|
}
|
8378
8346
|
arg2 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp2);
|
8379
8347
|
result = (EveCache::SDBRow *)new EveCache::SDBRow(arg1,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg2);
|
@@ -8626,7 +8594,7 @@ _wrap_new_Parser(int argc, VALUE *argv, VALUE self) {
|
|
8626
8594
|
}
|
8627
8595
|
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_EveCache__CacheFile_Iterator, 0 | 0 );
|
8628
8596
|
if (!SWIG_IsOK(res1)) {
|
8629
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile_Iterator *","
|
8597
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile_Iterator *","Parser", 1, argv[0] ));
|
8630
8598
|
}
|
8631
8599
|
arg1 = reinterpret_cast< EveCache::CacheFile_Iterator * >(argp1);
|
8632
8600
|
result = (EveCache::Parser *)new EveCache::Parser(arg1);
|
@@ -9509,12 +9477,12 @@ _wrap_new_MarketList__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9509
9477
|
}
|
9510
9478
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
9511
9479
|
if (!SWIG_IsOK(ecode1)) {
|
9512
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
9480
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","MarketList", 1, argv[0] ));
|
9513
9481
|
}
|
9514
9482
|
arg1 = static_cast< int >(val1);
|
9515
9483
|
ecode2 = SWIG_AsVal_int(argv[1], &val2);
|
9516
9484
|
if (!SWIG_IsOK(ecode2)) {
|
9517
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","
|
9485
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","MarketList", 2, argv[1] ));
|
9518
9486
|
}
|
9519
9487
|
arg2 = static_cast< int >(val2);
|
9520
9488
|
result = (EveCache::MarketList *)new EveCache::MarketList(arg1,arg2);
|
@@ -9569,10 +9537,10 @@ _wrap_new_MarketList__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
9569
9537
|
}
|
9570
9538
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__MarketList, 0 );
|
9571
9539
|
if (!SWIG_IsOK(res1)) {
|
9572
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::MarketList const &","
|
9540
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::MarketList const &","MarketList", 1, argv[0] ));
|
9573
9541
|
}
|
9574
9542
|
if (!argp1) {
|
9575
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::MarketList const &","
|
9543
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::MarketList const &","MarketList", 1, argv[0]));
|
9576
9544
|
}
|
9577
9545
|
arg1 = reinterpret_cast< EveCache::MarketList * >(argp1);
|
9578
9546
|
result = (EveCache::MarketList *)new EveCache::MarketList((EveCache::MarketList const &)*arg1);
|
@@ -9890,7 +9858,7 @@ _wrap_new_MarketParser__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9890
9858
|
}
|
9891
9859
|
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_EveCache__SNode, 0 | 0 );
|
9892
9860
|
if (!SWIG_IsOK(res1)) {
|
9893
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SNode const *","
|
9861
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::SNode const *","MarketParser", 1, argv[0] ));
|
9894
9862
|
}
|
9895
9863
|
arg1 = reinterpret_cast< EveCache::SNode * >(argp1);
|
9896
9864
|
result = (EveCache::MarketParser *)new EveCache::MarketParser((EveCache::SNode const *)arg1);
|
@@ -9988,7 +9956,7 @@ _wrap_new_MarketParser__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
9988
9956
|
}
|
9989
9957
|
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
9990
9958
|
if (!SWIG_IsOK(res1)) {
|
9991
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","
|
9959
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","MarketParser", 1, argv[0] ));
|
9992
9960
|
}
|
9993
9961
|
arg1 = reinterpret_cast< char * >(buf1);
|
9994
9962
|
result = (EveCache::MarketParser *)new EveCache::MarketParser((char const *)arg1);
|
@@ -10030,7 +9998,7 @@ _wrap_new_MarketParser__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
10030
9998
|
std::string *ptr = (std::string *)0;
|
10031
9999
|
int res = SWIG_AsPtr_std_string(argv[0], &ptr);
|
10032
10000
|
if (!SWIG_IsOK(res) || !ptr) {
|
10033
|
-
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), Ruby_Format_TypeError( "", "std::string const","
|
10001
|
+
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), Ruby_Format_TypeError( "", "std::string const","MarketParser", 1, argv[0] ));
|
10034
10002
|
}
|
10035
10003
|
arg1 = *ptr;
|
10036
10004
|
if (SWIG_IsNewObj(res)) delete ptr;
|
@@ -10104,10 +10072,10 @@ _wrap_new_CacheFile__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
10104
10072
|
std::string *ptr = (std::string *)0;
|
10105
10073
|
res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
|
10106
10074
|
if (!SWIG_IsOK(res1)) {
|
10107
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","
|
10075
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","CacheFile", 1, argv[0] ));
|
10108
10076
|
}
|
10109
10077
|
if (!ptr) {
|
10110
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","
|
10078
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","CacheFile", 1, argv[0]));
|
10111
10079
|
}
|
10112
10080
|
arg1 = ptr;
|
10113
10081
|
}
|
@@ -10133,10 +10101,10 @@ _wrap_new_CacheFile__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
10133
10101
|
}
|
10134
10102
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__CacheFile, 0 );
|
10135
10103
|
if (!SWIG_IsOK(res1)) {
|
10136
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile const &","
|
10104
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile const &","CacheFile", 1, argv[0] ));
|
10137
10105
|
}
|
10138
10106
|
if (!argp1) {
|
10139
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::CacheFile const &","
|
10107
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::CacheFile const &","CacheFile", 1, argv[0]));
|
10140
10108
|
}
|
10141
10109
|
arg1 = reinterpret_cast< EveCache::CacheFile * >(argp1);
|
10142
10110
|
result = (EveCache::CacheFile *)new EveCache::CacheFile((EveCache::CacheFile const &)*arg1);
|
@@ -10176,10 +10144,10 @@ _wrap_new_CacheFile__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
10176
10144
|
}
|
10177
10145
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 );
|
10178
10146
|
if (!SWIG_IsOK(res1)) {
|
10179
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char,std::allocator< unsigned char > > &","
|
10147
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char,std::allocator< unsigned char > > &","CacheFile", 1, argv[0] ));
|
10180
10148
|
}
|
10181
10149
|
if (!argp1) {
|
10182
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char,std::allocator< unsigned char > > &","
|
10150
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char,std::allocator< unsigned char > > &","CacheFile", 1, argv[0]));
|
10183
10151
|
}
|
10184
10152
|
arg1 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp1);
|
10185
10153
|
result = (EveCache::CacheFile *)new EveCache::CacheFile(*arg1);
|
@@ -10453,17 +10421,17 @@ _wrap_new_CacheFile_Iterator__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
10453
10421
|
}
|
10454
10422
|
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_EveCache__CacheFile, 0 | 0 );
|
10455
10423
|
if (!SWIG_IsOK(res1)) {
|
10456
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile const *","
|
10424
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile const *","CacheFile_Iterator", 1, argv[0] ));
|
10457
10425
|
}
|
10458
10426
|
arg1 = reinterpret_cast< EveCache::CacheFile * >(argp1);
|
10459
10427
|
ecode2 = SWIG_AsVal_int(argv[1], &val2);
|
10460
10428
|
if (!SWIG_IsOK(ecode2)) {
|
10461
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","
|
10429
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","CacheFile_Iterator", 2, argv[1] ));
|
10462
10430
|
}
|
10463
10431
|
arg2 = static_cast< int >(val2);
|
10464
10432
|
ecode3 = SWIG_AsVal_int(argv[2], &val3);
|
10465
10433
|
if (!SWIG_IsOK(ecode3)) {
|
10466
|
-
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","
|
10434
|
+
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","CacheFile_Iterator", 3, argv[2] ));
|
10467
10435
|
}
|
10468
10436
|
arg3 = static_cast< int >(val3);
|
10469
10437
|
result = (EveCache::CacheFile_Iterator *)new EveCache::CacheFile_Iterator((EveCache::CacheFile const *)arg1,arg2,arg3);
|
@@ -10503,10 +10471,10 @@ _wrap_new_CacheFile_Iterator__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
10503
10471
|
}
|
10504
10472
|
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_EveCache__CacheFile_Iterator, 0 );
|
10505
10473
|
if (!SWIG_IsOK(res1)) {
|
10506
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile_Iterator const &","
|
10474
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EveCache::CacheFile_Iterator const &","CacheFile_Iterator", 1, argv[0] ));
|
10507
10475
|
}
|
10508
10476
|
if (!argp1) {
|
10509
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::CacheFile_Iterator const &","
|
10477
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "EveCache::CacheFile_Iterator const &","CacheFile_Iterator", 1, argv[0]));
|
10510
10478
|
}
|
10511
10479
|
arg1 = reinterpret_cast< EveCache::CacheFile_Iterator * >(argp1);
|
10512
10480
|
result = (EveCache::CacheFile_Iterator *)new EveCache::CacheFile_Iterator((EveCache::CacheFile_Iterator const &)*arg1);
|
@@ -11356,39 +11324,6 @@ fail:
|
|
11356
11324
|
|
11357
11325
|
|
11358
11326
|
|
11359
|
-
/*
|
11360
|
-
Document-method: Evecache::MarketOrderVector.reject!
|
11361
|
-
|
11362
|
-
call-seq:
|
11363
|
-
reject! -> MarketOrderVector
|
11364
|
-
|
11365
|
-
Iterate thru each element in the MarketOrderVector and reject those that fail a condition. A block must be provided. MarketOrderVector is modified in place.
|
11366
|
-
*/
|
11367
|
-
SWIGINTERN VALUE
|
11368
|
-
_wrap_MarketOrderVector_rejectN___(int argc, VALUE *argv, VALUE self) {
|
11369
|
-
std::vector< EveCache::MarketOrder > *arg1 = (std::vector< EveCache::MarketOrder > *) 0 ;
|
11370
|
-
void *argp1 = 0 ;
|
11371
|
-
int res1 = 0 ;
|
11372
|
-
std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *result = 0 ;
|
11373
|
-
VALUE vresult = Qnil;
|
11374
|
-
|
11375
|
-
if ((argc < 0) || (argc > 0)) {
|
11376
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11377
|
-
}
|
11378
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_EveCache__MarketOrder_std__allocatorT_EveCache__MarketOrder_t_t, 0 | 0 );
|
11379
|
-
if (!SWIG_IsOK(res1)) {
|
11380
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder > *","reject_bang", 1, self ));
|
11381
|
-
}
|
11382
|
-
arg1 = reinterpret_cast< std::vector< EveCache::MarketOrder > * >(argp1);
|
11383
|
-
result = (std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *)std_vector_Sl_EveCache_MarketOrder_Sg__reject_bang(arg1);
|
11384
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_EveCache__MarketOrder_std__allocatorT_EveCache__MarketOrder_t_t, 0 | 0 );
|
11385
|
-
return vresult;
|
11386
|
-
fail:
|
11387
|
-
return Qnil;
|
11388
|
-
}
|
11389
|
-
|
11390
|
-
|
11391
|
-
|
11392
11327
|
/*
|
11393
11328
|
Document-method: Evecache::MarketOrderVector.delete_at
|
11394
11329
|
|
@@ -11465,6 +11400,39 @@ fail:
|
|
11465
11400
|
|
11466
11401
|
|
11467
11402
|
|
11403
|
+
/*
|
11404
|
+
Document-method: Evecache::MarketOrderVector.reject!
|
11405
|
+
|
11406
|
+
call-seq:
|
11407
|
+
reject! -> MarketOrderVector
|
11408
|
+
|
11409
|
+
Iterate thru each element in the MarketOrderVector and reject those that fail a condition. A block must be provided. MarketOrderVector is modified in place.
|
11410
|
+
*/
|
11411
|
+
SWIGINTERN VALUE
|
11412
|
+
_wrap_MarketOrderVector_rejectN___(int argc, VALUE *argv, VALUE self) {
|
11413
|
+
std::vector< EveCache::MarketOrder > *arg1 = (std::vector< EveCache::MarketOrder > *) 0 ;
|
11414
|
+
void *argp1 = 0 ;
|
11415
|
+
int res1 = 0 ;
|
11416
|
+
std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *result = 0 ;
|
11417
|
+
VALUE vresult = Qnil;
|
11418
|
+
|
11419
|
+
if ((argc < 0) || (argc > 0)) {
|
11420
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
11421
|
+
}
|
11422
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_EveCache__MarketOrder_std__allocatorT_EveCache__MarketOrder_t_t, 0 | 0 );
|
11423
|
+
if (!SWIG_IsOK(res1)) {
|
11424
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder > *","reject_bang", 1, self ));
|
11425
|
+
}
|
11426
|
+
arg1 = reinterpret_cast< std::vector< EveCache::MarketOrder > * >(argp1);
|
11427
|
+
result = (std::vector< EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *)std_vector_Sl_EveCache_MarketOrder_Sg__reject_bang(arg1);
|
11428
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_EveCache__MarketOrder_std__allocatorT_EveCache__MarketOrder_t_t, 0 | 0 );
|
11429
|
+
return vresult;
|
11430
|
+
fail:
|
11431
|
+
return Qnil;
|
11432
|
+
}
|
11433
|
+
|
11434
|
+
|
11435
|
+
|
11468
11436
|
/*
|
11469
11437
|
Document-method: Evecache::MarketOrderVector.pop
|
11470
11438
|
|
@@ -12120,10 +12088,10 @@ _wrap_new_MarketOrderVector__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
12120
12088
|
std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *ptr = (std::vector<EveCache::MarketOrder,std::allocator< EveCache::MarketOrder > > *)0;
|
12121
12089
|
res1 = swig::asptr(argv[0], &ptr);
|
12122
12090
|
if (!SWIG_IsOK(res1)) {
|
12123
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder > const &","
|
12091
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder > const &","vector<(EveCache::MarketOrder)>", 1, argv[0] ));
|
12124
12092
|
}
|
12125
12093
|
if (!ptr) {
|
12126
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder > const &","
|
12094
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder > const &","vector<(EveCache::MarketOrder)>", 1, argv[0]));
|
12127
12095
|
}
|
12128
12096
|
arg1 = ptr;
|
12129
12097
|
}
|
@@ -12441,7 +12409,7 @@ _wrap_new_MarketOrderVector__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
12441
12409
|
}
|
12442
12410
|
ecode1 = SWIG_AsVal_size_t(argv[0], &val1);
|
12443
12411
|
if (!SWIG_IsOK(ecode1)) {
|
12444
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::size_type","
|
12412
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::size_type","vector<(EveCache::MarketOrder)>", 1, argv[0] ));
|
12445
12413
|
}
|
12446
12414
|
arg1 = static_cast< std::vector< EveCache::MarketOrder >::size_type >(val1);
|
12447
12415
|
result = (std::vector< EveCache::MarketOrder > *)new std::vector< EveCache::MarketOrder >(arg1);
|
@@ -12531,7 +12499,7 @@ _wrap_MarketOrderVector_erase__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
12531
12499
|
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::iterator","erase", 2, argv[0] ));
|
12532
12500
|
}
|
12533
12501
|
}
|
12534
|
-
result = (arg1
|
12502
|
+
result = std_vector_Sl_EveCache_MarketOrder_Sg__erase__SWIG_0(arg1,arg2);
|
12535
12503
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< EveCache::MarketOrder >::iterator & >(result),
|
12536
12504
|
self),
|
12537
12505
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -12585,7 +12553,7 @@ _wrap_MarketOrderVector_erase__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
12585
12553
|
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::iterator","erase", 3, argv[1] ));
|
12586
12554
|
}
|
12587
12555
|
}
|
12588
|
-
result = (arg1
|
12556
|
+
result = std_vector_Sl_EveCache_MarketOrder_Sg__erase__SWIG_1(arg1,arg2,arg3);
|
12589
12557
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< EveCache::MarketOrder >::iterator & >(result),
|
12590
12558
|
self),
|
12591
12559
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -12642,9 +12610,9 @@ SWIGINTERN VALUE _wrap_MarketOrderVector_erase(int nargs, VALUE *args, VALUE sel
|
|
12642
12610
|
}
|
12643
12611
|
|
12644
12612
|
fail:
|
12645
|
-
Ruby_Format_OverloadedError( argc, 4, "
|
12646
|
-
" std::vector< EveCache::MarketOrder >::iterator
|
12647
|
-
" std::vector< EveCache::MarketOrder >::iterator
|
12613
|
+
Ruby_Format_OverloadedError( argc, 4, "erase",
|
12614
|
+
" std::vector< EveCache::MarketOrder >::iterator erase(std::vector< EveCache::MarketOrder >::iterator pos)\n"
|
12615
|
+
" std::vector< EveCache::MarketOrder >::iterator erase(std::vector< EveCache::MarketOrder >::iterator first, std::vector< EveCache::MarketOrder >::iterator last)\n");
|
12648
12616
|
|
12649
12617
|
return Qnil;
|
12650
12618
|
}
|
@@ -12682,15 +12650,15 @@ _wrap_new_MarketOrderVector__SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
12682
12650
|
}
|
12683
12651
|
ecode1 = SWIG_AsVal_size_t(argv[0], &val1);
|
12684
12652
|
if (!SWIG_IsOK(ecode1)) {
|
12685
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::size_type","
|
12653
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::size_type","vector<(EveCache::MarketOrder)>", 1, argv[0] ));
|
12686
12654
|
}
|
12687
12655
|
arg1 = static_cast< std::vector< EveCache::MarketOrder >::size_type >(val1);
|
12688
12656
|
res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_EveCache__MarketOrder, 0 );
|
12689
12657
|
if (!SWIG_IsOK(res2)) {
|
12690
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::value_type const &","
|
12658
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::vector< EveCache::MarketOrder >::value_type const &","vector<(EveCache::MarketOrder)>", 2, argv[1] ));
|
12691
12659
|
}
|
12692
12660
|
if (!argp2) {
|
12693
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder >::value_type const &","
|
12661
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder >::value_type const &","vector<(EveCache::MarketOrder)>", 2, argv[1]));
|
12694
12662
|
}
|
12695
12663
|
arg2 = reinterpret_cast< std::vector< EveCache::MarketOrder >::value_type * >(argp2);
|
12696
12664
|
result = (std::vector< EveCache::MarketOrder > *)new std::vector< EveCache::MarketOrder >(arg1,(std::vector< EveCache::MarketOrder >::value_type const &)*arg2);
|
@@ -13030,7 +12998,7 @@ _wrap_MarketOrderVector_insert__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
13030
12998
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder >::value_type const &","insert", 3, argv[1]));
|
13031
12999
|
}
|
13032
13000
|
arg3 = reinterpret_cast< std::vector< EveCache::MarketOrder >::value_type * >(argp3);
|
13033
|
-
result = (arg1
|
13001
|
+
result = std_vector_Sl_EveCache_MarketOrder_Sg__insert__SWIG_1(arg1,arg2,(EveCache::MarketOrder const &)*arg3);
|
13034
13002
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< EveCache::MarketOrder >::iterator & >(result),
|
13035
13003
|
self),
|
13036
13004
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -13087,7 +13055,7 @@ _wrap_MarketOrderVector_insert__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
13087
13055
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< EveCache::MarketOrder >::value_type const &","insert", 4, argv[2]));
|
13088
13056
|
}
|
13089
13057
|
arg4 = reinterpret_cast< std::vector< EveCache::MarketOrder >::value_type * >(argp4);
|
13090
|
-
(arg1
|
13058
|
+
std_vector_Sl_EveCache_MarketOrder_Sg__insert__SWIG_2(arg1,arg2,arg3,(EveCache::MarketOrder const &)*arg4);
|
13091
13059
|
return Qnil;
|
13092
13060
|
fail:
|
13093
13061
|
return Qnil;
|
@@ -13509,39 +13477,6 @@ fail:
|
|
13509
13477
|
|
13510
13478
|
|
13511
13479
|
|
13512
|
-
/*
|
13513
|
-
Document-method: Evecache::UnsignedCharVector.reject!
|
13514
|
-
|
13515
|
-
call-seq:
|
13516
|
-
reject! -> UnsignedCharVector
|
13517
|
-
|
13518
|
-
Iterate thru each element in the UnsignedCharVector and reject those that fail a condition. A block must be provided. UnsignedCharVector is modified in place.
|
13519
|
-
*/
|
13520
|
-
SWIGINTERN VALUE
|
13521
|
-
_wrap_UnsignedCharVector_rejectN___(int argc, VALUE *argv, VALUE self) {
|
13522
|
-
std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ;
|
13523
|
-
void *argp1 = 0 ;
|
13524
|
-
int res1 = 0 ;
|
13525
|
-
std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ;
|
13526
|
-
VALUE vresult = Qnil;
|
13527
|
-
|
13528
|
-
if ((argc < 0) || (argc > 0)) {
|
13529
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13530
|
-
}
|
13531
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 );
|
13532
|
-
if (!SWIG_IsOK(res1)) {
|
13533
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char > *","reject_bang", 1, self ));
|
13534
|
-
}
|
13535
|
-
arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1);
|
13536
|
-
result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg__reject_bang(arg1);
|
13537
|
-
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 );
|
13538
|
-
return vresult;
|
13539
|
-
fail:
|
13540
|
-
return Qnil;
|
13541
|
-
}
|
13542
|
-
|
13543
|
-
|
13544
|
-
|
13545
13480
|
/*
|
13546
13481
|
Document-method: Evecache::UnsignedCharVector.delete_at
|
13547
13482
|
|
@@ -13617,6 +13552,39 @@ fail:
|
|
13617
13552
|
|
13618
13553
|
|
13619
13554
|
|
13555
|
+
/*
|
13556
|
+
Document-method: Evecache::UnsignedCharVector.reject!
|
13557
|
+
|
13558
|
+
call-seq:
|
13559
|
+
reject! -> UnsignedCharVector
|
13560
|
+
|
13561
|
+
Iterate thru each element in the UnsignedCharVector and reject those that fail a condition. A block must be provided. UnsignedCharVector is modified in place.
|
13562
|
+
*/
|
13563
|
+
SWIGINTERN VALUE
|
13564
|
+
_wrap_UnsignedCharVector_rejectN___(int argc, VALUE *argv, VALUE self) {
|
13565
|
+
std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ;
|
13566
|
+
void *argp1 = 0 ;
|
13567
|
+
int res1 = 0 ;
|
13568
|
+
std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ;
|
13569
|
+
VALUE vresult = Qnil;
|
13570
|
+
|
13571
|
+
if ((argc < 0) || (argc > 0)) {
|
13572
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
13573
|
+
}
|
13574
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 );
|
13575
|
+
if (!SWIG_IsOK(res1)) {
|
13576
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char > *","reject_bang", 1, self ));
|
13577
|
+
}
|
13578
|
+
arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1);
|
13579
|
+
result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg__reject_bang(arg1);
|
13580
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 );
|
13581
|
+
return vresult;
|
13582
|
+
fail:
|
13583
|
+
return Qnil;
|
13584
|
+
}
|
13585
|
+
|
13586
|
+
|
13587
|
+
|
13620
13588
|
/*
|
13621
13589
|
Document-method: Evecache::UnsignedCharVector.pop
|
13622
13590
|
|
@@ -14271,10 +14239,10 @@ _wrap_new_UnsignedCharVector__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
14271
14239
|
std::vector<unsigned char,std::allocator< unsigned char > > *ptr = (std::vector<unsigned char,std::allocator< unsigned char > > *)0;
|
14272
14240
|
res1 = swig::asptr(argv[0], &ptr);
|
14273
14241
|
if (!SWIG_IsOK(res1)) {
|
14274
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char > const &","
|
14242
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::vector< unsigned char > const &","vector<(unsigned char)>", 1, argv[0] ));
|
14275
14243
|
}
|
14276
14244
|
if (!ptr) {
|
14277
|
-
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char > const &","
|
14245
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::vector< unsigned char > const &","vector<(unsigned char)>", 1, argv[0]));
|
14278
14246
|
}
|
14279
14247
|
arg1 = ptr;
|
14280
14248
|
}
|
@@ -14592,7 +14560,7 @@ _wrap_new_UnsignedCharVector__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
14592
14560
|
}
|
14593
14561
|
ecode1 = SWIG_AsVal_size_t(argv[0], &val1);
|
14594
14562
|
if (!SWIG_IsOK(ecode1)) {
|
14595
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< unsigned char >::size_type","
|
14563
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< unsigned char >::size_type","vector<(unsigned char)>", 1, argv[0] ));
|
14596
14564
|
}
|
14597
14565
|
arg1 = static_cast< std::vector< unsigned char >::size_type >(val1);
|
14598
14566
|
result = (std::vector< unsigned char > *)new std::vector< unsigned char >(arg1);
|
@@ -14682,7 +14650,7 @@ _wrap_UnsignedCharVector_erase__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
14682
14650
|
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), Ruby_Format_TypeError( "", "std::vector< unsigned char >::iterator","erase", 2, argv[0] ));
|
14683
14651
|
}
|
14684
14652
|
}
|
14685
|
-
result = (arg1
|
14653
|
+
result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(arg1,arg2);
|
14686
14654
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result),
|
14687
14655
|
self),
|
14688
14656
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -14736,7 +14704,7 @@ _wrap_UnsignedCharVector_erase__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
14736
14704
|
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), Ruby_Format_TypeError( "", "std::vector< unsigned char >::iterator","erase", 3, argv[1] ));
|
14737
14705
|
}
|
14738
14706
|
}
|
14739
|
-
result = (arg1
|
14707
|
+
result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(arg1,arg2,arg3);
|
14740
14708
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result),
|
14741
14709
|
self),
|
14742
14710
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -14793,9 +14761,9 @@ SWIGINTERN VALUE _wrap_UnsignedCharVector_erase(int nargs, VALUE *args, VALUE se
|
|
14793
14761
|
}
|
14794
14762
|
|
14795
14763
|
fail:
|
14796
|
-
Ruby_Format_OverloadedError( argc, 4, "
|
14797
|
-
" std::vector< unsigned char >::iterator
|
14798
|
-
" std::vector< unsigned char >::iterator
|
14764
|
+
Ruby_Format_OverloadedError( argc, 4, "erase",
|
14765
|
+
" std::vector< unsigned char >::iterator erase(std::vector< unsigned char >::iterator pos)\n"
|
14766
|
+
" std::vector< unsigned char >::iterator erase(std::vector< unsigned char >::iterator first, std::vector< unsigned char >::iterator last)\n");
|
14799
14767
|
|
14800
14768
|
return Qnil;
|
14801
14769
|
}
|
@@ -14834,12 +14802,12 @@ _wrap_new_UnsignedCharVector__SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
14834
14802
|
}
|
14835
14803
|
ecode1 = SWIG_AsVal_size_t(argv[0], &val1);
|
14836
14804
|
if (!SWIG_IsOK(ecode1)) {
|
14837
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< unsigned char >::size_type","
|
14805
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "std::vector< unsigned char >::size_type","vector<(unsigned char)>", 1, argv[0] ));
|
14838
14806
|
}
|
14839
14807
|
arg1 = static_cast< std::vector< unsigned char >::size_type >(val1);
|
14840
14808
|
ecode2 = SWIG_AsVal_unsigned_SS_char(argv[1], &val2);
|
14841
14809
|
if (!SWIG_IsOK(ecode2)) {
|
14842
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "std::vector< unsigned char >::value_type","
|
14810
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "std::vector< unsigned char >::value_type","vector<(unsigned char)>", 2, argv[1] ));
|
14843
14811
|
}
|
14844
14812
|
temp2 = static_cast< std::vector< unsigned char >::value_type >(val2);
|
14845
14813
|
arg2 = &temp2;
|
@@ -15179,7 +15147,7 @@ _wrap_UnsignedCharVector_insert__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
15179
15147
|
}
|
15180
15148
|
temp3 = static_cast< std::vector< unsigned char >::value_type >(val3);
|
15181
15149
|
arg3 = &temp3;
|
15182
|
-
result = (arg1
|
15150
|
+
result = std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(arg1,arg2,(unsigned char const &)*arg3);
|
15183
15151
|
vresult = SWIG_NewPointerObj(swig::make_nonconst_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result),
|
15184
15152
|
self),
|
15185
15153
|
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
@@ -15235,7 +15203,7 @@ _wrap_UnsignedCharVector_insert__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
15235
15203
|
}
|
15236
15204
|
temp4 = static_cast< std::vector< unsigned char >::value_type >(val4);
|
15237
15205
|
arg4 = &temp4;
|
15238
|
-
(arg1
|
15206
|
+
std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_2(arg1,arg2,arg3,(unsigned char const &)*arg4);
|
15239
15207
|
return Qnil;
|
15240
15208
|
fail:
|
15241
15209
|
return Qnil;
|
@@ -15629,18 +15597,18 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
15629
15597
|
|
15630
15598
|
/* -----------------------------------------------------------------------------
|
15631
15599
|
* Type initialization:
|
15632
|
-
* This problem is tough by the requirement that no dynamic
|
15633
|
-
* memory is used. Also, since swig_type_info structures store pointers to
|
15600
|
+
* This problem is tough by the requirement that no dynamic
|
15601
|
+
* memory is used. Also, since swig_type_info structures store pointers to
|
15634
15602
|
* swig_cast_info structures and swig_cast_info structures store pointers back
|
15635
|
-
* to swig_type_info structures, we need some lookup code at initialization.
|
15636
|
-
* The idea is that swig generates all the structures that are needed.
|
15637
|
-
* The runtime then collects these partially filled structures.
|
15638
|
-
* The SWIG_InitializeModule function takes these initial arrays out of
|
15603
|
+
* to swig_type_info structures, we need some lookup code at initialization.
|
15604
|
+
* The idea is that swig generates all the structures that are needed.
|
15605
|
+
* The runtime then collects these partially filled structures.
|
15606
|
+
* The SWIG_InitializeModule function takes these initial arrays out of
|
15639
15607
|
* swig_module, and does all the lookup, filling in the swig_module.types
|
15640
15608
|
* array with the correct data and linking the correct swig_cast_info
|
15641
15609
|
* structures together.
|
15642
15610
|
*
|
15643
|
-
* The generated swig_type_info structures are assigned
|
15611
|
+
* The generated swig_type_info structures are assigned statically to an initial
|
15644
15612
|
* array. We just loop through that array, and handle each type individually.
|
15645
15613
|
* First we lookup if this type has been already loaded, and if so, use the
|
15646
15614
|
* loaded structure instead of the generated one. Then we have to fill in the
|
@@ -15650,17 +15618,17 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
15650
15618
|
* a column is one of the swig_cast_info structures for that type.
|
15651
15619
|
* The cast_initial array is actually an array of arrays, because each row has
|
15652
15620
|
* a variable number of columns. So to actually build the cast linked list,
|
15653
|
-
* we find the array of casts associated with the type, and loop through it
|
15621
|
+
* we find the array of casts associated with the type, and loop through it
|
15654
15622
|
* adding the casts to the list. The one last trick we need to do is making
|
15655
15623
|
* sure the type pointer in the swig_cast_info struct is correct.
|
15656
15624
|
*
|
15657
|
-
* First off, we lookup the cast->type name to see if it is already loaded.
|
15625
|
+
* First off, we lookup the cast->type name to see if it is already loaded.
|
15658
15626
|
* There are three cases to handle:
|
15659
15627
|
* 1) If the cast->type has already been loaded AND the type we are adding
|
15660
15628
|
* casting info to has not been loaded (it is in this module), THEN we
|
15661
15629
|
* replace the cast->type pointer with the type pointer that has already
|
15662
15630
|
* been loaded.
|
15663
|
-
* 2) If BOTH types (the one we are adding casting info to, and the
|
15631
|
+
* 2) If BOTH types (the one we are adding casting info to, and the
|
15664
15632
|
* cast->type) are loaded, THEN the cast info has already been loaded by
|
15665
15633
|
* the previous module so we just ignore it.
|
15666
15634
|
* 3) Finally, if cast->type has not already been loaded, then we add that
|
@@ -15686,8 +15654,6 @@ SWIG_InitializeModule(void *clientdata) {
|
|
15686
15654
|
swig_module_info *module_head, *iter;
|
15687
15655
|
int found, init;
|
15688
15656
|
|
15689
|
-
clientdata = clientdata;
|
15690
|
-
|
15691
15657
|
/* check to see if the circular list has been setup, if not, set it up */
|
15692
15658
|
if (swig_module.next==0) {
|
15693
15659
|
/* Initialize the swig_module */
|
@@ -15725,7 +15691,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
15725
15691
|
module_head->next = &swig_module;
|
15726
15692
|
}
|
15727
15693
|
|
15728
|
-
/* When multiple
|
15694
|
+
/* When multiple interpreters are used, a module could have already been initialized in
|
15729
15695
|
a different interpreter, but not yet have a pointer in this interpreter.
|
15730
15696
|
In this case, we do not want to continue adding types... everything should be
|
15731
15697
|
set up already */
|
@@ -15739,7 +15705,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
15739
15705
|
swig_type_info *type = 0;
|
15740
15706
|
swig_type_info *ret;
|
15741
15707
|
swig_cast_info *cast;
|
15742
|
-
|
15708
|
+
|
15743
15709
|
#ifdef SWIGRUNTIME_DEBUG
|
15744
15710
|
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
|
15745
15711
|
#endif
|
@@ -15766,7 +15732,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
15766
15732
|
/* Insert casting types */
|
15767
15733
|
cast = swig_module.cast_initial[i];
|
15768
15734
|
while (cast->type) {
|
15769
|
-
|
15735
|
+
|
15770
15736
|
/* Don't need to add information already in the list */
|
15771
15737
|
ret = 0;
|
15772
15738
|
#ifdef SWIGRUNTIME_DEBUG
|
@@ -15891,7 +15857,7 @@ SWIGEXPORT void Init_evecache(void) {
|
|
15891
15857
|
SwigClassGC_VALUE.mark = 0;
|
15892
15858
|
SwigClassGC_VALUE.trackObjects = 0;
|
15893
15859
|
|
15894
|
-
swig::
|
15860
|
+
swig::SwigGCReferences::initialize();
|
15895
15861
|
|
15896
15862
|
|
15897
15863
|
SwigClassConstIterator.klass = rb_define_class_under(mEvecache, "ConstIterator", rb_cObject);
|
@@ -16271,10 +16237,10 @@ SWIGEXPORT void Init_evecache(void) {
|
|
16271
16237
|
rb_define_method(SwigClassMarketOrderVector.klass, "slice", VALUEFUNC(_wrap_MarketOrderVector_slice), -1);
|
16272
16238
|
rb_define_method(SwigClassMarketOrderVector.klass, "each", VALUEFUNC(_wrap_MarketOrderVector_each), -1);
|
16273
16239
|
rb_define_method(SwigClassMarketOrderVector.klass, "select", VALUEFUNC(_wrap_MarketOrderVector_select), -1);
|
16274
|
-
rb_define_method(SwigClassMarketOrderVector.klass, "reject!", VALUEFUNC(_wrap_MarketOrderVector_rejectN___), -1);
|
16275
|
-
rb_define_alias(SwigClassMarketOrderVector.klass, "delete_if", "reject!");
|
16276
16240
|
rb_define_method(SwigClassMarketOrderVector.klass, "delete_at", VALUEFUNC(_wrap_MarketOrderVector_delete_at), -1);
|
16277
16241
|
rb_define_method(SwigClassMarketOrderVector.klass, "__delete2__", VALUEFUNC(_wrap_MarketOrderVector___delete2__), -1);
|
16242
|
+
rb_define_method(SwigClassMarketOrderVector.klass, "reject!", VALUEFUNC(_wrap_MarketOrderVector_rejectN___), -1);
|
16243
|
+
rb_define_alias(SwigClassMarketOrderVector.klass, "delete_if", "reject!");
|
16278
16244
|
rb_define_method(SwigClassMarketOrderVector.klass, "pop", VALUEFUNC(_wrap_MarketOrderVector_pop), -1);
|
16279
16245
|
rb_define_method(SwigClassMarketOrderVector.klass, "push", VALUEFUNC(_wrap_MarketOrderVector_push), -1);
|
16280
16246
|
rb_define_alias(SwigClassMarketOrderVector.klass, "<<", "push");
|
@@ -16317,10 +16283,10 @@ SWIGEXPORT void Init_evecache(void) {
|
|
16317
16283
|
rb_define_method(SwigClassUnsignedCharVector.klass, "slice", VALUEFUNC(_wrap_UnsignedCharVector_slice), -1);
|
16318
16284
|
rb_define_method(SwigClassUnsignedCharVector.klass, "each", VALUEFUNC(_wrap_UnsignedCharVector_each), -1);
|
16319
16285
|
rb_define_method(SwigClassUnsignedCharVector.klass, "select", VALUEFUNC(_wrap_UnsignedCharVector_select), -1);
|
16320
|
-
rb_define_method(SwigClassUnsignedCharVector.klass, "reject!", VALUEFUNC(_wrap_UnsignedCharVector_rejectN___), -1);
|
16321
|
-
rb_define_alias(SwigClassUnsignedCharVector.klass, "delete_if", "reject!");
|
16322
16286
|
rb_define_method(SwigClassUnsignedCharVector.klass, "delete_at", VALUEFUNC(_wrap_UnsignedCharVector_delete_at), -1);
|
16323
16287
|
rb_define_method(SwigClassUnsignedCharVector.klass, "__delete2__", VALUEFUNC(_wrap_UnsignedCharVector___delete2__), -1);
|
16288
|
+
rb_define_method(SwigClassUnsignedCharVector.klass, "reject!", VALUEFUNC(_wrap_UnsignedCharVector_rejectN___), -1);
|
16289
|
+
rb_define_alias(SwigClassUnsignedCharVector.klass, "delete_if", "reject!");
|
16324
16290
|
rb_define_method(SwigClassUnsignedCharVector.klass, "pop", VALUEFUNC(_wrap_UnsignedCharVector_pop), -1);
|
16325
16291
|
rb_define_method(SwigClassUnsignedCharVector.klass, "push", VALUEFUNC(_wrap_UnsignedCharVector_push), -1);
|
16326
16292
|
rb_define_alias(SwigClassUnsignedCharVector.klass, "<<", "push");
|