1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* This file is not intended to be easily readable and contains a number of
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.
9
* ----------------------------------------------------------------------------- */
12
/* -----------------------------------------------------------------------------
13
* This section contains generic SWIG labels for method/variable
14
* declarations/attributes, and other compiler dependent labels.
15
* ----------------------------------------------------------------------------- */
17
/* template workaround for compilers that cannot correctly implement the C++ standard */
18
#ifndef SWIGTEMPLATEDISAMBIGUATOR
19
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
20
# define SWIGTEMPLATEDISAMBIGUATOR template
21
# elif defined(__HP_aCC)
22
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
23
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
24
# define SWIGTEMPLATEDISAMBIGUATOR template
26
# define SWIGTEMPLATEDISAMBIGUATOR
30
/* inline attribute */
32
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
33
# define SWIGINLINE inline
39
/* attribute recognised by some compilers to avoid 'unused' warnings */
41
# if defined(__GNUC__)
42
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
43
# define SWIGUNUSED __attribute__ ((__unused__))
48
# define SWIGUNUSED __attribute__ ((__unused__))
54
#ifndef SWIG_MSC_UNSUPPRESS_4505
55
# if defined(_MSC_VER)
56
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
60
#ifndef SWIGUNUSEDPARM
62
# define SWIGUNUSEDPARM(p)
64
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
68
/* internal SWIG method */
70
# define SWIGINTERN static SWIGUNUSED
73
/* internal inline SWIG method */
74
#ifndef SWIGINTERNINLINE
75
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
78
/* exporting methods */
79
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
80
# ifndef GCC_HASCLASSVISIBILITY
81
# define GCC_HASCLASSVISIBILITY
86
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
87
# if defined(STATIC_LINKED)
90
# define SWIGEXPORT __declspec(dllexport)
93
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
94
# define SWIGEXPORT __attribute__ ((visibility("default")))
101
/* calling conventions for Windows */
103
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
104
# define SWIGSTDCALL __stdcall
110
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
111
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
112
# define _CRT_SECURE_NO_DEPRECATE
115
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
116
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
117
# define _SCL_SECURE_NO_DEPRECATE
121
/* -----------------------------------------------------------------------------
122
* This section contains generic SWIG labels for method/variable
123
* declarations/attributes, and other compiler dependent labels.
124
* ----------------------------------------------------------------------------- */
126
/* template workaround for compilers that cannot correctly implement the C++ standard */
127
#ifndef SWIGTEMPLATEDISAMBIGUATOR
128
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
129
# define SWIGTEMPLATEDISAMBIGUATOR template
130
# elif defined(__HP_aCC)
131
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
132
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
133
# define SWIGTEMPLATEDISAMBIGUATOR template
135
# define SWIGTEMPLATEDISAMBIGUATOR
139
/* inline attribute */
141
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
142
# define SWIGINLINE inline
148
/* attribute recognised by some compilers to avoid 'unused' warnings */
150
# if defined(__GNUC__)
151
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
152
# define SWIGUNUSED __attribute__ ((__unused__))
156
# elif defined(__ICC)
157
# define SWIGUNUSED __attribute__ ((__unused__))
163
#ifndef SWIG_MSC_UNSUPPRESS_4505
164
# if defined(_MSC_VER)
165
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
169
#ifndef SWIGUNUSEDPARM
171
# define SWIGUNUSEDPARM(p)
173
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
177
/* internal SWIG method */
179
# define SWIGINTERN static SWIGUNUSED
182
/* internal inline SWIG method */
183
#ifndef SWIGINTERNINLINE
184
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
187
/* exporting methods */
188
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
189
# ifndef GCC_HASCLASSVISIBILITY
190
# define GCC_HASCLASSVISIBILITY
195
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
196
# if defined(STATIC_LINKED)
199
# define SWIGEXPORT __declspec(dllexport)
202
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
203
# define SWIGEXPORT __attribute__ ((visibility("default")))
210
/* calling conventions for Windows */
212
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
213
# define SWIGSTDCALL __stdcall
219
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
220
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
221
# define _CRT_SECURE_NO_DEPRECATE
224
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
225
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
226
# define _SCL_SECURE_NO_DEPRECATE
230
/* -----------------------------------------------------------------------------
233
* This file contains generic CAPI SWIG runtime support for pointer
235
* ----------------------------------------------------------------------------- */
237
/* This should only be incremented when either the layout of swig_type_info changes,
238
or for whatever reason, the runtime changes incompatibly */
239
#define SWIG_RUNTIME_VERSION "4"
241
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
242
#ifdef SWIG_TYPE_TABLE
243
# define SWIG_QUOTE_STRING(x) #x
244
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
245
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
247
# define SWIG_TYPE_TABLE_NAME
251
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
252
creating a static or dynamic library from the swig runtime code.
253
In 99.9% of the cases, swig just needs to declare them as 'static'.
255
But only do this if is strictly necessary, ie, if you have problems
256
with your compiler or so.
260
# define SWIGRUNTIME SWIGINTERN
263
#ifndef SWIGRUNTIMEINLINE
264
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
267
/* Generic buffer size */
268
#ifndef SWIG_BUFFER_SIZE
269
# define SWIG_BUFFER_SIZE 1024
272
/* Flags for pointer conversions */
273
#define SWIG_POINTER_DISOWN 0x1
274
#define SWIG_CAST_NEW_MEMORY 0x2
276
/* Flags for new pointer objects */
277
#define SWIG_POINTER_OWN 0x1
281
Flags/methods for returning states.
283
The swig conversion methods, as ConvertPtr, return and integer
284
that tells if the conversion was successful or not. And if not,
285
an error code can be returned (see swigerrors.swg for the codes).
287
Use the following macros/flags to set or process the returning
290
In old swig versions, you usually write code as:
292
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
298
Now you can be more explicit as:
300
int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
301
if (SWIG_IsOK(res)) {
307
that seems to be the same, but now you can also do
310
int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
311
if (SWIG_IsOK(res)) {
313
if (SWIG_IsNewObj(res) {
323
I.e., now SWIG_ConvertPtr can return new objects and you can
324
identify the case and take care of the deallocation. Of course that
325
requires also to SWIG_ConvertPtr to return new result values, as
327
int SWIG_ConvertPtr(obj, ptr,...) {
329
if (<need new object>) {
330
*ptr = <ptr to new allocated object>;
333
*ptr = <ptr to old object>;
341
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
342
more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
345
Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
346
allows to return the 'cast rank', for example, if you have this
353
food(1) // cast rank '1' (1 -> 1.0)
354
fooi(1) // cast rank '0'
356
just use the SWIG_AddCast()/SWIG_CheckState()
361
#define SWIG_ERROR (-1)
362
#define SWIG_IsOK(r) (r >= 0)
363
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
365
/* The CastRankLimit says how many bits are used for the cast rank */
366
#define SWIG_CASTRANKLIMIT (1 << 8)
367
/* The NewMask denotes the object was created (using new/malloc) */
368
#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
369
/* The TmpMask is for in/out typemaps that use temporal objects */
370
#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
371
/* Simple returning values */
372
#define SWIG_BADOBJ (SWIG_ERROR)
373
#define SWIG_OLDOBJ (SWIG_OK)
374
#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
375
#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
376
/* Check, add and del mask methods */
377
#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
378
#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
379
#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
380
#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
381
#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
382
#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
386
#if defined(SWIG_CASTRANK_MODE)
387
# ifndef SWIG_TypeRank
388
# define SWIG_TypeRank unsigned long
390
# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
391
# define SWIG_MAXCASTRANK (2)
393
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
394
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
395
SWIGINTERNINLINE int SWIG_AddCast(int r) {
396
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
398
SWIGINTERNINLINE int SWIG_CheckState(int r) {
399
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
401
#else /* no cast-rank mode */
402
# define SWIG_AddCast
403
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
415
typedef void *(*swig_converter_func)(void *, int *);
416
typedef struct swig_type_info *(*swig_dycast_func)(void **);
418
/* Structure to store information on one type */
419
typedef struct swig_type_info {
420
const char *name; /* mangled name of this type */
421
const char *str; /* human readable name of this type */
422
swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
423
struct swig_cast_info *cast; /* linked list of types that can cast into this type */
424
void *clientdata; /* language specific type data */
425
int owndata; /* flag if the structure owns the clientdata */
428
/* Structure to store a type and conversion function used for casting */
429
typedef struct swig_cast_info {
430
swig_type_info *type; /* pointer to type that is equivalent to this type */
431
swig_converter_func converter; /* function to cast the void pointers */
432
struct swig_cast_info *next; /* pointer to next cast in linked list */
433
struct swig_cast_info *prev; /* pointer to the previous cast */
436
/* Structure used to store module information
437
* Each module generates one structure like this, and the runtime collects
438
* all of these structures and stores them in a circularly linked list.*/
439
typedef struct swig_module_info {
440
swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
441
size_t size; /* Number of types in this module */
442
struct swig_module_info *next; /* Pointer to next element in circularly linked list */
443
swig_type_info **type_initial; /* Array of initially generated type structures */
444
swig_cast_info **cast_initial; /* Array of initially generated casting structures */
445
void *clientdata; /* Language specific module data */
449
Compare two type names skipping the space characters, therefore
450
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
452
Return 0 when the two name types are equivalent, as in
453
strncmp, but skipping ' '.
456
SWIG_TypeNameComp(const char *f1, const char *l1,
457
const char *f2, const char *l2) {
458
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
459
while ((*f1 == ' ') && (f1 != l1)) ++f1;
460
while ((*f2 == ' ') && (f2 != l2)) ++f2;
461
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
463
return (int)((l1 - f1) - (l2 - f2));
467
Check type equivalence in a name list like <name1>|<name2>|...
468
Return 0 if not equal, 1 if equal
471
SWIG_TypeEquiv(const char *nb, const char *tb) {
473
const char* te = tb + strlen(tb);
475
while (!equiv && *ne) {
476
for (nb = ne; *ne; ++ne) {
477
if (*ne == '|') break;
479
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
486
Check type equivalence in a name list like <name1>|<name2>|...
487
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
490
SWIG_TypeCompare(const char *nb, const char *tb) {
492
const char* te = tb + strlen(tb);
494
while (!equiv && *ne) {
495
for (nb = ne; *ne; ++ne) {
496
if (*ne == '|') break;
498
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
505
/* think of this as a c++ template<> or a scheme macro */
506
#define SWIG_TypeCheck_Template(comparison, ty) \
508
swig_cast_info *iter = ty->cast; \
511
if (iter == ty->cast) return iter; \
512
/* Move iter to the top of the linked list */ \
513
iter->prev->next = iter->next; \
515
iter->next->prev = iter->prev; \
516
iter->next = ty->cast; \
518
if (ty->cast) ty->cast->prev = iter; \
530
SWIGRUNTIME swig_cast_info *
531
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
532
SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
535
/* Same as previous function, except strcmp is replaced with a pointer comparison */
536
SWIGRUNTIME swig_cast_info *
537
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
538
SWIG_TypeCheck_Template(iter->type == from, into);
542
Cast a pointer up an inheritance hierarchy
544
SWIGRUNTIMEINLINE void *
545
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
546
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
550
Dynamic pointer casting. Down an inheritance hierarchy
552
SWIGRUNTIME swig_type_info *
553
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
554
swig_type_info *lastty = ty;
555
if (!ty || !ty->dcast) return ty;
556
while (ty && (ty->dcast)) {
557
ty = (*ty->dcast)(ptr);
564
Return the name associated with this type
566
SWIGRUNTIMEINLINE const char *
567
SWIG_TypeName(const swig_type_info *ty) {
572
Return the pretty name associated with this type,
573
that is an unmangled type name in a form presentable to the user.
575
SWIGRUNTIME const char *
576
SWIG_TypePrettyName(const swig_type_info *type) {
577
/* The "str" field contains the equivalent pretty names of the
578
type, separated by vertical-bar characters. We choose
579
to print the last name, as it is often (?) the most
581
if (!type) return NULL;
582
if (type->str != NULL) {
583
const char *last_name = type->str;
585
for (s = type->str; *s; s++)
586
if (*s == '|') last_name = s+1;
594
Set the clientdata field for a type
597
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
598
swig_cast_info *cast = ti->cast;
599
/* if (ti->clientdata == clientdata) return; */
600
ti->clientdata = clientdata;
603
if (!cast->converter) {
604
swig_type_info *tc = cast->type;
605
if (!tc->clientdata) {
606
SWIG_TypeClientData(tc, clientdata);
613
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
614
SWIG_TypeClientData(ti, clientdata);
619
Search for a swig_type_info structure only by mangled name
620
Search is a O(log #types)
622
We start searching at module start, and finish searching when start == end.
623
Note: if start == end at the beginning of the function, we go all the way around
626
SWIGRUNTIME swig_type_info *
627
SWIG_MangledTypeQueryModule(swig_module_info *start,
628
swig_module_info *end,
630
swig_module_info *iter = start;
633
register size_t l = 0;
634
register size_t r = iter->size - 1;
636
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
637
register size_t i = (l + r) >> 1;
638
const char *iname = iter->types[i]->name;
640
register int compare = strcmp(name, iname);
642
return iter->types[i];
643
} else if (compare < 0) {
649
} else if (compare > 0) {
653
break; /* should never happen */
658
} while (iter != end);
663
Search for a swig_type_info structure for either a mangled name or a human readable name.
664
It first searches the mangled names of the types, which is a O(log #types)
665
If a type is not found it then searches the human readable names, which is O(#types).
667
We start searching at module start, and finish searching when start == end.
668
Note: if start == end at the beginning of the function, we go all the way around
671
SWIGRUNTIME swig_type_info *
672
SWIG_TypeQueryModule(swig_module_info *start,
673
swig_module_info *end,
675
/* STEP 1: Search the name field using binary search */
676
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
680
/* STEP 2: If the type hasn't been found, do a complete search
681
of the str field (the human readable name) */
682
swig_module_info *iter = start;
684
register size_t i = 0;
685
for (; i < iter->size; ++i) {
686
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
687
return iter->types[i];
690
} while (iter != end);
693
/* neither found a match */
698
Pack binary data into a string
701
SWIG_PackData(char *c, void *ptr, size_t sz) {
702
static const char hex[17] = "0123456789abcdef";
703
register const unsigned char *u = (unsigned char *) ptr;
704
register const unsigned char *eu = u + sz;
705
for (; u != eu; ++u) {
706
register unsigned char uu = *u;
707
*(c++) = hex[(uu & 0xf0) >> 4];
708
*(c++) = hex[uu & 0xf];
714
Unpack binary data from a string
716
SWIGRUNTIME const char *
717
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
718
register unsigned char *u = (unsigned char *) ptr;
719
register const unsigned char *eu = u + sz;
720
for (; u != eu; ++u) {
721
register char d = *(c++);
722
register unsigned char uu;
723
if ((d >= '0') && (d <= '9'))
724
uu = ((d - '0') << 4);
725
else if ((d >= 'a') && (d <= 'f'))
726
uu = ((d - ('a'-10)) << 4);
730
if ((d >= '0') && (d <= '9'))
732
else if ((d >= 'a') && (d <= 'f'))
733
uu |= (d - ('a'-10));
742
Pack 'void *' into a string buffer.
745
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
747
if ((2*sizeof(void *) + 2) > bsz) return 0;
749
r = SWIG_PackData(r,&ptr,sizeof(void *));
750
if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
755
SWIGRUNTIME const char *
756
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
758
if (strcmp(c,"NULL") == 0) {
765
return SWIG_UnpackData(++c,ptr,sizeof(void *));
769
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
771
size_t lname = (name ? strlen(name) : 0);
772
if ((2*sz + 2 + lname) > bsz) return 0;
774
r = SWIG_PackData(r,ptr,sz);
776
strncpy(r,name,lname+1);
783
SWIGRUNTIME const char *
784
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
786
if (strcmp(c,"NULL") == 0) {
793
return SWIG_UnpackData(++c,ptr,sz);
801
#define SWIG_UnknownError -1
802
#define SWIG_IOError -2
803
#define SWIG_RuntimeError -3
804
#define SWIG_IndexError -4
805
#define SWIG_TypeError -5
806
#define SWIG_DivisionByZero -6
807
#define SWIG_OverflowError -7
808
#define SWIG_SyntaxError -8
809
#define SWIG_ValueError -9
810
#define SWIG_SystemError -10
811
#define SWIG_AttributeError -11
812
#define SWIG_MemoryError -12
813
#define SWIG_NullReferenceError -13
819
/* Remove global macros defined in Ruby's win32.h */
828
/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
830
#define NUM2LL(x) NUM2LONG((x))
833
#define LL2NUM(x) INT2NUM((long) (x))
836
#define ULL2NUM(x) UINT2NUM((unsigned long) (x))
839
/* Ruby 1.7 doesn't (yet) define NUM2ULL() */
841
#ifdef HAVE_LONG_LONG
842
#define NUM2ULL(x) rb_num2ull((x))
844
#define NUM2ULL(x) NUM2ULONG(x)
848
/* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */
849
/* Define these for older versions so we can just write code the new way */
851
# define RSTRING_LEN(x) RSTRING(x)->len
854
# define RSTRING_PTR(x) RSTRING(x)->ptr
857
# define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
860
# define RARRAY_LEN(x) RARRAY(x)->len
863
# define RARRAY_PTR(x) RARRAY(x)->ptr
866
# define RFLOAT_VALUE(x) RFLOAT(x)->value
869
# define DOUBLE2NUM(x) rb_float_new(x)
872
# define RHASH_TBL(x) (RHASH(x)->tbl)
874
#ifndef RHASH_ITER_LEV
875
# define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
878
# define RHASH_IFNONE(x) (RHASH(x)->ifnone)
881
# define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
883
#ifndef RHASH_EMPTY_P
884
# define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
887
# define RSTRUCT_LEN(x) RSTRUCT(x)->len
890
# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
896
* Need to be very careful about how these macros are defined, especially
897
* when compiling C++ code or C code with an ANSI C compiler.
899
* VALUEFUNC(f) is a macro used to typecast a C function that implements
900
* a Ruby method so that it can be passed as an argument to API functions
901
* like rb_define_method() and rb_define_singleton_method().
903
* VOIDFUNC(f) is a macro used to typecast a C function that implements
904
* either the "mark" or "free" stuff for a Ruby Data object, so that it
905
* can be passed as an argument to API functions like Data_Wrap_Struct()
906
* and Data_Make_Struct().
910
# ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
911
# define PROTECTFUNC(f) ((VALUE (*)()) f)
912
# define VALUEFUNC(f) ((VALUE (*)()) f)
913
# define VOIDFUNC(f) ((void (*)()) f)
915
# ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
916
# define PROTECTFUNC(f) ((VALUE (*)()) f)
917
# define VALUEFUNC(f) ((VALUE (*)()) f)
918
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
919
# else /* These definitions should work for Ruby 1.7+ */
920
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
921
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
922
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
926
# define VALUEFUNC(f) (f)
927
# define VOIDFUNC(f) (f)
930
/* Don't use for expressions have side effect */
931
#ifndef RB_STRING_VALUE
932
#define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
935
#define StringValue(s) RB_STRING_VALUE(s)
937
#ifndef StringValuePtr
938
#define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
940
#ifndef StringValueLen
941
#define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
943
#ifndef SafeStringValue
944
#define SafeStringValue(v) do {\
946
rb_check_safe_str(v);\
950
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
951
#define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
952
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
955
static VALUE _mSWIG = Qnil;
957
/* -----------------------------------------------------------------------------
959
* ----------------------------------------------------------------------------- */
962
/* Define some additional error types */
963
#define SWIG_ObjectPreviouslyDeletedError -100
966
/* Define custom exceptions for errors that do not map to existing Ruby
967
exceptions. Note this only works for C++ since a global cannot be
968
initialized by a funtion in C. For C, fallback to rb_eRuntimeError.*/
971
getNullReferenceError(void) {
973
static VALUE rb_eNullReferenceError ;
976
rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
978
return rb_eNullReferenceError;
982
getObjectPreviouslyDeletedError(void) {
984
static VALUE rb_eObjectPreviouslyDeleted ;
987
rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
989
return rb_eObjectPreviouslyDeleted;
994
SWIG_Ruby_ErrorType(int SWIG_code) {
997
case SWIG_MemoryError:
998
type = rb_eNoMemError;
1003
case SWIG_RuntimeError:
1004
type = rb_eRuntimeError;
1006
case SWIG_IndexError:
1007
type = rb_eIndexError;
1009
case SWIG_TypeError:
1010
type = rb_eTypeError;
1012
case SWIG_DivisionByZero:
1013
type = rb_eZeroDivError;
1015
case SWIG_OverflowError:
1016
type = rb_eRangeError;
1018
case SWIG_SyntaxError:
1019
type = rb_eSyntaxError;
1021
case SWIG_ValueError:
1022
type = rb_eArgError;
1024
case SWIG_SystemError:
1027
case SWIG_AttributeError:
1028
type = rb_eRuntimeError;
1030
case SWIG_NullReferenceError:
1031
type = getNullReferenceError();
1033
case SWIG_ObjectPreviouslyDeletedError:
1034
type = getObjectPreviouslyDeletedError();
1036
case SWIG_UnknownError:
1037
type = rb_eRuntimeError;
1040
type = rb_eRuntimeError;
1046
/* This function is called when a user inputs a wrong argument to
1050
const char* Ruby_Format_TypeError( const char* msg,
1061
str = rb_str_new2(msg);
1065
str = rb_str_new(NULL, 0);
1068
str = rb_str_cat2( str, "Expected argument " );
1069
sprintf( buf, "%d of type ", argn-1 );
1070
str = rb_str_cat2( str, buf );
1071
str = rb_str_cat2( str, type );
1072
str = rb_str_cat2( str, ", but got " );
1073
str = rb_str_cat2( str, rb_obj_classname(input) );
1074
str = rb_str_cat2( str, " " );
1075
asStr = rb_inspect(input);
1076
if ( RSTRING_LEN(asStr) > 30 )
1078
str = rb_str_cat( str, StringValuePtr(asStr), 30 );
1079
str = rb_str_cat2( str, "..." );
1083
str = rb_str_append( str, asStr );
1088
str = rb_str_cat2( str, "\n\tin SWIG method '" );
1089
str = rb_str_cat2( str, name );
1090
str = rb_str_cat2( str, "'" );
1093
return StringValuePtr( str );
1096
/* This function is called when an overloaded method fails */
1098
void Ruby_Format_OverloadedError(
1102
const char* prototypes
1105
const char* msg = "Wrong # of arguments";
1106
if ( argc <= maxargs ) msg = "Wrong arguments";
1107
rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n"
1108
"Possible C/C++ prototypes are:\n%s",
1109
msg, method, prototypes);
1112
/* -----------------------------------------------------------------------------
1113
* See the LICENSE file for information on copyright, usage and redistribution
1114
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
1118
* This file contains support for tracking mappings from
1119
* Ruby objects to C++ objects. This functionality is needed
1120
* to implement mark functions for Ruby's mark and sweep
1121
* garbage collector.
1122
* ----------------------------------------------------------------------------- */
1128
/* Ruby 1.8 actually assumes the first case. */
1129
#if SIZEOF_VOIDP == SIZEOF_LONG
1130
# define SWIG2NUM(v) LONG2NUM((unsigned long)v)
1131
# define NUM2SWIG(x) (unsigned long)NUM2LONG(x)
1132
#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
1133
# define SWIG2NUM(v) LL2NUM((unsigned long long)v)
1134
# define NUM2SWIG(x) (unsigned long long)NUM2LL(x)
1136
# error sizeof(void*) is not the same as long or long long
1140
/* Global Ruby hash table to store Trackings from C/C++
1141
structs to Ruby Objects.
1143
static VALUE swig_ruby_trackings = Qnil;
1145
/* Global variable that stores a reference to the ruby
1146
hash table delete function. */
1147
static ID swig_ruby_hash_delete;
1149
/* Setup a Ruby hash table to store Trackings */
1150
SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
1151
/* Create a ruby hash table to store Trackings from C++
1152
objects to Ruby objects. */
1154
/* Try to see if some other .so has already created a
1155
tracking hash table, which we keep hidden in an instance var
1157
This is done to allow multiple DSOs to share the same
1160
ID trackings_id = rb_intern( "@__trackings__" );
1161
VALUE verbose = rb_gv_get("VERBOSE");
1162
rb_gv_set("VERBOSE", Qfalse);
1163
swig_ruby_trackings = rb_ivar_get( _mSWIG, trackings_id );
1164
rb_gv_set("VERBOSE", verbose);
1166
/* No, it hasn't. Create one ourselves */
1167
if ( swig_ruby_trackings == Qnil )
1169
swig_ruby_trackings = rb_hash_new();
1170
rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
1173
/* Now store a reference to the hash table delete function
1174
so that we only have to look it up once.*/
1175
swig_ruby_hash_delete = rb_intern("delete");
1178
/* Get a Ruby number to reference a pointer */
1179
SWIGRUNTIME VALUE SWIG_RubyPtrToReference(void* ptr) {
1180
/* We cast the pointer to an unsigned long
1181
and then store a reference to it using
1182
a Ruby number object. */
1184
/* Convert the pointer to a Ruby number */
1185
return SWIG2NUM(ptr);
1188
/* Get a Ruby number to reference an object */
1189
SWIGRUNTIME VALUE SWIG_RubyObjectToReference(VALUE object) {
1190
/* We cast the object to an unsigned long
1191
and then store a reference to it using
1192
a Ruby number object. */
1194
/* Convert the Object to a Ruby number */
1195
return SWIG2NUM(object);
1198
/* Get a Ruby object from a previously stored reference */
1199
SWIGRUNTIME VALUE SWIG_RubyReferenceToObject(VALUE reference) {
1200
/* The provided Ruby number object is a reference
1201
to the Ruby object we want.*/
1203
/* Convert the Ruby number to a Ruby object */
1204
return NUM2SWIG(reference);
1207
/* Add a Tracking from a C/C++ struct to a Ruby object */
1208
SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
1209
/* In a Ruby hash table we store the pointer and
1210
the associated Ruby object. The trick here is
1211
that we cannot store the Ruby object directly - if
1212
we do then it cannot be garbage collected. So
1213
instead we typecast it as a unsigned long and
1214
convert it to a Ruby number object.*/
1216
/* Get a reference to the pointer as a Ruby number */
1217
VALUE key = SWIG_RubyPtrToReference(ptr);
1219
/* Get a reference to the Ruby object as a Ruby number */
1220
VALUE value = SWIG_RubyObjectToReference(object);
1222
/* Store the mapping to the global hash table. */
1223
rb_hash_aset(swig_ruby_trackings, key, value);
1226
/* Get the Ruby object that owns the specified C/C++ struct */
1227
SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
1228
/* Get a reference to the pointer as a Ruby number */
1229
VALUE key = SWIG_RubyPtrToReference(ptr);
1231
/* Now lookup the value stored in the global hash table */
1232
VALUE value = rb_hash_aref(swig_ruby_trackings, key);
1234
if (value == Qnil) {
1235
/* No object exists - return nil. */
1239
/* Convert this value to Ruby object */
1240
return SWIG_RubyReferenceToObject(value);
1244
/* Remove a Tracking from a C/C++ struct to a Ruby object. It
1245
is very important to remove objects once they are destroyed
1246
since the same memory address may be reused later to create
1248
SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
1249
/* Get a reference to the pointer as a Ruby number */
1250
VALUE key = SWIG_RubyPtrToReference(ptr);
1252
/* Delete the object from the hash table by calling Ruby's
1253
do this we need to call the Hash.delete method.*/
1254
rb_funcall(swig_ruby_trackings, swig_ruby_hash_delete, 1, key);
1257
/* This is a helper method that unlinks a Ruby object from its
1258
underlying C++ object. This is needed if the lifetime of the
1259
Ruby object is longer than the C++ object */
1260
SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
1261
VALUE object = SWIG_RubyInstanceFor(ptr);
1263
if (object != Qnil) {
1264
DATA_PTR(object) = 0;
1273
/* -----------------------------------------------------------------------------
1274
* Ruby API portion that goes into the runtime
1275
* ----------------------------------------------------------------------------- */
1282
SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1283
if (NIL_P(target)) {
1286
if (TYPE(target) != T_ARRAY) {
1288
target = rb_ary_new();
1289
rb_ary_push(target, o2);
1291
rb_ary_push(target, o);
1296
/* For ruby1.8.4 and earlier. */
1297
#ifndef RUBY_INIT_STACK
1298
RUBY_EXTERN void Init_stack(VALUE* addr);
1299
# define RUBY_INIT_STACK \
1300
VALUE variable_in_this_stack_frame; \
1301
Init_stack(&variable_in_this_stack_frame);
1310
/* -----------------------------------------------------------------------------
1311
* See the LICENSE file for information on copyright, usage and redistribution
1312
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
1316
* This file contains the runtime support for Ruby modules
1317
* and includes code for managing global variables and pointer
1319
* ----------------------------------------------------------------------------- */
1321
/* For backward compatibility only */
1322
#define SWIG_POINTER_EXCEPTION 0
1324
/* for raw pointers */
1325
#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1326
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1327
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Ruby_NewPointerObj(ptr, type, flags)
1328
#define SWIG_AcquirePtr(ptr, own) SWIG_Ruby_AcquirePtr(ptr, own)
1329
#define swig_owntype ruby_owntype
1331
/* for raw packed data */
1332
#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
1333
#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type)
1335
/* for class or struct pointers */
1336
#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1337
#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1339
/* for C or C++ function pointers */
1340
#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
1341
#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
1343
/* for C++ member pointers, ie, member methods */
1344
#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
1345
#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type)
1350
#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1351
#define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1354
/* Error manipulation */
1356
#define SWIG_ErrorType(code) SWIG_Ruby_ErrorType(code)
1357
#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), msg)
1358
#define SWIG_fail goto fail
1361
/* Ruby-specific SWIG API */
1363
#define SWIG_InitRuntime() SWIG_Ruby_InitRuntime()
1364
#define SWIG_define_class(ty) SWIG_Ruby_define_class(ty)
1365
#define SWIG_NewClassInstance(value, ty) SWIG_Ruby_NewClassInstance(value, ty)
1366
#define SWIG_MangleStr(value) SWIG_Ruby_MangleStr(value)
1367
#define SWIG_CheckConvert(value, ty) SWIG_Ruby_CheckConvert(value, ty)
1371
/* -----------------------------------------------------------------------------
1372
* pointers/data manipulation
1373
* ----------------------------------------------------------------------------- */
1382
void (*mark)(void *);
1383
void (*destroy)(void *);
1388
/* Global pointer used to keep some internal SWIG stuff */
1389
static VALUE _cSWIG_Pointer = Qnil;
1390
static VALUE swig_runtime_data_type_pointer = Qnil;
1392
/* Global IDs used to keep some internal SWIG stuff */
1393
static ID swig_arity_id = 0;
1394
static ID swig_call_id = 0;
1397
If your swig extension is to be run within an embedded ruby and has
1398
director callbacks, you should set -DRUBY_EMBEDDED during compilation.
1399
This will reset ruby's stack frame on each entry point from the main
1400
program the first time a virtual director function is invoked (in a
1402
If this is not done, you run the risk of Ruby trashing the stack.
1405
#ifdef RUBY_EMBEDDED
1407
# define SWIG_INIT_STACK \
1408
if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \
1409
++swig_virtual_calls;
1410
# define SWIG_RELEASE_STACK --swig_virtual_calls;
1411
# define Ruby_DirectorTypeMismatchException(x) \
1412
rb_raise( rb_eTypeError, x ); return c_result;
1414
static unsigned int swig_virtual_calls = 0;
1416
#else /* normal non-embedded extension */
1418
# define SWIG_INIT_STACK
1419
# define SWIG_RELEASE_STACK
1420
# define Ruby_DirectorTypeMismatchException(x) \
1421
throw Swig::DirectorTypeMismatchException( x );
1423
#endif /* RUBY_EMBEDDED */
1427
getExceptionClass(void) {
1428
static int init = 0;
1429
static VALUE rubyExceptionClass ;
1432
rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
1434
return rubyExceptionClass;
1437
/* This code checks to see if the Ruby object being raised as part
1438
of an exception inherits from the Ruby class Exception. If so,
1439
the object is simply returned. If not, then a new Ruby exception
1440
object is created and that will be returned to Ruby.*/
1442
SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
1443
VALUE exceptionClass = getExceptionClass();
1444
if (rb_obj_is_kind_of(obj, exceptionClass)) {
1447
return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
1451
/* Initialize Ruby runtime support */
1453
SWIG_Ruby_InitRuntime(void)
1455
if (_mSWIG == Qnil) {
1456
_mSWIG = rb_define_module("SWIG");
1457
swig_call_id = rb_intern("call");
1458
swig_arity_id = rb_intern("arity");
1462
/* Define Ruby class for C type */
1464
SWIG_Ruby_define_class(swig_type_info *type)
1467
char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1468
sprintf(klass_name, "TYPE%s", type->name);
1469
if (NIL_P(_cSWIG_Pointer)) {
1470
_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
1471
rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
1473
klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
1474
free((void *) klass_name);
1477
/* Create a new pointer object */
1479
SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
1481
int own = flags & SWIG_POINTER_OWN;
1491
if (type->clientdata) {
1492
sklass = (swig_class *) type->clientdata;
1494
/* Are we tracking this class and have we already returned this Ruby object? */
1495
track = sklass->trackObjects;
1497
obj = SWIG_RubyInstanceFor(ptr);
1499
/* Check the object's type and make sure it has the correct type.
1500
It might not in cases where methods do things like
1501
downcast methods. */
1503
VALUE value = rb_iv_get(obj, "@__swigtype__");
1504
char* type_name = RSTRING_PTR(value);
1506
if (strcmp(type->name, type_name) == 0) {
1512
/* Create a new Ruby object */
1513
obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark),
1514
( own ? VOIDFUNC(sklass->destroy) :
1515
(track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
1518
/* If tracking is on for this class then track this object. */
1520
SWIG_RubyAddTracking(ptr, obj);
1523
klass_name = (char *) malloc(4 + strlen(type->name) + 1);
1524
sprintf(klass_name, "TYPE%s", type->name);
1525
klass = rb_const_get(_mSWIG, rb_intern(klass_name));
1526
free((void *) klass_name);
1527
obj = Data_Wrap_Struct(klass, 0, 0, ptr);
1529
rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1534
/* Create a new class instance (always owned) */
1536
SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
1539
swig_class *sklass = (swig_class *) type->clientdata;
1540
obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
1541
rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
1545
/* Get type mangle from class name */
1546
SWIGRUNTIMEINLINE char *
1547
SWIG_Ruby_MangleStr(VALUE obj)
1549
VALUE stype = rb_iv_get(obj, "@__swigtype__");
1550
return StringValuePtr(stype);
1553
/* Acquire a pointer value */
1554
typedef void (*ruby_owntype)(void*);
1556
SWIGRUNTIME ruby_owntype
1557
SWIG_Ruby_AcquirePtr(VALUE obj, ruby_owntype own) {
1559
ruby_owntype oldown = RDATA(obj)->dfree;
1560
RDATA(obj)->dfree = own;
1567
/* Convert a pointer value */
1569
SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, ruby_owntype *own)
1575
/* Grab the pointer */
1580
if (TYPE(obj) != T_DATA) {
1583
Data_Get_Struct(obj, void, vptr);
1586
if (own) *own = RDATA(obj)->dfree;
1588
/* Check to see if the input object is giving up ownership
1589
of the underlying C struct or C++ object. If so then we
1590
need to reset the destructor since the Ruby object no
1591
longer owns the underlying C++ object.*/
1592
if (flags & SWIG_POINTER_DISOWN) {
1593
/* Is tracking on for this class? */
1595
if (ty && ty->clientdata) {
1596
swig_class *sklass = (swig_class *) ty->clientdata;
1597
track = sklass->trackObjects;
1601
/* We are tracking objects for this class. Thus we change the destructor
1602
* to SWIG_RubyRemoveTracking. This allows us to
1603
* remove the mapping from the C++ to Ruby object
1604
* when the Ruby object is garbage collected. If we don't
1605
* do this, then it is possible we will return a reference
1606
* to a Ruby object that no longer exists thereby crashing Ruby. */
1607
RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
1609
RDATA(obj)->dfree = 0;
1613
/* Do type-checking if type info was provided */
1615
if (ty->clientdata) {
1616
if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
1618
/* The object has already been deleted */
1619
return SWIG_ObjectPreviouslyDeletedError;
1625
if ((c = SWIG_MangleStr(obj)) == NULL) {
1628
tc = SWIG_TypeCheck(c, ty);
1633
*ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1634
assert(!newmemory); /* newmemory handling not yet implemented */
1644
SWIGRUNTIMEINLINE int
1645
SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
1647
char *c = SWIG_MangleStr(obj);
1649
return SWIG_TypeCheck(c,ty) != 0;
1653
SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
1656
if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
1658
r = SWIG_PackData(r, ptr, sz);
1659
strcpy(r, type->name);
1660
return rb_str_new2(result);
1663
/* Convert a packed value value */
1665
SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1669
if (TYPE(obj) != T_STRING) goto type_error;
1670
c = StringValuePtr(obj);
1671
/* Pointer values must start with leading underscore */
1672
if (*c != '_') goto type_error;
1674
c = SWIG_UnpackData(c, ptr, sz);
1676
tc = SWIG_TypeCheck(c, ty);
1677
if (!tc) goto type_error;
1685
SWIGRUNTIME swig_module_info *
1686
SWIG_Ruby_GetModule(void)
1689
swig_module_info *ret = 0;
1690
VALUE verbose = rb_gv_get("VERBOSE");
1692
/* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
1693
rb_gv_set("VERBOSE", Qfalse);
1695
/* first check if pointer already created */
1696
pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1697
if (pointer != Qnil) {
1698
Data_Get_Struct(pointer, swig_module_info, ret);
1701
/* reinstate warnings */
1702
rb_gv_set("VERBOSE", verbose);
1707
SWIG_Ruby_SetModule(swig_module_info *pointer)
1709
/* register a new class */
1710
VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
1711
/* create and store the structure pointer to a global variable */
1712
swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
1713
rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
1716
/* This function can be used to check whether a proc or method or similarly
1717
callable function has been passed. Usually used in a %typecheck, like:
1719
%typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
1720
$result = SWIG_Ruby_isCallable( $input );
1724
int SWIG_Ruby_isCallable( VALUE proc )
1726
if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
1731
/* This function can be used to check the arity (number of arguments)
1732
a proc or method can take. Usually used in a %typecheck.
1733
Valid arities will be that equal to minimal or those < 0
1734
which indicate a variable number of parameters at the end.
1737
int SWIG_Ruby_arity( VALUE proc, int minimal )
1739
if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
1741
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
1742
int arity = NUM2INT(num);
1743
if ( arity < 0 && (arity+1) < -minimal ) return 1;
1744
if ( arity == minimal ) return 1;
1757
#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1759
#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1763
/* -------- TYPES TABLE (BEGIN) -------- */
1765
#define SWIGTYPE_p_char swig_types[0]
1766
#define SWIGTYPE_p_double swig_types[1]
1767
#define SWIGTYPE_p_float swig_types[2]
1768
#define SWIGTYPE_p_int swig_types[3]
1769
#define SWIGTYPE_p_off_t swig_types[4]
1770
static swig_type_info *swig_types[6];
1771
static swig_module_info swig_module = {swig_types, 5, 0, 0, 0, 0};
1772
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1773
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1775
/* -------- TYPES TABLE (END) -------- */
1777
#define SWIG_init Init_CdiLib
1778
#define SWIG_name "CdiLib"
1780
static VALUE mCdiLib;
1782
#define SWIG_RUBY_THREAD_BEGIN_BLOCK
1783
#define SWIG_RUBY_THREAD_END_BLOCK
1786
#define SWIGVERSION 0x010336
1787
#define SWIG_VERSION SWIGVERSION
1790
#define SWIG_as_voidptr(a) (void *)((const void *)(a))
1791
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1798
#if !defined(SWIG_NO_LLONG_MAX)
1799
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1800
# define LLONG_MAX __LONG_LONG_MAX__
1801
# define LLONG_MIN (-LLONG_MAX - 1LL)
1802
# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1807
#define SWIG_From_long LONG2NUM
1810
SWIGINTERNINLINE VALUE
1811
SWIG_From_int (int value)
1813
return SWIG_From_long (value);
1818
SWIG_ruby_failed(void)
1824
/*@SWIG:/usr/share/swig1.3/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
1825
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
1827
VALUE obj = args[0];
1828
VALUE type = TYPE(obj);
1829
long *res = (long *)(args[1]);
1830
*res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
1836
SWIG_AsVal_long (VALUE obj, long* val)
1838
VALUE type = TYPE(obj);
1839
if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
1844
if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
1849
return SWIG_TypeError;
1854
SWIG_AsVal_int (VALUE obj, int *val)
1857
int res = SWIG_AsVal_long (obj, &v);
1858
if (SWIG_IsOK(res)) {
1859
if ((v < INT_MIN || v > INT_MAX)) {
1860
return SWIG_OverflowError;
1862
if (val) *val = (int)(v);
1869
SWIGINTERN swig_type_info*
1870
SWIG_pchar_descriptor(void)
1872
static int init = 0;
1873
static swig_type_info* info = 0;
1875
info = SWIG_TypeQuery("_p_char");
1882
SWIGINTERNINLINE VALUE
1883
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1886
if (size > LONG_MAX) {
1887
swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1888
return pchar_descriptor ?
1889
SWIG_NewPointerObj((char *)(carray), pchar_descriptor, 0) : Qnil;
1891
return rb_str_new(carray, (long)(size));
1899
SWIGINTERNINLINE VALUE
1900
SWIG_FromCharPtr(const char *cptr)
1902
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
1906
/*@SWIG:/usr/share/swig1.3/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
1907
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
1909
VALUE obj = args[0];
1910
VALUE type = TYPE(obj);
1911
double *res = (double *)(args[1]);
1912
*res = (type == T_FLOAT ? NUM2DBL(obj) : (type == T_FIXNUM ? (double) FIX2INT(obj) : rb_big2dbl(obj)));
1918
SWIG_AsVal_double (VALUE obj, double *val)
1920
VALUE type = TYPE(obj);
1921
if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) {
1926
if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2DBL), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
1931
return SWIG_TypeError;
1935
#define SWIG_From_double rb_float_new
1939
SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
1941
if (TYPE(obj) == T_STRING) {
1942
#if defined(StringValuePtr)
1943
char *cstr = StringValuePtr(obj);
1945
char *cstr = STR2CSTR(obj);
1947
size_t size = RSTRING_LEN(obj) + 1;
1950
if (*alloc == SWIG_NEWOBJ) {
1951
*cptr = (char *)memcpy((char *)malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1954
*alloc = SWIG_OLDOBJ;
1958
if (psize) *psize = size;
1961
swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1962
if (pchar_descriptor) {
1964
if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
1965
if (cptr) *cptr = (char *)vptr;
1966
if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
1967
if (alloc) *alloc = SWIG_OLDOBJ;
1972
return SWIG_TypeError;
1979
_wrap_cdiStringError(int argc, VALUE *argv, VALUE self) {
1984
VALUE vresult = Qnil;
1986
if ((argc < 1) || (argc > 1)) {
1987
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
1989
ecode1 = SWIG_AsVal_int(argv[0], &val1);
1990
if (!SWIG_IsOK(ecode1)) {
1991
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","cdiStringError", 1, argv[0] ));
1994
result = (char *)cdiStringError(arg1);
1995
vresult = SWIG_FromCharPtr((const char *)result);
2003
_wrap_cdiDebug(int argc, VALUE *argv, VALUE self) {
2008
if ((argc < 1) || (argc > 1)) {
2009
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2011
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2012
if (!SWIG_IsOK(ecode1)) {
2013
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","cdiDebug", 1, argv[0] ));
2024
_wrap_cdiLibraryVersion(int argc, VALUE *argv, VALUE self) {
2026
VALUE vresult = Qnil;
2028
if ((argc < 0) || (argc > 0)) {
2029
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2031
result = (char *)cdiLibraryVersion();
2032
vresult = SWIG_FromCharPtr((const char *)result);
2040
_wrap_cdiPrintVersion(int argc, VALUE *argv, VALUE self) {
2041
if ((argc < 0) || (argc > 0)) {
2042
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2052
_wrap_cdiDefMissval(int argc, VALUE *argv, VALUE self) {
2057
if ((argc < 1) || (argc > 1)) {
2058
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2060
ecode1 = SWIG_AsVal_double(argv[0], &val1);
2061
if (!SWIG_IsOK(ecode1)) {
2062
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","cdiDefMissval", 1, argv[0] ));
2064
arg1 = (double)(val1);
2065
cdiDefMissval(arg1);
2073
_wrap_cdiInqMissval(int argc, VALUE *argv, VALUE self) {
2075
VALUE vresult = Qnil;
2077
if ((argc < 0) || (argc > 0)) {
2078
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2080
result = (double)cdiInqMissval();
2081
vresult = SWIG_From_double((double)(result));
2089
_wrap_cdiDefGlobal(int argc, VALUE *argv, VALUE self) {
2090
char *arg1 = (char *) 0 ;
2098
if ((argc < 2) || (argc > 2)) {
2099
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2101
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
2102
if (!SWIG_IsOK(res1)) {
2103
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","cdiDefGlobal", 1, argv[0] ));
2105
arg1 = (char *)(buf1);
2106
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2107
if (!SWIG_IsOK(ecode2)) {
2108
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","cdiDefGlobal", 2, argv[1] ));
2111
cdiDefGlobal((char const *)arg1,arg2);
2112
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2115
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2121
_wrap_streamOpenRead(int argc, VALUE *argv, VALUE self) {
2122
char *arg1 = (char *) 0 ;
2127
VALUE vresult = Qnil;
2129
if ((argc < 1) || (argc > 1)) {
2130
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2132
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
2133
if (!SWIG_IsOK(res1)) {
2134
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","streamOpenRead", 1, argv[0] ));
2136
arg1 = (char *)(buf1);
2137
result = (int)streamOpenRead((char const *)arg1);
2138
vresult = SWIG_From_int((int)(result));
2139
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2142
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2148
_wrap_streamOpenWrite(int argc, VALUE *argv, VALUE self) {
2149
char *arg1 = (char *) 0 ;
2157
VALUE vresult = Qnil;
2159
if ((argc < 2) || (argc > 2)) {
2160
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2162
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
2163
if (!SWIG_IsOK(res1)) {
2164
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","streamOpenWrite", 1, argv[0] ));
2166
arg1 = (char *)(buf1);
2167
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2168
if (!SWIG_IsOK(ecode2)) {
2169
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamOpenWrite", 2, argv[1] ));
2172
result = (int)streamOpenWrite((char const *)arg1,arg2);
2173
vresult = SWIG_From_int((int)(result));
2174
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2177
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2183
_wrap_streamOpenAppend(int argc, VALUE *argv, VALUE self) {
2184
char *arg1 = (char *) 0 ;
2189
VALUE vresult = Qnil;
2191
if ((argc < 1) || (argc > 1)) {
2192
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2194
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
2195
if (!SWIG_IsOK(res1)) {
2196
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","streamOpenAppend", 1, argv[0] ));
2198
arg1 = (char *)(buf1);
2199
result = (int)streamOpenAppend((char const *)arg1);
2200
vresult = SWIG_From_int((int)(result));
2201
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2204
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2210
_wrap_streamClose(int argc, VALUE *argv, VALUE self) {
2215
if ((argc < 1) || (argc > 1)) {
2216
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2218
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2219
if (!SWIG_IsOK(ecode1)) {
2220
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamClose", 1, argv[0] ));
2231
_wrap_streamSync(int argc, VALUE *argv, VALUE self) {
2236
if ((argc < 1) || (argc > 1)) {
2237
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2239
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2240
if (!SWIG_IsOK(ecode1)) {
2241
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamSync", 1, argv[0] ));
2252
_wrap_streamDefVlist(int argc, VALUE *argv, VALUE self) {
2260
if ((argc < 2) || (argc > 2)) {
2261
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2263
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2264
if (!SWIG_IsOK(ecode1)) {
2265
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefVlist", 1, argv[0] ));
2268
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2269
if (!SWIG_IsOK(ecode2)) {
2270
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefVlist", 2, argv[1] ));
2273
streamDefVlist(arg1,arg2);
2281
_wrap_streamInqVlist(int argc, VALUE *argv, VALUE self) {
2286
VALUE vresult = Qnil;
2288
if ((argc < 1) || (argc > 1)) {
2289
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2291
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2292
if (!SWIG_IsOK(ecode1)) {
2293
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqVlist", 1, argv[0] ));
2296
result = (int)streamInqVlist(arg1);
2297
vresult = SWIG_From_int((int)(result));
2305
_wrap_streamInqFiletype(int argc, VALUE *argv, VALUE self) {
2310
VALUE vresult = Qnil;
2312
if ((argc < 1) || (argc > 1)) {
2313
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2315
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2316
if (!SWIG_IsOK(ecode1)) {
2317
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqFiletype", 1, argv[0] ));
2320
result = (int)streamInqFiletype(arg1);
2321
vresult = SWIG_From_int((int)(result));
2329
_wrap_streamDefByteorder(int argc, VALUE *argv, VALUE self) {
2337
if ((argc < 2) || (argc > 2)) {
2338
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2340
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2341
if (!SWIG_IsOK(ecode1)) {
2342
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefByteorder", 1, argv[0] ));
2345
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2346
if (!SWIG_IsOK(ecode2)) {
2347
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefByteorder", 2, argv[1] ));
2350
streamDefByteorder(arg1,arg2);
2358
_wrap_streamInqByteorder(int argc, VALUE *argv, VALUE self) {
2363
VALUE vresult = Qnil;
2365
if ((argc < 1) || (argc > 1)) {
2366
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2368
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2369
if (!SWIG_IsOK(ecode1)) {
2370
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqByteorder", 1, argv[0] ));
2373
result = (int)streamInqByteorder(arg1);
2374
vresult = SWIG_From_int((int)(result));
2382
_wrap_streamDefZtype(int argc, VALUE *argv, VALUE self) {
2390
if ((argc < 2) || (argc > 2)) {
2391
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2393
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2394
if (!SWIG_IsOK(ecode1)) {
2395
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefZtype", 1, argv[0] ));
2398
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2399
if (!SWIG_IsOK(ecode2)) {
2400
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefZtype", 2, argv[1] ));
2403
streamDefZtype(arg1,arg2);
2411
_wrap_streamDefZlevel(int argc, VALUE *argv, VALUE self) {
2419
if ((argc < 2) || (argc > 2)) {
2420
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2422
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2423
if (!SWIG_IsOK(ecode1)) {
2424
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefZlevel", 1, argv[0] ));
2427
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2428
if (!SWIG_IsOK(ecode2)) {
2429
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefZlevel", 2, argv[1] ));
2432
streamDefZlevel(arg1,arg2);
2440
_wrap_streamInqZtype(int argc, VALUE *argv, VALUE self) {
2445
VALUE vresult = Qnil;
2447
if ((argc < 1) || (argc > 1)) {
2448
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2450
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2451
if (!SWIG_IsOK(ecode1)) {
2452
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqZtype", 1, argv[0] ));
2455
result = (int)streamInqZtype(arg1);
2456
vresult = SWIG_From_int((int)(result));
2464
_wrap_streamInqZlevel(int argc, VALUE *argv, VALUE self) {
2469
VALUE vresult = Qnil;
2471
if ((argc < 1) || (argc > 1)) {
2472
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2474
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2475
if (!SWIG_IsOK(ecode1)) {
2476
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqZlevel", 1, argv[0] ));
2479
result = (int)streamInqZlevel(arg1);
2480
vresult = SWIG_From_int((int)(result));
2488
_wrap_streamDefTimestep(int argc, VALUE *argv, VALUE self) {
2496
VALUE vresult = Qnil;
2498
if ((argc < 2) || (argc > 2)) {
2499
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2501
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2502
if (!SWIG_IsOK(ecode1)) {
2503
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefTimestep", 1, argv[0] ));
2506
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2507
if (!SWIG_IsOK(ecode2)) {
2508
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefTimestep", 2, argv[1] ));
2511
result = (int)streamDefTimestep(arg1,arg2);
2512
vresult = SWIG_From_int((int)(result));
2520
_wrap_streamInqTimestep(int argc, VALUE *argv, VALUE self) {
2528
VALUE vresult = Qnil;
2530
if ((argc < 2) || (argc > 2)) {
2531
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
2533
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2534
if (!SWIG_IsOK(ecode1)) {
2535
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqTimestep", 1, argv[0] ));
2538
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2539
if (!SWIG_IsOK(ecode2)) {
2540
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamInqTimestep", 2, argv[1] ));
2543
result = (int)streamInqTimestep(arg1,arg2);
2544
vresult = SWIG_From_int((int)(result));
2552
_wrap_streamFilename(int argc, VALUE *argv, VALUE self) {
2557
VALUE vresult = Qnil;
2559
if ((argc < 1) || (argc > 1)) {
2560
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2562
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2563
if (!SWIG_IsOK(ecode1)) {
2564
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamFilename", 1, argv[0] ));
2567
result = (char *)streamFilename(arg1);
2568
vresult = SWIG_FromCharPtr((const char *)result);
2576
_wrap_streamFilesuffix(int argc, VALUE *argv, VALUE self) {
2581
VALUE vresult = Qnil;
2583
if ((argc < 1) || (argc > 1)) {
2584
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2586
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2587
if (!SWIG_IsOK(ecode1)) {
2588
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamFilesuffix", 1, argv[0] ));
2591
result = (char *)streamFilesuffix(arg1);
2592
vresult = SWIG_FromCharPtr((const char *)result);
2600
_wrap_streamNtsteps(int argc, VALUE *argv, VALUE self) {
2605
VALUE vresult = Qnil;
2607
if ((argc < 1) || (argc > 1)) {
2608
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2610
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2611
if (!SWIG_IsOK(ecode1)) {
2612
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamNtsteps", 1, argv[0] ));
2615
result = (int)streamNtsteps(arg1);
2616
vresult = SWIG_From_int((int)(result));
2624
_wrap_streamNvals(int argc, VALUE *argv, VALUE self) {
2629
VALUE vresult = Qnil;
2631
if ((argc < 1) || (argc > 1)) {
2632
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2634
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2635
if (!SWIG_IsOK(ecode1)) {
2636
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamNvals", 1, argv[0] ));
2639
result = streamNvals(arg1);
2640
vresult = SWIG_NewPointerObj((off_t *)memcpy((off_t *)malloc(sizeof(off_t)),&result,sizeof(off_t)), SWIGTYPE_p_off_t, SWIG_POINTER_OWN | 0 );
2648
_wrap_streamReadVar(int argc, VALUE *argv, VALUE self) {
2651
double *arg3 = (double *) 0 ;
2652
int *arg4 = (int *) 0 ;
2662
if ((argc < 4) || (argc > 4)) {
2663
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
2665
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2666
if (!SWIG_IsOK(ecode1)) {
2667
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamReadVar", 1, argv[0] ));
2670
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2671
if (!SWIG_IsOK(ecode2)) {
2672
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamReadVar", 2, argv[1] ));
2675
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
2676
if (!SWIG_IsOK(res3)) {
2677
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double *","streamReadVar", 3, argv[2] ));
2679
arg3 = (double *)(argp3);
2680
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_int, 0 | 0 );
2681
if (!SWIG_IsOK(res4)) {
2682
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "int *","streamReadVar", 4, argv[3] ));
2684
arg4 = (int *)(argp4);
2685
streamReadVar(arg1,arg2,arg3,arg4);
2693
_wrap_streamWriteVar(int argc, VALUE *argv, VALUE self) {
2696
double *arg3 = (double *) 0 ;
2707
if ((argc < 4) || (argc > 4)) {
2708
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
2710
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2711
if (!SWIG_IsOK(ecode1)) {
2712
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamWriteVar", 1, argv[0] ));
2715
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2716
if (!SWIG_IsOK(ecode2)) {
2717
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamWriteVar", 2, argv[1] ));
2720
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
2721
if (!SWIG_IsOK(res3)) {
2722
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double const *","streamWriteVar", 3, argv[2] ));
2724
arg3 = (double *)(argp3);
2725
ecode4 = SWIG_AsVal_int(argv[3], &val4);
2726
if (!SWIG_IsOK(ecode4)) {
2727
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","streamWriteVar", 4, argv[3] ));
2730
streamWriteVar(arg1,arg2,(double const *)arg3,arg4);
2738
_wrap_streamReadVarSlice(int argc, VALUE *argv, VALUE self) {
2742
double *arg4 = (double *) 0 ;
2743
int *arg5 = (int *) 0 ;
2755
if ((argc < 5) || (argc > 5)) {
2756
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2758
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2759
if (!SWIG_IsOK(ecode1)) {
2760
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamReadVarSlice", 1, argv[0] ));
2763
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2764
if (!SWIG_IsOK(ecode2)) {
2765
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamReadVarSlice", 2, argv[1] ));
2768
ecode3 = SWIG_AsVal_int(argv[2], &val3);
2769
if (!SWIG_IsOK(ecode3)) {
2770
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","streamReadVarSlice", 3, argv[2] ));
2773
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
2774
if (!SWIG_IsOK(res4)) {
2775
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "double *","streamReadVarSlice", 4, argv[3] ));
2777
arg4 = (double *)(argp4);
2778
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_int, 0 | 0 );
2779
if (!SWIG_IsOK(res5)) {
2780
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "int *","streamReadVarSlice", 5, argv[4] ));
2782
arg5 = (int *)(argp5);
2783
streamReadVarSlice(arg1,arg2,arg3,arg4,arg5);
2791
_wrap_streamWriteVarSlice(int argc, VALUE *argv, VALUE self) {
2795
double *arg4 = (double *) 0 ;
2808
if ((argc < 5) || (argc > 5)) {
2809
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
2811
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2812
if (!SWIG_IsOK(ecode1)) {
2813
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamWriteVarSlice", 1, argv[0] ));
2816
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2817
if (!SWIG_IsOK(ecode2)) {
2818
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamWriteVarSlice", 2, argv[1] ));
2821
ecode3 = SWIG_AsVal_int(argv[2], &val3);
2822
if (!SWIG_IsOK(ecode3)) {
2823
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","streamWriteVarSlice", 3, argv[2] ));
2826
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
2827
if (!SWIG_IsOK(res4)) {
2828
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "double const *","streamWriteVarSlice", 4, argv[3] ));
2830
arg4 = (double *)(argp4);
2831
ecode5 = SWIG_AsVal_int(argv[4], &val5);
2832
if (!SWIG_IsOK(ecode5)) {
2833
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","streamWriteVarSlice", 5, argv[4] ));
2836
streamWriteVarSlice(arg1,arg2,arg3,(double const *)arg4,arg5);
2844
_wrap_streamInqRecord(int argc, VALUE *argv, VALUE self) {
2846
int *arg2 = (int *) 0 ;
2847
int *arg3 = (int *) 0 ;
2855
if ((argc < 3) || (argc > 3)) {
2856
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
2858
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2859
if (!SWIG_IsOK(ecode1)) {
2860
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqRecord", 1, argv[0] ));
2863
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
2864
if (!SWIG_IsOK(res2)) {
2865
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","streamInqRecord", 2, argv[1] ));
2867
arg2 = (int *)(argp2);
2868
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
2869
if (!SWIG_IsOK(res3)) {
2870
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","streamInqRecord", 3, argv[2] ));
2872
arg3 = (int *)(argp3);
2873
streamInqRecord(arg1,arg2,arg3);
2881
_wrap_streamDefRecord(int argc, VALUE *argv, VALUE self) {
2892
if ((argc < 3) || (argc > 3)) {
2893
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
2895
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2896
if (!SWIG_IsOK(ecode1)) {
2897
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefRecord", 1, argv[0] ));
2900
ecode2 = SWIG_AsVal_int(argv[1], &val2);
2901
if (!SWIG_IsOK(ecode2)) {
2902
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefRecord", 2, argv[1] ));
2905
ecode3 = SWIG_AsVal_int(argv[2], &val3);
2906
if (!SWIG_IsOK(ecode3)) {
2907
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","streamDefRecord", 3, argv[2] ));
2910
streamDefRecord(arg1,arg2,arg3);
2918
_wrap_streamReadRecord(int argc, VALUE *argv, VALUE self) {
2920
double *arg2 = (double *) 0 ;
2921
int *arg3 = (int *) 0 ;
2929
if ((argc < 3) || (argc > 3)) {
2930
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
2932
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2933
if (!SWIG_IsOK(ecode1)) {
2934
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamReadRecord", 1, argv[0] ));
2937
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
2938
if (!SWIG_IsOK(res2)) {
2939
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","streamReadRecord", 2, argv[1] ));
2941
arg2 = (double *)(argp2);
2942
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
2943
if (!SWIG_IsOK(res3)) {
2944
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","streamReadRecord", 3, argv[2] ));
2946
arg3 = (int *)(argp3);
2947
streamReadRecord(arg1,arg2,arg3);
2955
_wrap_streamWriteRecord(int argc, VALUE *argv, VALUE self) {
2957
double *arg2 = (double *) 0 ;
2966
if ((argc < 3) || (argc > 3)) {
2967
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
2969
ecode1 = SWIG_AsVal_int(argv[0], &val1);
2970
if (!SWIG_IsOK(ecode1)) {
2971
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamWriteRecord", 1, argv[0] ));
2974
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
2975
if (!SWIG_IsOK(res2)) {
2976
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","streamWriteRecord", 2, argv[1] ));
2978
arg2 = (double *)(argp2);
2979
ecode3 = SWIG_AsVal_int(argv[2], &val3);
2980
if (!SWIG_IsOK(ecode3)) {
2981
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","streamWriteRecord", 3, argv[2] ));
2984
streamWriteRecord(arg1,(double const *)arg2,arg3);
2992
_wrap_streamCopyRecord(int argc, VALUE *argv, VALUE self) {
3000
if ((argc < 2) || (argc > 2)) {
3001
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3003
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3004
if (!SWIG_IsOK(ecode1)) {
3005
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamCopyRecord", 1, argv[0] ));
3008
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3009
if (!SWIG_IsOK(ecode2)) {
3010
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamCopyRecord", 2, argv[1] ));
3013
streamCopyRecord(arg1,arg2);
3021
_wrap_streamInqGinfo(int argc, VALUE *argv, VALUE self) {
3023
int *arg2 = (int *) 0 ;
3024
float *arg3 = (float *) 0 ;
3032
if ((argc < 3) || (argc > 3)) {
3033
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
3035
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3036
if (!SWIG_IsOK(ecode1)) {
3037
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqGinfo", 1, argv[0] ));
3040
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
3041
if (!SWIG_IsOK(res2)) {
3042
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","streamInqGinfo", 2, argv[1] ));
3044
arg2 = (int *)(argp2);
3045
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_float, 0 | 0 );
3046
if (!SWIG_IsOK(res3)) {
3047
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "float *","streamInqGinfo", 3, argv[2] ));
3049
arg3 = (float *)(argp3);
3050
streamInqGinfo(arg1,arg2,arg3);
3058
_wrap_vlistCreate(int argc, VALUE *argv, VALUE self) {
3060
VALUE vresult = Qnil;
3062
if ((argc < 0) || (argc > 0)) {
3063
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3065
result = (int)vlistCreate();
3066
vresult = SWIG_From_int((int)(result));
3074
_wrap_vlistDestroy(int argc, VALUE *argv, VALUE self) {
3079
if ((argc < 1) || (argc > 1)) {
3080
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3082
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3083
if (!SWIG_IsOK(ecode1)) {
3084
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDestroy", 1, argv[0] ));
3095
_wrap_vlistDuplicate(int argc, VALUE *argv, VALUE self) {
3100
VALUE vresult = Qnil;
3102
if ((argc < 1) || (argc > 1)) {
3103
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3105
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3106
if (!SWIG_IsOK(ecode1)) {
3107
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDuplicate", 1, argv[0] ));
3110
result = (int)vlistDuplicate(arg1);
3111
vresult = SWIG_From_int((int)(result));
3119
_wrap_vlistCopy(int argc, VALUE *argv, VALUE self) {
3127
if ((argc < 2) || (argc > 2)) {
3128
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3130
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3131
if (!SWIG_IsOK(ecode1)) {
3132
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistCopy", 1, argv[0] ));
3135
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3136
if (!SWIG_IsOK(ecode2)) {
3137
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistCopy", 2, argv[1] ));
3140
vlistCopy(arg1,arg2);
3148
_wrap_vlistCopyFlag(int argc, VALUE *argv, VALUE self) {
3156
if ((argc < 2) || (argc > 2)) {
3157
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3159
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3160
if (!SWIG_IsOK(ecode1)) {
3161
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistCopyFlag", 1, argv[0] ));
3164
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3165
if (!SWIG_IsOK(ecode2)) {
3166
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistCopyFlag", 2, argv[1] ));
3169
vlistCopyFlag(arg1,arg2);
3177
_wrap_vlistClearFlag(int argc, VALUE *argv, VALUE self) {
3182
if ((argc < 1) || (argc > 1)) {
3183
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3185
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3186
if (!SWIG_IsOK(ecode1)) {
3187
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistClearFlag", 1, argv[0] ));
3190
vlistClearFlag(arg1);
3198
_wrap_vlistCat(int argc, VALUE *argv, VALUE self) {
3206
if ((argc < 2) || (argc > 2)) {
3207
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3209
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3210
if (!SWIG_IsOK(ecode1)) {
3211
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistCat", 1, argv[0] ));
3214
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3215
if (!SWIG_IsOK(ecode2)) {
3216
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistCat", 2, argv[1] ));
3219
vlistCat(arg1,arg2);
3227
_wrap_vlistMerge(int argc, VALUE *argv, VALUE self) {
3235
if ((argc < 2) || (argc > 2)) {
3236
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3238
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3239
if (!SWIG_IsOK(ecode1)) {
3240
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistMerge", 1, argv[0] ));
3243
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3244
if (!SWIG_IsOK(ecode2)) {
3245
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistMerge", 2, argv[1] ));
3248
vlistMerge(arg1,arg2);
3256
_wrap_vlistPrint(int argc, VALUE *argv, VALUE self) {
3261
if ((argc < 1) || (argc > 1)) {
3262
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3264
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3265
if (!SWIG_IsOK(ecode1)) {
3266
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistPrint", 1, argv[0] ));
3277
_wrap_vlistNvars(int argc, VALUE *argv, VALUE self) {
3282
VALUE vresult = Qnil;
3284
if ((argc < 1) || (argc > 1)) {
3285
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3287
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3288
if (!SWIG_IsOK(ecode1)) {
3289
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistNvars", 1, argv[0] ));
3292
result = (int)vlistNvars(arg1);
3293
vresult = SWIG_From_int((int)(result));
3301
_wrap_vlistNgrids(int argc, VALUE *argv, VALUE self) {
3306
VALUE vresult = Qnil;
3308
if ((argc < 1) || (argc > 1)) {
3309
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3311
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3312
if (!SWIG_IsOK(ecode1)) {
3313
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistNgrids", 1, argv[0] ));
3316
result = (int)vlistNgrids(arg1);
3317
vresult = SWIG_From_int((int)(result));
3325
_wrap_vlistNzaxis(int argc, VALUE *argv, VALUE self) {
3330
VALUE vresult = Qnil;
3332
if ((argc < 1) || (argc > 1)) {
3333
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3335
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3336
if (!SWIG_IsOK(ecode1)) {
3337
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistNzaxis", 1, argv[0] ));
3340
result = (int)vlistNzaxis(arg1);
3341
vresult = SWIG_From_int((int)(result));
3349
_wrap_vlistDefNtsteps(int argc, VALUE *argv, VALUE self) {
3357
if ((argc < 2) || (argc > 2)) {
3358
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3360
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3361
if (!SWIG_IsOK(ecode1)) {
3362
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefNtsteps", 1, argv[0] ));
3365
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3366
if (!SWIG_IsOK(ecode2)) {
3367
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefNtsteps", 2, argv[1] ));
3370
vlistDefNtsteps(arg1,arg2);
3378
_wrap_vlistNtsteps(int argc, VALUE *argv, VALUE self) {
3383
VALUE vresult = Qnil;
3385
if ((argc < 1) || (argc > 1)) {
3386
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3388
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3389
if (!SWIG_IsOK(ecode1)) {
3390
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistNtsteps", 1, argv[0] ));
3393
result = (int)vlistNtsteps(arg1);
3394
vresult = SWIG_From_int((int)(result));
3402
_wrap_vlistGridsizeMax(int argc, VALUE *argv, VALUE self) {
3407
VALUE vresult = Qnil;
3409
if ((argc < 1) || (argc > 1)) {
3410
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3412
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3413
if (!SWIG_IsOK(ecode1)) {
3414
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistGridsizeMax", 1, argv[0] ));
3417
result = (int)vlistGridsizeMax(arg1);
3418
vresult = SWIG_From_int((int)(result));
3426
_wrap_vlistGrid(int argc, VALUE *argv, VALUE self) {
3434
VALUE vresult = Qnil;
3436
if ((argc < 2) || (argc > 2)) {
3437
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3439
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3440
if (!SWIG_IsOK(ecode1)) {
3441
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistGrid", 1, argv[0] ));
3444
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3445
if (!SWIG_IsOK(ecode2)) {
3446
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistGrid", 2, argv[1] ));
3449
result = (int)vlistGrid(arg1,arg2);
3450
vresult = SWIG_From_int((int)(result));
3458
_wrap_vlistGridIndex(int argc, VALUE *argv, VALUE self) {
3466
VALUE vresult = Qnil;
3468
if ((argc < 2) || (argc > 2)) {
3469
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3471
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3472
if (!SWIG_IsOK(ecode1)) {
3473
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistGridIndex", 1, argv[0] ));
3476
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3477
if (!SWIG_IsOK(ecode2)) {
3478
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistGridIndex", 2, argv[1] ));
3481
result = (int)vlistGridIndex(arg1,arg2);
3482
vresult = SWIG_From_int((int)(result));
3490
_wrap_vlistChangeGridIndex(int argc, VALUE *argv, VALUE self) {
3501
if ((argc < 3) || (argc > 3)) {
3502
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
3504
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3505
if (!SWIG_IsOK(ecode1)) {
3506
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeGridIndex", 1, argv[0] ));
3509
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3510
if (!SWIG_IsOK(ecode2)) {
3511
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeGridIndex", 2, argv[1] ));
3514
ecode3 = SWIG_AsVal_int(argv[2], &val3);
3515
if (!SWIG_IsOK(ecode3)) {
3516
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeGridIndex", 3, argv[2] ));
3519
vlistChangeGridIndex(arg1,arg2,arg3);
3527
_wrap_vlistChangeGrid(int argc, VALUE *argv, VALUE self) {
3538
if ((argc < 3) || (argc > 3)) {
3539
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
3541
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3542
if (!SWIG_IsOK(ecode1)) {
3543
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeGrid", 1, argv[0] ));
3546
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3547
if (!SWIG_IsOK(ecode2)) {
3548
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeGrid", 2, argv[1] ));
3551
ecode3 = SWIG_AsVal_int(argv[2], &val3);
3552
if (!SWIG_IsOK(ecode3)) {
3553
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeGrid", 3, argv[2] ));
3556
vlistChangeGrid(arg1,arg2,arg3);
3564
_wrap_vlistZaxis(int argc, VALUE *argv, VALUE self) {
3572
VALUE vresult = Qnil;
3574
if ((argc < 2) || (argc > 2)) {
3575
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3577
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3578
if (!SWIG_IsOK(ecode1)) {
3579
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistZaxis", 1, argv[0] ));
3582
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3583
if (!SWIG_IsOK(ecode2)) {
3584
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistZaxis", 2, argv[1] ));
3587
result = (int)vlistZaxis(arg1,arg2);
3588
vresult = SWIG_From_int((int)(result));
3596
_wrap_vlistZaxisIndex(int argc, VALUE *argv, VALUE self) {
3604
VALUE vresult = Qnil;
3606
if ((argc < 2) || (argc > 2)) {
3607
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3609
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3610
if (!SWIG_IsOK(ecode1)) {
3611
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistZaxisIndex", 1, argv[0] ));
3614
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3615
if (!SWIG_IsOK(ecode2)) {
3616
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistZaxisIndex", 2, argv[1] ));
3619
result = (int)vlistZaxisIndex(arg1,arg2);
3620
vresult = SWIG_From_int((int)(result));
3628
_wrap_vlistChangeZaxisIndex(int argc, VALUE *argv, VALUE self) {
3639
if ((argc < 3) || (argc > 3)) {
3640
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
3642
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3643
if (!SWIG_IsOK(ecode1)) {
3644
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeZaxisIndex", 1, argv[0] ));
3647
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3648
if (!SWIG_IsOK(ecode2)) {
3649
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeZaxisIndex", 2, argv[1] ));
3652
ecode3 = SWIG_AsVal_int(argv[2], &val3);
3653
if (!SWIG_IsOK(ecode3)) {
3654
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeZaxisIndex", 3, argv[2] ));
3657
vlistChangeZaxisIndex(arg1,arg2,arg3);
3665
_wrap_vlistChangeZaxis(int argc, VALUE *argv, VALUE self) {
3676
if ((argc < 3) || (argc > 3)) {
3677
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
3679
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3680
if (!SWIG_IsOK(ecode1)) {
3681
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeZaxis", 1, argv[0] ));
3684
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3685
if (!SWIG_IsOK(ecode2)) {
3686
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeZaxis", 2, argv[1] ));
3689
ecode3 = SWIG_AsVal_int(argv[2], &val3);
3690
if (!SWIG_IsOK(ecode3)) {
3691
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeZaxis", 3, argv[2] ));
3694
vlistChangeZaxis(arg1,arg2,arg3);
3702
_wrap_vlistNrecs(int argc, VALUE *argv, VALUE self) {
3707
VALUE vresult = Qnil;
3709
if ((argc < 1) || (argc > 1)) {
3710
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3712
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3713
if (!SWIG_IsOK(ecode1)) {
3714
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistNrecs", 1, argv[0] ));
3717
result = (int)vlistNrecs(arg1);
3718
vresult = SWIG_From_int((int)(result));
3726
_wrap_vlistDefTaxis(int argc, VALUE *argv, VALUE self) {
3734
if ((argc < 2) || (argc > 2)) {
3735
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3737
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3738
if (!SWIG_IsOK(ecode1)) {
3739
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefTaxis", 1, argv[0] ));
3742
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3743
if (!SWIG_IsOK(ecode2)) {
3744
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefTaxis", 2, argv[1] ));
3747
vlistDefTaxis(arg1,arg2);
3755
_wrap_vlistInqTaxis(int argc, VALUE *argv, VALUE self) {
3760
VALUE vresult = Qnil;
3762
if ((argc < 1) || (argc > 1)) {
3763
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3765
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3766
if (!SWIG_IsOK(ecode1)) {
3767
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqTaxis", 1, argv[0] ));
3770
result = (int)vlistInqTaxis(arg1);
3771
vresult = SWIG_From_int((int)(result));
3779
_wrap_vlistDefTable(int argc, VALUE *argv, VALUE self) {
3787
if ((argc < 2) || (argc > 2)) {
3788
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3790
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3791
if (!SWIG_IsOK(ecode1)) {
3792
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefTable", 1, argv[0] ));
3795
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3796
if (!SWIG_IsOK(ecode2)) {
3797
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefTable", 2, argv[1] ));
3800
vlistDefTable(arg1,arg2);
3808
_wrap_vlistInqTable(int argc, VALUE *argv, VALUE self) {
3813
VALUE vresult = Qnil;
3815
if ((argc < 1) || (argc > 1)) {
3816
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3818
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3819
if (!SWIG_IsOK(ecode1)) {
3820
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqTable", 1, argv[0] ));
3823
result = (int)vlistInqTable(arg1);
3824
vresult = SWIG_From_int((int)(result));
3832
_wrap_vlistDefInstitut(int argc, VALUE *argv, VALUE self) {
3840
if ((argc < 2) || (argc > 2)) {
3841
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3843
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3844
if (!SWIG_IsOK(ecode1)) {
3845
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefInstitut", 1, argv[0] ));
3848
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3849
if (!SWIG_IsOK(ecode2)) {
3850
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefInstitut", 2, argv[1] ));
3853
vlistDefInstitut(arg1,arg2);
3861
_wrap_vlistInqInstitut(int argc, VALUE *argv, VALUE self) {
3866
VALUE vresult = Qnil;
3868
if ((argc < 1) || (argc > 1)) {
3869
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3871
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3872
if (!SWIG_IsOK(ecode1)) {
3873
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqInstitut", 1, argv[0] ));
3876
result = (int)vlistInqInstitut(arg1);
3877
vresult = SWIG_From_int((int)(result));
3885
_wrap_vlistDefModel(int argc, VALUE *argv, VALUE self) {
3893
if ((argc < 2) || (argc > 2)) {
3894
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
3896
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3897
if (!SWIG_IsOK(ecode1)) {
3898
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefModel", 1, argv[0] ));
3901
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3902
if (!SWIG_IsOK(ecode2)) {
3903
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefModel", 2, argv[1] ));
3906
vlistDefModel(arg1,arg2);
3914
_wrap_vlistInqModel(int argc, VALUE *argv, VALUE self) {
3919
VALUE vresult = Qnil;
3921
if ((argc < 1) || (argc > 1)) {
3922
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3924
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3925
if (!SWIG_IsOK(ecode1)) {
3926
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqModel", 1, argv[0] ));
3929
result = (int)vlistInqModel(arg1);
3930
vresult = SWIG_From_int((int)(result));
3938
_wrap_vlistDefVar(int argc, VALUE *argv, VALUE self) {
3952
VALUE vresult = Qnil;
3954
if ((argc < 4) || (argc > 4)) {
3955
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
3957
ecode1 = SWIG_AsVal_int(argv[0], &val1);
3958
if (!SWIG_IsOK(ecode1)) {
3959
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVar", 1, argv[0] ));
3962
ecode2 = SWIG_AsVal_int(argv[1], &val2);
3963
if (!SWIG_IsOK(ecode2)) {
3964
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVar", 2, argv[1] ));
3967
ecode3 = SWIG_AsVal_int(argv[2], &val3);
3968
if (!SWIG_IsOK(ecode3)) {
3969
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVar", 3, argv[2] ));
3972
ecode4 = SWIG_AsVal_int(argv[3], &val4);
3973
if (!SWIG_IsOK(ecode4)) {
3974
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefVar", 4, argv[3] ));
3977
result = (int)vlistDefVar(arg1,arg2,arg3,arg4);
3978
vresult = SWIG_From_int((int)(result));
3986
_wrap_vlistChangeVarGrid(int argc, VALUE *argv, VALUE self) {
3997
if ((argc < 3) || (argc > 3)) {
3998
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4000
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4001
if (!SWIG_IsOK(ecode1)) {
4002
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeVarGrid", 1, argv[0] ));
4005
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4006
if (!SWIG_IsOK(ecode2)) {
4007
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeVarGrid", 2, argv[1] ));
4010
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4011
if (!SWIG_IsOK(ecode3)) {
4012
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeVarGrid", 3, argv[2] ));
4015
vlistChangeVarGrid(arg1,arg2,arg3);
4023
_wrap_vlistChangeVarZaxis(int argc, VALUE *argv, VALUE self) {
4034
if ((argc < 3) || (argc > 3)) {
4035
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4037
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4038
if (!SWIG_IsOK(ecode1)) {
4039
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistChangeVarZaxis", 1, argv[0] ));
4042
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4043
if (!SWIG_IsOK(ecode2)) {
4044
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistChangeVarZaxis", 2, argv[1] ));
4047
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4048
if (!SWIG_IsOK(ecode3)) {
4049
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistChangeVarZaxis", 3, argv[2] ));
4052
vlistChangeVarZaxis(arg1,arg2,arg3);
4060
_wrap_vlistInqVar(int argc, VALUE *argv, VALUE self) {
4063
int *arg3 = (int *) 0 ;
4064
int *arg4 = (int *) 0 ;
4065
int *arg5 = (int *) 0 ;
4077
if ((argc < 5) || (argc > 5)) {
4078
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
4080
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4081
if (!SWIG_IsOK(ecode1)) {
4082
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVar", 1, argv[0] ));
4085
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4086
if (!SWIG_IsOK(ecode2)) {
4087
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVar", 2, argv[1] ));
4090
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
4091
if (!SWIG_IsOK(res3)) {
4092
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","vlistInqVar", 3, argv[2] ));
4094
arg3 = (int *)(argp3);
4095
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_int, 0 | 0 );
4096
if (!SWIG_IsOK(res4)) {
4097
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "int *","vlistInqVar", 4, argv[3] ));
4099
arg4 = (int *)(argp4);
4100
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_int, 0 | 0 );
4101
if (!SWIG_IsOK(res5)) {
4102
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "int *","vlistInqVar", 5, argv[4] ));
4104
arg5 = (int *)(argp5);
4105
vlistInqVar(arg1,arg2,arg3,arg4,arg5);
4113
_wrap_vlistInqVarGrid(int argc, VALUE *argv, VALUE self) {
4121
VALUE vresult = Qnil;
4123
if ((argc < 2) || (argc > 2)) {
4124
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4126
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4127
if (!SWIG_IsOK(ecode1)) {
4128
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarGrid", 1, argv[0] ));
4131
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4132
if (!SWIG_IsOK(ecode2)) {
4133
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarGrid", 2, argv[1] ));
4136
result = (int)vlistInqVarGrid(arg1,arg2);
4137
vresult = SWIG_From_int((int)(result));
4145
_wrap_vlistInqVarZaxis(int argc, VALUE *argv, VALUE self) {
4153
VALUE vresult = Qnil;
4155
if ((argc < 2) || (argc > 2)) {
4156
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4158
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4159
if (!SWIG_IsOK(ecode1)) {
4160
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarZaxis", 1, argv[0] ));
4163
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4164
if (!SWIG_IsOK(ecode2)) {
4165
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarZaxis", 2, argv[1] ));
4168
result = (int)vlistInqVarZaxis(arg1,arg2);
4169
vresult = SWIG_From_int((int)(result));
4177
_wrap_vlistInqVarTime(int argc, VALUE *argv, VALUE self) {
4185
VALUE vresult = Qnil;
4187
if ((argc < 2) || (argc > 2)) {
4188
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4190
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4191
if (!SWIG_IsOK(ecode1)) {
4192
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarTime", 1, argv[0] ));
4195
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4196
if (!SWIG_IsOK(ecode2)) {
4197
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarTime", 2, argv[1] ));
4200
result = (int)vlistInqVarTime(arg1,arg2);
4201
vresult = SWIG_From_int((int)(result));
4209
_wrap_vlistDefVarZtype(int argc, VALUE *argv, VALUE self) {
4220
if ((argc < 3) || (argc > 3)) {
4221
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4223
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4224
if (!SWIG_IsOK(ecode1)) {
4225
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarZtype", 1, argv[0] ));
4228
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4229
if (!SWIG_IsOK(ecode2)) {
4230
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarZtype", 2, argv[1] ));
4233
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4234
if (!SWIG_IsOK(ecode3)) {
4235
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarZtype", 3, argv[2] ));
4238
vlistDefVarZtype(arg1,arg2,arg3);
4246
_wrap_vlistInqVarZtype(int argc, VALUE *argv, VALUE self) {
4254
VALUE vresult = Qnil;
4256
if ((argc < 2) || (argc > 2)) {
4257
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4259
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4260
if (!SWIG_IsOK(ecode1)) {
4261
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarZtype", 1, argv[0] ));
4264
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4265
if (!SWIG_IsOK(ecode2)) {
4266
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarZtype", 2, argv[1] ));
4269
result = (int)vlistInqVarZtype(arg1,arg2);
4270
vresult = SWIG_From_int((int)(result));
4278
_wrap_vlistDefVarZlevel(int argc, VALUE *argv, VALUE self) {
4289
if ((argc < 3) || (argc > 3)) {
4290
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4292
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4293
if (!SWIG_IsOK(ecode1)) {
4294
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarZlevel", 1, argv[0] ));
4297
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4298
if (!SWIG_IsOK(ecode2)) {
4299
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarZlevel", 2, argv[1] ));
4302
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4303
if (!SWIG_IsOK(ecode3)) {
4304
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarZlevel", 3, argv[2] ));
4307
vlistDefVarZlevel(arg1,arg2,arg3);
4315
_wrap_vlistInqVarZlevel(int argc, VALUE *argv, VALUE self) {
4323
VALUE vresult = Qnil;
4325
if ((argc < 2) || (argc > 2)) {
4326
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4328
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4329
if (!SWIG_IsOK(ecode1)) {
4330
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarZlevel", 1, argv[0] ));
4333
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4334
if (!SWIG_IsOK(ecode2)) {
4335
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarZlevel", 2, argv[1] ));
4338
result = (int)vlistInqVarZlevel(arg1,arg2);
4339
vresult = SWIG_From_int((int)(result));
4347
_wrap_vlistDefVarCode(int argc, VALUE *argv, VALUE self) {
4358
if ((argc < 3) || (argc > 3)) {
4359
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4361
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4362
if (!SWIG_IsOK(ecode1)) {
4363
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarCode", 1, argv[0] ));
4366
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4367
if (!SWIG_IsOK(ecode2)) {
4368
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarCode", 2, argv[1] ));
4371
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4372
if (!SWIG_IsOK(ecode3)) {
4373
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarCode", 3, argv[2] ));
4376
vlistDefVarCode(arg1,arg2,arg3);
4384
_wrap_vlistInqVarCode(int argc, VALUE *argv, VALUE self) {
4392
VALUE vresult = Qnil;
4394
if ((argc < 2) || (argc > 2)) {
4395
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4397
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4398
if (!SWIG_IsOK(ecode1)) {
4399
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarCode", 1, argv[0] ));
4402
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4403
if (!SWIG_IsOK(ecode2)) {
4404
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarCode", 2, argv[1] ));
4407
result = (int)vlistInqVarCode(arg1,arg2);
4408
vresult = SWIG_From_int((int)(result));
4416
_wrap_vlistDefVarDatatype(int argc, VALUE *argv, VALUE self) {
4427
if ((argc < 3) || (argc > 3)) {
4428
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4430
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4431
if (!SWIG_IsOK(ecode1)) {
4432
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarDatatype", 1, argv[0] ));
4435
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4436
if (!SWIG_IsOK(ecode2)) {
4437
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarDatatype", 2, argv[1] ));
4440
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4441
if (!SWIG_IsOK(ecode3)) {
4442
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarDatatype", 3, argv[2] ));
4445
vlistDefVarDatatype(arg1,arg2,arg3);
4453
_wrap_vlistInqVarDatatype(int argc, VALUE *argv, VALUE self) {
4461
VALUE vresult = Qnil;
4463
if ((argc < 2) || (argc > 2)) {
4464
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4466
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4467
if (!SWIG_IsOK(ecode1)) {
4468
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarDatatype", 1, argv[0] ));
4471
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4472
if (!SWIG_IsOK(ecode2)) {
4473
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarDatatype", 2, argv[1] ));
4476
result = (int)vlistInqVarDatatype(arg1,arg2);
4477
vresult = SWIG_From_int((int)(result));
4485
_wrap_vlistDefVarInstitut(int argc, VALUE *argv, VALUE self) {
4496
if ((argc < 3) || (argc > 3)) {
4497
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4499
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4500
if (!SWIG_IsOK(ecode1)) {
4501
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarInstitut", 1, argv[0] ));
4504
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4505
if (!SWIG_IsOK(ecode2)) {
4506
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarInstitut", 2, argv[1] ));
4509
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4510
if (!SWIG_IsOK(ecode3)) {
4511
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarInstitut", 3, argv[2] ));
4514
vlistDefVarInstitut(arg1,arg2,arg3);
4522
_wrap_vlistInqVarInstitut(int argc, VALUE *argv, VALUE self) {
4530
VALUE vresult = Qnil;
4532
if ((argc < 2) || (argc > 2)) {
4533
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4535
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4536
if (!SWIG_IsOK(ecode1)) {
4537
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarInstitut", 1, argv[0] ));
4540
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4541
if (!SWIG_IsOK(ecode2)) {
4542
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarInstitut", 2, argv[1] ));
4545
result = (int)vlistInqVarInstitut(arg1,arg2);
4546
vresult = SWIG_From_int((int)(result));
4554
_wrap_vlistDefVarModel(int argc, VALUE *argv, VALUE self) {
4565
if ((argc < 3) || (argc > 3)) {
4566
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4568
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4569
if (!SWIG_IsOK(ecode1)) {
4570
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarModel", 1, argv[0] ));
4573
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4574
if (!SWIG_IsOK(ecode2)) {
4575
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarModel", 2, argv[1] ));
4578
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4579
if (!SWIG_IsOK(ecode3)) {
4580
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarModel", 3, argv[2] ));
4583
vlistDefVarModel(arg1,arg2,arg3);
4591
_wrap_vlistInqVarModel(int argc, VALUE *argv, VALUE self) {
4599
VALUE vresult = Qnil;
4601
if ((argc < 2) || (argc > 2)) {
4602
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4604
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4605
if (!SWIG_IsOK(ecode1)) {
4606
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarModel", 1, argv[0] ));
4609
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4610
if (!SWIG_IsOK(ecode2)) {
4611
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarModel", 2, argv[1] ));
4614
result = (int)vlistInqVarModel(arg1,arg2);
4615
vresult = SWIG_From_int((int)(result));
4623
_wrap_vlistDefVarTable(int argc, VALUE *argv, VALUE self) {
4634
if ((argc < 3) || (argc > 3)) {
4635
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4637
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4638
if (!SWIG_IsOK(ecode1)) {
4639
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarTable", 1, argv[0] ));
4642
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4643
if (!SWIG_IsOK(ecode2)) {
4644
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarTable", 2, argv[1] ));
4647
ecode3 = SWIG_AsVal_int(argv[2], &val3);
4648
if (!SWIG_IsOK(ecode3)) {
4649
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarTable", 3, argv[2] ));
4652
vlistDefVarTable(arg1,arg2,arg3);
4660
_wrap_vlistInqVarTable(int argc, VALUE *argv, VALUE self) {
4668
VALUE vresult = Qnil;
4670
if ((argc < 2) || (argc > 2)) {
4671
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4673
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4674
if (!SWIG_IsOK(ecode1)) {
4675
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarTable", 1, argv[0] ));
4678
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4679
if (!SWIG_IsOK(ecode2)) {
4680
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarTable", 2, argv[1] ));
4683
result = (int)vlistInqVarTable(arg1,arg2);
4684
vresult = SWIG_From_int((int)(result));
4692
_wrap_vlistDefVarName(int argc, VALUE *argv, VALUE self) {
4695
char *arg3 = (char *) 0 ;
4704
if ((argc < 3) || (argc > 3)) {
4705
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4707
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4708
if (!SWIG_IsOK(ecode1)) {
4709
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarName", 1, argv[0] ));
4712
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4713
if (!SWIG_IsOK(ecode2)) {
4714
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarName", 2, argv[1] ));
4717
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4718
if (!SWIG_IsOK(res3)) {
4719
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefVarName", 3, argv[2] ));
4721
arg3 = (char *)(buf3);
4722
vlistDefVarName(arg1,arg2,(char const *)arg3);
4723
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4726
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4732
_wrap_vlistInqVarName(int argc, VALUE *argv, VALUE self) {
4735
char *arg3 = (char *) 0 ;
4744
if ((argc < 3) || (argc > 3)) {
4745
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4747
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4748
if (!SWIG_IsOK(ecode1)) {
4749
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarName", 1, argv[0] ));
4752
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4753
if (!SWIG_IsOK(ecode2)) {
4754
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarName", 2, argv[1] ));
4757
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4758
if (!SWIG_IsOK(res3)) {
4759
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","vlistInqVarName", 3, argv[2] ));
4761
arg3 = (char *)(buf3);
4762
vlistInqVarName(arg1,arg2,arg3);
4763
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4766
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4772
_wrap_vlistDefVarLongname(int argc, VALUE *argv, VALUE self) {
4775
char *arg3 = (char *) 0 ;
4784
if ((argc < 3) || (argc > 3)) {
4785
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4787
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4788
if (!SWIG_IsOK(ecode1)) {
4789
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarLongname", 1, argv[0] ));
4792
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4793
if (!SWIG_IsOK(ecode2)) {
4794
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarLongname", 2, argv[1] ));
4797
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4798
if (!SWIG_IsOK(res3)) {
4799
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefVarLongname", 3, argv[2] ));
4801
arg3 = (char *)(buf3);
4802
vlistDefVarLongname(arg1,arg2,(char const *)arg3);
4803
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4806
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4812
_wrap_vlistDefVarStdname(int argc, VALUE *argv, VALUE self) {
4815
char *arg3 = (char *) 0 ;
4824
if ((argc < 3) || (argc > 3)) {
4825
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4827
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4828
if (!SWIG_IsOK(ecode1)) {
4829
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarStdname", 1, argv[0] ));
4832
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4833
if (!SWIG_IsOK(ecode2)) {
4834
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarStdname", 2, argv[1] ));
4837
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4838
if (!SWIG_IsOK(res3)) {
4839
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefVarStdname", 3, argv[2] ));
4841
arg3 = (char *)(buf3);
4842
vlistDefVarStdname(arg1,arg2,(char const *)arg3);
4843
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4846
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4852
_wrap_vlistInqVarLongname(int argc, VALUE *argv, VALUE self) {
4855
char *arg3 = (char *) 0 ;
4864
if ((argc < 3) || (argc > 3)) {
4865
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4867
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4868
if (!SWIG_IsOK(ecode1)) {
4869
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarLongname", 1, argv[0] ));
4872
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4873
if (!SWIG_IsOK(ecode2)) {
4874
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarLongname", 2, argv[1] ));
4877
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4878
if (!SWIG_IsOK(res3)) {
4879
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","vlistInqVarLongname", 3, argv[2] ));
4881
arg3 = (char *)(buf3);
4882
vlistInqVarLongname(arg1,arg2,arg3);
4883
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4886
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4892
_wrap_vlistInqVarStdname(int argc, VALUE *argv, VALUE self) {
4895
char *arg3 = (char *) 0 ;
4904
if ((argc < 3) || (argc > 3)) {
4905
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4907
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4908
if (!SWIG_IsOK(ecode1)) {
4909
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarStdname", 1, argv[0] ));
4912
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4913
if (!SWIG_IsOK(ecode2)) {
4914
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarStdname", 2, argv[1] ));
4917
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4918
if (!SWIG_IsOK(res3)) {
4919
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","vlistInqVarStdname", 3, argv[2] ));
4921
arg3 = (char *)(buf3);
4922
vlistInqVarStdname(arg1,arg2,arg3);
4923
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4926
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4932
_wrap_vlistDefVarUnits(int argc, VALUE *argv, VALUE self) {
4935
char *arg3 = (char *) 0 ;
4944
if ((argc < 3) || (argc > 3)) {
4945
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4947
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4948
if (!SWIG_IsOK(ecode1)) {
4949
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarUnits", 1, argv[0] ));
4952
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4953
if (!SWIG_IsOK(ecode2)) {
4954
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarUnits", 2, argv[1] ));
4957
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4958
if (!SWIG_IsOK(res3)) {
4959
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefVarUnits", 3, argv[2] ));
4961
arg3 = (char *)(buf3);
4962
vlistDefVarUnits(arg1,arg2,(char const *)arg3);
4963
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4966
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4972
_wrap_vlistInqVarUnits(int argc, VALUE *argv, VALUE self) {
4975
char *arg3 = (char *) 0 ;
4984
if ((argc < 3) || (argc > 3)) {
4985
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
4987
ecode1 = SWIG_AsVal_int(argv[0], &val1);
4988
if (!SWIG_IsOK(ecode1)) {
4989
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarUnits", 1, argv[0] ));
4992
ecode2 = SWIG_AsVal_int(argv[1], &val2);
4993
if (!SWIG_IsOK(ecode2)) {
4994
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarUnits", 2, argv[1] ));
4997
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
4998
if (!SWIG_IsOK(res3)) {
4999
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","vlistInqVarUnits", 3, argv[2] ));
5001
arg3 = (char *)(buf3);
5002
vlistInqVarUnits(arg1,arg2,arg3);
5003
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5006
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5012
_wrap_vlistDefVarMissval(int argc, VALUE *argv, VALUE self) {
5023
if ((argc < 3) || (argc > 3)) {
5024
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5026
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5027
if (!SWIG_IsOK(ecode1)) {
5028
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarMissval", 1, argv[0] ));
5031
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5032
if (!SWIG_IsOK(ecode2)) {
5033
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarMissval", 2, argv[1] ));
5036
ecode3 = SWIG_AsVal_double(argv[2], &val3);
5037
if (!SWIG_IsOK(ecode3)) {
5038
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","vlistDefVarMissval", 3, argv[2] ));
5040
arg3 = (double)(val3);
5041
vlistDefVarMissval(arg1,arg2,arg3);
5049
_wrap_vlistInqVarMissval(int argc, VALUE *argv, VALUE self) {
5057
VALUE vresult = Qnil;
5059
if ((argc < 2) || (argc > 2)) {
5060
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5062
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5063
if (!SWIG_IsOK(ecode1)) {
5064
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarMissval", 1, argv[0] ));
5067
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5068
if (!SWIG_IsOK(ecode2)) {
5069
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarMissval", 2, argv[1] ));
5072
result = (double)vlistInqVarMissval(arg1,arg2);
5073
vresult = SWIG_From_double((double)(result));
5081
_wrap_vlistDefVarScalefactor(int argc, VALUE *argv, VALUE self) {
5092
if ((argc < 3) || (argc > 3)) {
5093
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5095
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5096
if (!SWIG_IsOK(ecode1)) {
5097
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarScalefactor", 1, argv[0] ));
5100
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5101
if (!SWIG_IsOK(ecode2)) {
5102
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarScalefactor", 2, argv[1] ));
5105
ecode3 = SWIG_AsVal_double(argv[2], &val3);
5106
if (!SWIG_IsOK(ecode3)) {
5107
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","vlistDefVarScalefactor", 3, argv[2] ));
5109
arg3 = (double)(val3);
5110
vlistDefVarScalefactor(arg1,arg2,arg3);
5118
_wrap_vlistInqVarScalefactor(int argc, VALUE *argv, VALUE self) {
5126
VALUE vresult = Qnil;
5128
if ((argc < 2) || (argc > 2)) {
5129
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5131
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5132
if (!SWIG_IsOK(ecode1)) {
5133
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarScalefactor", 1, argv[0] ));
5136
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5137
if (!SWIG_IsOK(ecode2)) {
5138
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarScalefactor", 2, argv[1] ));
5141
result = (double)vlistInqVarScalefactor(arg1,arg2);
5142
vresult = SWIG_From_double((double)(result));
5150
_wrap_vlistDefVarAddoffset(int argc, VALUE *argv, VALUE self) {
5161
if ((argc < 3) || (argc > 3)) {
5162
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5164
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5165
if (!SWIG_IsOK(ecode1)) {
5166
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarAddoffset", 1, argv[0] ));
5169
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5170
if (!SWIG_IsOK(ecode2)) {
5171
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarAddoffset", 2, argv[1] ));
5174
ecode3 = SWIG_AsVal_double(argv[2], &val3);
5175
if (!SWIG_IsOK(ecode3)) {
5176
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","vlistDefVarAddoffset", 3, argv[2] ));
5178
arg3 = (double)(val3);
5179
vlistDefVarAddoffset(arg1,arg2,arg3);
5187
_wrap_vlistInqVarAddoffset(int argc, VALUE *argv, VALUE self) {
5195
VALUE vresult = Qnil;
5197
if ((argc < 2) || (argc > 2)) {
5198
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5200
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5201
if (!SWIG_IsOK(ecode1)) {
5202
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarAddoffset", 1, argv[0] ));
5205
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5206
if (!SWIG_IsOK(ecode2)) {
5207
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarAddoffset", 2, argv[1] ));
5210
result = (double)vlistInqVarAddoffset(arg1,arg2);
5211
vresult = SWIG_From_double((double)(result));
5219
_wrap_vlistDefVarTimave(int argc, VALUE *argv, VALUE self) {
5230
if ((argc < 3) || (argc > 3)) {
5231
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5233
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5234
if (!SWIG_IsOK(ecode1)) {
5235
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarTimave", 1, argv[0] ));
5238
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5239
if (!SWIG_IsOK(ecode2)) {
5240
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarTimave", 2, argv[1] ));
5243
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5244
if (!SWIG_IsOK(ecode3)) {
5245
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarTimave", 3, argv[2] ));
5248
vlistDefVarTimave(arg1,arg2,arg3);
5256
_wrap_vlistInqVarTimave(int argc, VALUE *argv, VALUE self) {
5264
VALUE vresult = Qnil;
5266
if ((argc < 2) || (argc > 2)) {
5267
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5269
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5270
if (!SWIG_IsOK(ecode1)) {
5271
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarTimave", 1, argv[0] ));
5274
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5275
if (!SWIG_IsOK(ecode2)) {
5276
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarTimave", 2, argv[1] ));
5279
result = (int)vlistInqVarTimave(arg1,arg2);
5280
vresult = SWIG_From_int((int)(result));
5288
_wrap_vlistDefVarTimaccu(int argc, VALUE *argv, VALUE self) {
5299
if ((argc < 3) || (argc > 3)) {
5300
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5302
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5303
if (!SWIG_IsOK(ecode1)) {
5304
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefVarTimaccu", 1, argv[0] ));
5307
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5308
if (!SWIG_IsOK(ecode2)) {
5309
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefVarTimaccu", 2, argv[1] ));
5312
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5313
if (!SWIG_IsOK(ecode3)) {
5314
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefVarTimaccu", 3, argv[2] ));
5317
vlistDefVarTimaccu(arg1,arg2,arg3);
5325
_wrap_vlistInqVarTimaccu(int argc, VALUE *argv, VALUE self) {
5333
VALUE vresult = Qnil;
5335
if ((argc < 2) || (argc > 2)) {
5336
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5338
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5339
if (!SWIG_IsOK(ecode1)) {
5340
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarTimaccu", 1, argv[0] ));
5343
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5344
if (!SWIG_IsOK(ecode2)) {
5345
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarTimaccu", 2, argv[1] ));
5348
result = (int)vlistInqVarTimaccu(arg1,arg2);
5349
vresult = SWIG_From_int((int)(result));
5357
_wrap_vlistInqVarSize(int argc, VALUE *argv, VALUE self) {
5365
VALUE vresult = Qnil;
5367
if ((argc < 2) || (argc > 2)) {
5368
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5370
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5371
if (!SWIG_IsOK(ecode1)) {
5372
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarSize", 1, argv[0] ));
5375
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5376
if (!SWIG_IsOK(ecode2)) {
5377
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarSize", 2, argv[1] ));
5380
result = (int)vlistInqVarSize(arg1,arg2);
5381
vresult = SWIG_From_int((int)(result));
5389
_wrap_vlistInqVarID(int argc, VALUE *argv, VALUE self) {
5397
VALUE vresult = Qnil;
5399
if ((argc < 2) || (argc > 2)) {
5400
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5402
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5403
if (!SWIG_IsOK(ecode1)) {
5404
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqVarID", 1, argv[0] ));
5407
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5408
if (!SWIG_IsOK(ecode2)) {
5409
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqVarID", 2, argv[1] ));
5412
result = (int)vlistInqVarID(arg1,arg2);
5413
vresult = SWIG_From_int((int)(result));
5421
_wrap_vlistDefIndex(int argc, VALUE *argv, VALUE self) {
5435
if ((argc < 4) || (argc > 4)) {
5436
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
5438
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5439
if (!SWIG_IsOK(ecode1)) {
5440
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefIndex", 1, argv[0] ));
5443
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5444
if (!SWIG_IsOK(ecode2)) {
5445
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefIndex", 2, argv[1] ));
5448
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5449
if (!SWIG_IsOK(ecode3)) {
5450
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefIndex", 3, argv[2] ));
5453
ecode4 = SWIG_AsVal_int(argv[3], &val4);
5454
if (!SWIG_IsOK(ecode4)) {
5455
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefIndex", 4, argv[3] ));
5458
vlistDefIndex(arg1,arg2,arg3,arg4);
5466
_wrap_vlistInqIndex(int argc, VALUE *argv, VALUE self) {
5477
VALUE vresult = Qnil;
5479
if ((argc < 3) || (argc > 3)) {
5480
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5482
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5483
if (!SWIG_IsOK(ecode1)) {
5484
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqIndex", 1, argv[0] ));
5487
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5488
if (!SWIG_IsOK(ecode2)) {
5489
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqIndex", 2, argv[1] ));
5492
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5493
if (!SWIG_IsOK(ecode3)) {
5494
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistInqIndex", 3, argv[2] ));
5497
result = (int)vlistInqIndex(arg1,arg2,arg3);
5498
vresult = SWIG_From_int((int)(result));
5506
_wrap_vlistDefFlag(int argc, VALUE *argv, VALUE self) {
5520
if ((argc < 4) || (argc > 4)) {
5521
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
5523
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5524
if (!SWIG_IsOK(ecode1)) {
5525
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefFlag", 1, argv[0] ));
5528
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5529
if (!SWIG_IsOK(ecode2)) {
5530
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefFlag", 2, argv[1] ));
5533
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5534
if (!SWIG_IsOK(ecode3)) {
5535
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistDefFlag", 3, argv[2] ));
5538
ecode4 = SWIG_AsVal_int(argv[3], &val4);
5539
if (!SWIG_IsOK(ecode4)) {
5540
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefFlag", 4, argv[3] ));
5543
vlistDefFlag(arg1,arg2,arg3,arg4);
5551
_wrap_vlistInqFlag(int argc, VALUE *argv, VALUE self) {
5562
VALUE vresult = Qnil;
5564
if ((argc < 3) || (argc > 3)) {
5565
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5567
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5568
if (!SWIG_IsOK(ecode1)) {
5569
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqFlag", 1, argv[0] ));
5572
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5573
if (!SWIG_IsOK(ecode2)) {
5574
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqFlag", 2, argv[1] ));
5577
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5578
if (!SWIG_IsOK(ecode3)) {
5579
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistInqFlag", 3, argv[2] ));
5582
result = (int)vlistInqFlag(arg1,arg2,arg3);
5583
vresult = SWIG_From_int((int)(result));
5591
_wrap_vlistFindVar(int argc, VALUE *argv, VALUE self) {
5599
VALUE vresult = Qnil;
5601
if ((argc < 2) || (argc > 2)) {
5602
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5604
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5605
if (!SWIG_IsOK(ecode1)) {
5606
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistFindVar", 1, argv[0] ));
5609
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5610
if (!SWIG_IsOK(ecode2)) {
5611
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistFindVar", 2, argv[1] ));
5614
result = (int)vlistFindVar(arg1,arg2);
5615
vresult = SWIG_From_int((int)(result));
5623
_wrap_vlistFindLevel(int argc, VALUE *argv, VALUE self) {
5634
VALUE vresult = Qnil;
5636
if ((argc < 3) || (argc > 3)) {
5637
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5639
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5640
if (!SWIG_IsOK(ecode1)) {
5641
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistFindLevel", 1, argv[0] ));
5644
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5645
if (!SWIG_IsOK(ecode2)) {
5646
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistFindLevel", 2, argv[1] ));
5649
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5650
if (!SWIG_IsOK(ecode3)) {
5651
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistFindLevel", 3, argv[2] ));
5654
result = (int)vlistFindLevel(arg1,arg2,arg3);
5655
vresult = SWIG_From_int((int)(result));
5663
_wrap_vlistMergedVar(int argc, VALUE *argv, VALUE self) {
5671
VALUE vresult = Qnil;
5673
if ((argc < 2) || (argc > 2)) {
5674
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
5676
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5677
if (!SWIG_IsOK(ecode1)) {
5678
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistMergedVar", 1, argv[0] ));
5681
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5682
if (!SWIG_IsOK(ecode2)) {
5683
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistMergedVar", 2, argv[1] ));
5686
result = (int)vlistMergedVar(arg1,arg2);
5687
vresult = SWIG_From_int((int)(result));
5695
_wrap_vlistMergedLevel(int argc, VALUE *argv, VALUE self) {
5706
VALUE vresult = Qnil;
5708
if ((argc < 3) || (argc > 3)) {
5709
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5711
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5712
if (!SWIG_IsOK(ecode1)) {
5713
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistMergedLevel", 1, argv[0] ));
5716
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5717
if (!SWIG_IsOK(ecode2)) {
5718
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistMergedLevel", 2, argv[1] ));
5721
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5722
if (!SWIG_IsOK(ecode3)) {
5723
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistMergedLevel", 3, argv[2] ));
5726
result = (int)vlistMergedLevel(arg1,arg2,arg3);
5727
vresult = SWIG_From_int((int)(result));
5735
_wrap_vlistInqNatts(int argc, VALUE *argv, VALUE self) {
5738
int *arg3 = (int *) 0 ;
5746
VALUE vresult = Qnil;
5748
if ((argc < 3) || (argc > 3)) {
5749
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5751
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5752
if (!SWIG_IsOK(ecode1)) {
5753
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqNatts", 1, argv[0] ));
5756
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5757
if (!SWIG_IsOK(ecode2)) {
5758
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqNatts", 2, argv[1] ));
5761
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
5762
if (!SWIG_IsOK(res3)) {
5763
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","vlistInqNatts", 3, argv[2] ));
5765
arg3 = (int *)(argp3);
5766
result = (int)vlistInqNatts(arg1,arg2,arg3);
5767
vresult = SWIG_From_int((int)(result));
5775
_wrap_vlistInqAtt(int argc, VALUE *argv, VALUE self) {
5779
char *arg4 = (char *) 0 ;
5780
int *arg5 = (int *) 0 ;
5781
int *arg6 = (int *) 0 ;
5796
VALUE vresult = Qnil;
5798
if ((argc < 6) || (argc > 6)) {
5799
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
5801
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5802
if (!SWIG_IsOK(ecode1)) {
5803
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqAtt", 1, argv[0] ));
5806
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5807
if (!SWIG_IsOK(ecode2)) {
5808
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqAtt", 2, argv[1] ));
5811
ecode3 = SWIG_AsVal_int(argv[2], &val3);
5812
if (!SWIG_IsOK(ecode3)) {
5813
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","vlistInqAtt", 3, argv[2] ));
5816
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
5817
if (!SWIG_IsOK(res4)) {
5818
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","vlistInqAtt", 4, argv[3] ));
5820
arg4 = (char *)(buf4);
5821
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_int, 0 | 0 );
5822
if (!SWIG_IsOK(res5)) {
5823
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "int *","vlistInqAtt", 5, argv[4] ));
5825
arg5 = (int *)(argp5);
5826
res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_int, 0 | 0 );
5827
if (!SWIG_IsOK(res6)) {
5828
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "int *","vlistInqAtt", 6, argv[5] ));
5830
arg6 = (int *)(argp6);
5831
result = (int)vlistInqAtt(arg1,arg2,arg3,arg4,arg5,arg6);
5832
vresult = SWIG_From_int((int)(result));
5833
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5836
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5842
_wrap_vlistDelAtt(int argc, VALUE *argv, VALUE self) {
5845
char *arg3 = (char *) 0 ;
5854
VALUE vresult = Qnil;
5856
if ((argc < 3) || (argc > 3)) {
5857
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
5859
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5860
if (!SWIG_IsOK(ecode1)) {
5861
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDelAtt", 1, argv[0] ));
5864
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5865
if (!SWIG_IsOK(ecode2)) {
5866
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDelAtt", 2, argv[1] ));
5869
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5870
if (!SWIG_IsOK(res3)) {
5871
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDelAtt", 3, argv[2] ));
5873
arg3 = (char *)(buf3);
5874
result = (int)vlistDelAtt(arg1,arg2,(char const *)arg3);
5875
vresult = SWIG_From_int((int)(result));
5876
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5879
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5885
_wrap_vlistDefAttInt(int argc, VALUE *argv, VALUE self) {
5888
char *arg3 = (char *) 0 ;
5890
int *arg5 = (int *) 0 ;
5903
VALUE vresult = Qnil;
5905
if ((argc < 5) || (argc > 5)) {
5906
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
5908
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5909
if (!SWIG_IsOK(ecode1)) {
5910
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefAttInt", 1, argv[0] ));
5913
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5914
if (!SWIG_IsOK(ecode2)) {
5915
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefAttInt", 2, argv[1] ));
5918
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5919
if (!SWIG_IsOK(res3)) {
5920
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefAttInt", 3, argv[2] ));
5922
arg3 = (char *)(buf3);
5923
ecode4 = SWIG_AsVal_int(argv[3], &val4);
5924
if (!SWIG_IsOK(ecode4)) {
5925
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefAttInt", 4, argv[3] ));
5928
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_int, 0 | 0 );
5929
if (!SWIG_IsOK(res5)) {
5930
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "int const *","vlistDefAttInt", 5, argv[4] ));
5932
arg5 = (int *)(argp5);
5933
result = (int)vlistDefAttInt(arg1,arg2,(char const *)arg3,arg4,(int const *)arg5);
5934
vresult = SWIG_From_int((int)(result));
5935
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5938
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5944
_wrap_vlistDefAttFlt(int argc, VALUE *argv, VALUE self) {
5947
char *arg3 = (char *) 0 ;
5949
double *arg5 = (double *) 0 ;
5962
VALUE vresult = Qnil;
5964
if ((argc < 5) || (argc > 5)) {
5965
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
5967
ecode1 = SWIG_AsVal_int(argv[0], &val1);
5968
if (!SWIG_IsOK(ecode1)) {
5969
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefAttFlt", 1, argv[0] ));
5972
ecode2 = SWIG_AsVal_int(argv[1], &val2);
5973
if (!SWIG_IsOK(ecode2)) {
5974
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefAttFlt", 2, argv[1] ));
5977
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
5978
if (!SWIG_IsOK(res3)) {
5979
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefAttFlt", 3, argv[2] ));
5981
arg3 = (char *)(buf3);
5982
ecode4 = SWIG_AsVal_int(argv[3], &val4);
5983
if (!SWIG_IsOK(ecode4)) {
5984
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefAttFlt", 4, argv[3] ));
5987
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
5988
if (!SWIG_IsOK(res5)) {
5989
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double const *","vlistDefAttFlt", 5, argv[4] ));
5991
arg5 = (double *)(argp5);
5992
result = (int)vlistDefAttFlt(arg1,arg2,(char const *)arg3,arg4,(double const *)arg5);
5993
vresult = SWIG_From_int((int)(result));
5994
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5997
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6003
_wrap_vlistDefAttTxt(int argc, VALUE *argv, VALUE self) {
6006
char *arg3 = (char *) 0 ;
6008
char *arg5 = (char *) 0 ;
6022
VALUE vresult = Qnil;
6024
if ((argc < 5) || (argc > 5)) {
6025
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6027
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6028
if (!SWIG_IsOK(ecode1)) {
6029
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistDefAttTxt", 1, argv[0] ));
6032
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6033
if (!SWIG_IsOK(ecode2)) {
6034
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistDefAttTxt", 2, argv[1] ));
6037
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
6038
if (!SWIG_IsOK(res3)) {
6039
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistDefAttTxt", 3, argv[2] ));
6041
arg3 = (char *)(buf3);
6042
ecode4 = SWIG_AsVal_int(argv[3], &val4);
6043
if (!SWIG_IsOK(ecode4)) {
6044
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistDefAttTxt", 4, argv[3] ));
6047
res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
6048
if (!SWIG_IsOK(res5)) {
6049
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","vlistDefAttTxt", 5, argv[4] ));
6051
arg5 = (char *)(buf5);
6052
result = (int)vlistDefAttTxt(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5);
6053
vresult = SWIG_From_int((int)(result));
6054
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6055
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6058
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6059
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6065
_wrap_vlistInqAttInt(int argc, VALUE *argv, VALUE self) {
6068
char *arg3 = (char *) 0 ;
6070
int *arg5 = (int *) 0 ;
6083
VALUE vresult = Qnil;
6085
if ((argc < 5) || (argc > 5)) {
6086
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6088
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6089
if (!SWIG_IsOK(ecode1)) {
6090
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqAttInt", 1, argv[0] ));
6093
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6094
if (!SWIG_IsOK(ecode2)) {
6095
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqAttInt", 2, argv[1] ));
6098
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
6099
if (!SWIG_IsOK(res3)) {
6100
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistInqAttInt", 3, argv[2] ));
6102
arg3 = (char *)(buf3);
6103
ecode4 = SWIG_AsVal_int(argv[3], &val4);
6104
if (!SWIG_IsOK(ecode4)) {
6105
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistInqAttInt", 4, argv[3] ));
6108
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_int, 0 | 0 );
6109
if (!SWIG_IsOK(res5)) {
6110
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "int *","vlistInqAttInt", 5, argv[4] ));
6112
arg5 = (int *)(argp5);
6113
result = (int)vlistInqAttInt(arg1,arg2,(char const *)arg3,arg4,arg5);
6114
vresult = SWIG_From_int((int)(result));
6115
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6118
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6124
_wrap_vlistInqAttFlt(int argc, VALUE *argv, VALUE self) {
6127
char *arg3 = (char *) 0 ;
6129
double *arg5 = (double *) 0 ;
6142
VALUE vresult = Qnil;
6144
if ((argc < 5) || (argc > 5)) {
6145
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6147
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6148
if (!SWIG_IsOK(ecode1)) {
6149
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqAttFlt", 1, argv[0] ));
6152
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6153
if (!SWIG_IsOK(ecode2)) {
6154
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqAttFlt", 2, argv[1] ));
6157
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
6158
if (!SWIG_IsOK(res3)) {
6159
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistInqAttFlt", 3, argv[2] ));
6161
arg3 = (char *)(buf3);
6162
ecode4 = SWIG_AsVal_int(argv[3], &val4);
6163
if (!SWIG_IsOK(ecode4)) {
6164
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistInqAttFlt", 4, argv[3] ));
6167
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
6168
if (!SWIG_IsOK(res5)) {
6169
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double *","vlistInqAttFlt", 5, argv[4] ));
6171
arg5 = (double *)(argp5);
6172
result = (int)vlistInqAttFlt(arg1,arg2,(char const *)arg3,arg4,arg5);
6173
vresult = SWIG_From_int((int)(result));
6174
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6177
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6183
_wrap_vlistInqAttTxt(int argc, VALUE *argv, VALUE self) {
6186
char *arg3 = (char *) 0 ;
6188
char *arg5 = (char *) 0 ;
6202
VALUE vresult = Qnil;
6204
if ((argc < 5) || (argc > 5)) {
6205
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
6207
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6208
if (!SWIG_IsOK(ecode1)) {
6209
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","vlistInqAttTxt", 1, argv[0] ));
6212
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6213
if (!SWIG_IsOK(ecode2)) {
6214
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","vlistInqAttTxt", 2, argv[1] ));
6217
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
6218
if (!SWIG_IsOK(res3)) {
6219
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","vlistInqAttTxt", 3, argv[2] ));
6221
arg3 = (char *)(buf3);
6222
ecode4 = SWIG_AsVal_int(argv[3], &val4);
6223
if (!SWIG_IsOK(ecode4)) {
6224
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","vlistInqAttTxt", 4, argv[3] ));
6227
res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
6228
if (!SWIG_IsOK(res5)) {
6229
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char *","vlistInqAttTxt", 5, argv[4] ));
6231
arg5 = (char *)(buf5);
6232
result = (int)vlistInqAttTxt(arg1,arg2,(char const *)arg3,arg4,arg5);
6233
vresult = SWIG_From_int((int)(result));
6234
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6235
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6238
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
6239
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6245
_wrap_gridName(int argc, VALUE *argv, VALUE self) {
6247
char *arg2 = (char *) 0 ;
6254
if ((argc < 2) || (argc > 2)) {
6255
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6257
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6258
if (!SWIG_IsOK(ecode1)) {
6259
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridName", 1, argv[0] ));
6262
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6263
if (!SWIG_IsOK(res2)) {
6264
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridName", 2, argv[1] ));
6266
arg2 = (char *)(buf2);
6267
gridName(arg1,arg2);
6268
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6271
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6277
_wrap_gridNamePtr(int argc, VALUE *argv, VALUE self) {
6282
VALUE vresult = Qnil;
6284
if ((argc < 1) || (argc > 1)) {
6285
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6287
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6288
if (!SWIG_IsOK(ecode1)) {
6289
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridNamePtr", 1, argv[0] ));
6292
result = (char *)gridNamePtr(arg1);
6293
vresult = SWIG_FromCharPtr((const char *)result);
6301
_wrap_gridCompress(int argc, VALUE *argv, VALUE self) {
6306
if ((argc < 1) || (argc > 1)) {
6307
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6309
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6310
if (!SWIG_IsOK(ecode1)) {
6311
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridCompress", 1, argv[0] ));
6322
_wrap_gridDefMask(int argc, VALUE *argv, VALUE self) {
6324
int *arg2 = (int *) 0 ;
6330
if ((argc < 2) || (argc > 2)) {
6331
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6333
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6334
if (!SWIG_IsOK(ecode1)) {
6335
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefMask", 1, argv[0] ));
6338
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
6339
if (!SWIG_IsOK(res2)) {
6340
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int const *","gridDefMask", 2, argv[1] ));
6342
arg2 = (int *)(argp2);
6343
gridDefMask(arg1,(int const *)arg2);
6351
_wrap_gridInqMask(int argc, VALUE *argv, VALUE self) {
6353
int *arg2 = (int *) 0 ;
6359
VALUE vresult = Qnil;
6361
if ((argc < 2) || (argc > 2)) {
6362
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6364
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6365
if (!SWIG_IsOK(ecode1)) {
6366
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqMask", 1, argv[0] ));
6369
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
6370
if (!SWIG_IsOK(res2)) {
6371
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","gridInqMask", 2, argv[1] ));
6373
arg2 = (int *)(argp2);
6374
result = (int)gridInqMask(arg1,arg2);
6375
vresult = SWIG_From_int((int)(result));
6383
_wrap_gridPrint(int argc, VALUE *argv, VALUE self) {
6391
if ((argc < 2) || (argc > 2)) {
6392
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6394
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6395
if (!SWIG_IsOK(ecode1)) {
6396
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridPrint", 1, argv[0] ));
6399
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6400
if (!SWIG_IsOK(ecode2)) {
6401
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridPrint", 2, argv[1] ));
6404
gridPrint(arg1,arg2);
6412
_wrap_gridSize(int argc, VALUE *argv, VALUE self) {
6414
VALUE vresult = Qnil;
6416
if ((argc < 0) || (argc > 0)) {
6417
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
6419
result = (int)gridSize();
6420
vresult = SWIG_From_int((int)(result));
6428
_wrap_gridCreate(int argc, VALUE *argv, VALUE self) {
6436
VALUE vresult = Qnil;
6438
if ((argc < 2) || (argc > 2)) {
6439
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6441
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6442
if (!SWIG_IsOK(ecode1)) {
6443
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridCreate", 1, argv[0] ));
6446
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6447
if (!SWIG_IsOK(ecode2)) {
6448
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridCreate", 2, argv[1] ));
6451
result = (int)gridCreate(arg1,arg2);
6452
vresult = SWIG_From_int((int)(result));
6460
_wrap_gridDestroy(int argc, VALUE *argv, VALUE self) {
6465
if ((argc < 1) || (argc > 1)) {
6466
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6468
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6469
if (!SWIG_IsOK(ecode1)) {
6470
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDestroy", 1, argv[0] ));
6481
_wrap_gridDuplicate(int argc, VALUE *argv, VALUE self) {
6486
VALUE vresult = Qnil;
6488
if ((argc < 1) || (argc > 1)) {
6489
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6491
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6492
if (!SWIG_IsOK(ecode1)) {
6493
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDuplicate", 1, argv[0] ));
6496
result = (int)gridDuplicate(arg1);
6497
vresult = SWIG_From_int((int)(result));
6505
_wrap_gridInqType(int argc, VALUE *argv, VALUE self) {
6510
VALUE vresult = Qnil;
6512
if ((argc < 1) || (argc > 1)) {
6513
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6515
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6516
if (!SWIG_IsOK(ecode1)) {
6517
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqType", 1, argv[0] ));
6520
result = (int)gridInqType(arg1);
6521
vresult = SWIG_From_int((int)(result));
6529
_wrap_gridInqSize(int argc, VALUE *argv, VALUE self) {
6534
VALUE vresult = Qnil;
6536
if ((argc < 1) || (argc > 1)) {
6537
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6539
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6540
if (!SWIG_IsOK(ecode1)) {
6541
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqSize", 1, argv[0] ));
6544
result = (int)gridInqSize(arg1);
6545
vresult = SWIG_From_int((int)(result));
6553
_wrap_gridDefXsize(int argc, VALUE *argv, VALUE self) {
6561
if ((argc < 2) || (argc > 2)) {
6562
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6564
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6565
if (!SWIG_IsOK(ecode1)) {
6566
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXsize", 1, argv[0] ));
6569
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6570
if (!SWIG_IsOK(ecode2)) {
6571
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefXsize", 2, argv[1] ));
6574
gridDefXsize(arg1,arg2);
6582
_wrap_gridInqXsize(int argc, VALUE *argv, VALUE self) {
6587
VALUE vresult = Qnil;
6589
if ((argc < 1) || (argc > 1)) {
6590
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6592
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6593
if (!SWIG_IsOK(ecode1)) {
6594
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXsize", 1, argv[0] ));
6597
result = (int)gridInqXsize(arg1);
6598
vresult = SWIG_From_int((int)(result));
6606
_wrap_gridDefYsize(int argc, VALUE *argv, VALUE self) {
6614
if ((argc < 2) || (argc > 2)) {
6615
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6617
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6618
if (!SWIG_IsOK(ecode1)) {
6619
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYsize", 1, argv[0] ));
6622
ecode2 = SWIG_AsVal_int(argv[1], &val2);
6623
if (!SWIG_IsOK(ecode2)) {
6624
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefYsize", 2, argv[1] ));
6627
gridDefYsize(arg1,arg2);
6635
_wrap_gridInqYsize(int argc, VALUE *argv, VALUE self) {
6640
VALUE vresult = Qnil;
6642
if ((argc < 1) || (argc > 1)) {
6643
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
6645
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6646
if (!SWIG_IsOK(ecode1)) {
6647
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYsize", 1, argv[0] ));
6650
result = (int)gridInqYsize(arg1);
6651
vresult = SWIG_From_int((int)(result));
6659
_wrap_gridDefXvals(int argc, VALUE *argv, VALUE self) {
6661
double *arg2 = (double *) 0 ;
6667
if ((argc < 2) || (argc > 2)) {
6668
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6670
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6671
if (!SWIG_IsOK(ecode1)) {
6672
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXvals", 1, argv[0] ));
6675
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
6676
if (!SWIG_IsOK(res2)) {
6677
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","gridDefXvals", 2, argv[1] ));
6679
arg2 = (double *)(argp2);
6680
gridDefXvals(arg1,(double const *)arg2);
6688
_wrap_gridInqXvals(int argc, VALUE *argv, VALUE self) {
6690
double *arg2 = (double *) 0 ;
6696
VALUE vresult = Qnil;
6698
if ((argc < 2) || (argc > 2)) {
6699
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6701
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6702
if (!SWIG_IsOK(ecode1)) {
6703
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXvals", 1, argv[0] ));
6706
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
6707
if (!SWIG_IsOK(res2)) {
6708
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqXvals", 2, argv[1] ));
6710
arg2 = (double *)(argp2);
6711
result = (int)gridInqXvals(arg1,arg2);
6712
vresult = SWIG_From_int((int)(result));
6720
_wrap_gridDefYvals(int argc, VALUE *argv, VALUE self) {
6722
double *arg2 = (double *) 0 ;
6728
if ((argc < 2) || (argc > 2)) {
6729
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6731
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6732
if (!SWIG_IsOK(ecode1)) {
6733
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYvals", 1, argv[0] ));
6736
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
6737
if (!SWIG_IsOK(res2)) {
6738
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","gridDefYvals", 2, argv[1] ));
6740
arg2 = (double *)(argp2);
6741
gridDefYvals(arg1,(double const *)arg2);
6749
_wrap_gridInqYvals(int argc, VALUE *argv, VALUE self) {
6751
double *arg2 = (double *) 0 ;
6757
VALUE vresult = Qnil;
6759
if ((argc < 2) || (argc > 2)) {
6760
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6762
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6763
if (!SWIG_IsOK(ecode1)) {
6764
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYvals", 1, argv[0] ));
6767
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
6768
if (!SWIG_IsOK(res2)) {
6769
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqYvals", 2, argv[1] ));
6771
arg2 = (double *)(argp2);
6772
result = (int)gridInqYvals(arg1,arg2);
6773
vresult = SWIG_From_int((int)(result));
6781
_wrap_gridDefXname(int argc, VALUE *argv, VALUE self) {
6783
char *arg2 = (char *) 0 ;
6790
if ((argc < 2) || (argc > 2)) {
6791
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6793
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6794
if (!SWIG_IsOK(ecode1)) {
6795
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXname", 1, argv[0] ));
6798
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6799
if (!SWIG_IsOK(res2)) {
6800
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefXname", 2, argv[1] ));
6802
arg2 = (char *)(buf2);
6803
gridDefXname(arg1,(char const *)arg2);
6804
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6807
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6813
_wrap_gridDefXlongname(int argc, VALUE *argv, VALUE self) {
6815
char *arg2 = (char *) 0 ;
6822
if ((argc < 2) || (argc > 2)) {
6823
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6825
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6826
if (!SWIG_IsOK(ecode1)) {
6827
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXlongname", 1, argv[0] ));
6830
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6831
if (!SWIG_IsOK(res2)) {
6832
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefXlongname", 2, argv[1] ));
6834
arg2 = (char *)(buf2);
6835
gridDefXlongname(arg1,(char const *)arg2);
6836
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6839
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6845
_wrap_gridDefXunits(int argc, VALUE *argv, VALUE self) {
6847
char *arg2 = (char *) 0 ;
6854
if ((argc < 2) || (argc > 2)) {
6855
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6857
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6858
if (!SWIG_IsOK(ecode1)) {
6859
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXunits", 1, argv[0] ));
6862
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6863
if (!SWIG_IsOK(res2)) {
6864
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefXunits", 2, argv[1] ));
6866
arg2 = (char *)(buf2);
6867
gridDefXunits(arg1,(char const *)arg2);
6868
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6871
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6877
_wrap_gridDefYname(int argc, VALUE *argv, VALUE self) {
6879
char *arg2 = (char *) 0 ;
6886
if ((argc < 2) || (argc > 2)) {
6887
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6889
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6890
if (!SWIG_IsOK(ecode1)) {
6891
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYname", 1, argv[0] ));
6894
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6895
if (!SWIG_IsOK(res2)) {
6896
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefYname", 2, argv[1] ));
6898
arg2 = (char *)(buf2);
6899
gridDefYname(arg1,(char const *)arg2);
6900
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6903
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6909
_wrap_gridDefYlongname(int argc, VALUE *argv, VALUE self) {
6911
char *arg2 = (char *) 0 ;
6918
if ((argc < 2) || (argc > 2)) {
6919
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6921
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6922
if (!SWIG_IsOK(ecode1)) {
6923
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYlongname", 1, argv[0] ));
6926
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6927
if (!SWIG_IsOK(res2)) {
6928
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefYlongname", 2, argv[1] ));
6930
arg2 = (char *)(buf2);
6931
gridDefYlongname(arg1,(char const *)arg2);
6932
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6935
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6941
_wrap_gridDefYunits(int argc, VALUE *argv, VALUE self) {
6943
char *arg2 = (char *) 0 ;
6950
if ((argc < 2) || (argc > 2)) {
6951
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6953
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6954
if (!SWIG_IsOK(ecode1)) {
6955
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYunits", 1, argv[0] ));
6958
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6959
if (!SWIG_IsOK(res2)) {
6960
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","gridDefYunits", 2, argv[1] ));
6962
arg2 = (char *)(buf2);
6963
gridDefYunits(arg1,(char const *)arg2);
6964
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6967
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6973
_wrap_gridInqXname(int argc, VALUE *argv, VALUE self) {
6975
char *arg2 = (char *) 0 ;
6982
if ((argc < 2) || (argc > 2)) {
6983
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
6985
ecode1 = SWIG_AsVal_int(argv[0], &val1);
6986
if (!SWIG_IsOK(ecode1)) {
6987
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXname", 1, argv[0] ));
6990
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
6991
if (!SWIG_IsOK(res2)) {
6992
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqXname", 2, argv[1] ));
6994
arg2 = (char *)(buf2);
6995
gridInqXname(arg1,arg2);
6996
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6999
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7005
_wrap_gridInqXlongname(int argc, VALUE *argv, VALUE self) {
7007
char *arg2 = (char *) 0 ;
7014
if ((argc < 2) || (argc > 2)) {
7015
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7017
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7018
if (!SWIG_IsOK(ecode1)) {
7019
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXlongname", 1, argv[0] ));
7022
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7023
if (!SWIG_IsOK(res2)) {
7024
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqXlongname", 2, argv[1] ));
7026
arg2 = (char *)(buf2);
7027
gridInqXlongname(arg1,arg2);
7028
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7031
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7037
_wrap_gridInqXstdname(int argc, VALUE *argv, VALUE self) {
7039
char *arg2 = (char *) 0 ;
7046
if ((argc < 2) || (argc > 2)) {
7047
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7049
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7050
if (!SWIG_IsOK(ecode1)) {
7051
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXstdname", 1, argv[0] ));
7054
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7055
if (!SWIG_IsOK(res2)) {
7056
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqXstdname", 2, argv[1] ));
7058
arg2 = (char *)(buf2);
7059
gridInqXstdname(arg1,arg2);
7060
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7063
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7069
_wrap_gridInqXunits(int argc, VALUE *argv, VALUE self) {
7071
char *arg2 = (char *) 0 ;
7078
if ((argc < 2) || (argc > 2)) {
7079
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7081
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7082
if (!SWIG_IsOK(ecode1)) {
7083
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXunits", 1, argv[0] ));
7086
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7087
if (!SWIG_IsOK(res2)) {
7088
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqXunits", 2, argv[1] ));
7090
arg2 = (char *)(buf2);
7091
gridInqXunits(arg1,arg2);
7092
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7095
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7101
_wrap_gridInqYname(int argc, VALUE *argv, VALUE self) {
7103
char *arg2 = (char *) 0 ;
7110
if ((argc < 2) || (argc > 2)) {
7111
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7113
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7114
if (!SWIG_IsOK(ecode1)) {
7115
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYname", 1, argv[0] ));
7118
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7119
if (!SWIG_IsOK(res2)) {
7120
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqYname", 2, argv[1] ));
7122
arg2 = (char *)(buf2);
7123
gridInqYname(arg1,arg2);
7124
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7127
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7133
_wrap_gridInqYlongname(int argc, VALUE *argv, VALUE self) {
7135
char *arg2 = (char *) 0 ;
7142
if ((argc < 2) || (argc > 2)) {
7143
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7145
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7146
if (!SWIG_IsOK(ecode1)) {
7147
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYlongname", 1, argv[0] ));
7150
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7151
if (!SWIG_IsOK(res2)) {
7152
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqYlongname", 2, argv[1] ));
7154
arg2 = (char *)(buf2);
7155
gridInqYlongname(arg1,arg2);
7156
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7159
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7165
_wrap_gridInqYstdname(int argc, VALUE *argv, VALUE self) {
7167
char *arg2 = (char *) 0 ;
7174
if ((argc < 2) || (argc > 2)) {
7175
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7177
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7178
if (!SWIG_IsOK(ecode1)) {
7179
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYstdname", 1, argv[0] ));
7182
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7183
if (!SWIG_IsOK(res2)) {
7184
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqYstdname", 2, argv[1] ));
7186
arg2 = (char *)(buf2);
7187
gridInqYstdname(arg1,arg2);
7188
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7191
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7197
_wrap_gridInqYunits(int argc, VALUE *argv, VALUE self) {
7199
char *arg2 = (char *) 0 ;
7206
if ((argc < 2) || (argc > 2)) {
7207
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7209
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7210
if (!SWIG_IsOK(ecode1)) {
7211
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYunits", 1, argv[0] ));
7214
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
7215
if (!SWIG_IsOK(res2)) {
7216
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","gridInqYunits", 2, argv[1] ));
7218
arg2 = (char *)(buf2);
7219
gridInqYunits(arg1,arg2);
7220
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7223
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7229
_wrap_gridDefPrec(int argc, VALUE *argv, VALUE self) {
7237
if ((argc < 2) || (argc > 2)) {
7238
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7240
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7241
if (!SWIG_IsOK(ecode1)) {
7242
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefPrec", 1, argv[0] ));
7245
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7246
if (!SWIG_IsOK(ecode2)) {
7247
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefPrec", 2, argv[1] ));
7250
gridDefPrec(arg1,arg2);
7258
_wrap_gridInqPrec(int argc, VALUE *argv, VALUE self) {
7263
VALUE vresult = Qnil;
7265
if ((argc < 1) || (argc > 1)) {
7266
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7268
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7269
if (!SWIG_IsOK(ecode1)) {
7270
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqPrec", 1, argv[0] ));
7273
result = (int)gridInqPrec(arg1);
7274
vresult = SWIG_From_int((int)(result));
7282
_wrap_gridInqXval(int argc, VALUE *argv, VALUE self) {
7290
VALUE vresult = Qnil;
7292
if ((argc < 2) || (argc > 2)) {
7293
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7295
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7296
if (!SWIG_IsOK(ecode1)) {
7297
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXval", 1, argv[0] ));
7300
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7301
if (!SWIG_IsOK(ecode2)) {
7302
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridInqXval", 2, argv[1] ));
7305
result = (double)gridInqXval(arg1,arg2);
7306
vresult = SWIG_From_double((double)(result));
7314
_wrap_gridInqYval(int argc, VALUE *argv, VALUE self) {
7322
VALUE vresult = Qnil;
7324
if ((argc < 2) || (argc > 2)) {
7325
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7327
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7328
if (!SWIG_IsOK(ecode1)) {
7329
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYval", 1, argv[0] ));
7332
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7333
if (!SWIG_IsOK(ecode2)) {
7334
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridInqYval", 2, argv[1] ));
7337
result = (double)gridInqYval(arg1,arg2);
7338
vresult = SWIG_From_double((double)(result));
7346
_wrap_gridInqXinc(int argc, VALUE *argv, VALUE self) {
7351
VALUE vresult = Qnil;
7353
if ((argc < 1) || (argc > 1)) {
7354
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7356
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7357
if (!SWIG_IsOK(ecode1)) {
7358
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXinc", 1, argv[0] ));
7361
result = (double)gridInqXinc(arg1);
7362
vresult = SWIG_From_double((double)(result));
7370
_wrap_gridInqYinc(int argc, VALUE *argv, VALUE self) {
7375
VALUE vresult = Qnil;
7377
if ((argc < 1) || (argc > 1)) {
7378
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7380
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7381
if (!SWIG_IsOK(ecode1)) {
7382
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYinc", 1, argv[0] ));
7385
result = (double)gridInqYinc(arg1);
7386
vresult = SWIG_From_double((double)(result));
7394
_wrap_gridIsCircular(int argc, VALUE *argv, VALUE self) {
7399
VALUE vresult = Qnil;
7401
if ((argc < 1) || (argc > 1)) {
7402
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7404
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7405
if (!SWIG_IsOK(ecode1)) {
7406
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridIsCircular", 1, argv[0] ));
7409
result = (int)gridIsCircular(arg1);
7410
vresult = SWIG_From_int((int)(result));
7418
_wrap_gridIsRotated(int argc, VALUE *argv, VALUE self) {
7423
VALUE vresult = Qnil;
7425
if ((argc < 1) || (argc > 1)) {
7426
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7428
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7429
if (!SWIG_IsOK(ecode1)) {
7430
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridIsRotated", 1, argv[0] ));
7433
result = (int)gridIsRotated(arg1);
7434
vresult = SWIG_From_int((int)(result));
7442
_wrap_gridInqXpole(int argc, VALUE *argv, VALUE self) {
7447
VALUE vresult = Qnil;
7449
if ((argc < 1) || (argc > 1)) {
7450
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7452
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7453
if (!SWIG_IsOK(ecode1)) {
7454
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXpole", 1, argv[0] ));
7457
result = (double)gridInqXpole(arg1);
7458
vresult = SWIG_From_double((double)(result));
7466
_wrap_gridDefXpole(int argc, VALUE *argv, VALUE self) {
7474
if ((argc < 2) || (argc > 2)) {
7475
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7477
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7478
if (!SWIG_IsOK(ecode1)) {
7479
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXpole", 1, argv[0] ));
7482
ecode2 = SWIG_AsVal_double(argv[1], &val2);
7483
if (!SWIG_IsOK(ecode2)) {
7484
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefXpole", 2, argv[1] ));
7486
arg2 = (double)(val2);
7487
gridDefXpole(arg1,arg2);
7495
_wrap_gridInqYpole(int argc, VALUE *argv, VALUE self) {
7500
VALUE vresult = Qnil;
7502
if ((argc < 1) || (argc > 1)) {
7503
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7505
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7506
if (!SWIG_IsOK(ecode1)) {
7507
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYpole", 1, argv[0] ));
7510
result = (double)gridInqYpole(arg1);
7511
vresult = SWIG_From_double((double)(result));
7519
_wrap_gridDefYpole(int argc, VALUE *argv, VALUE self) {
7527
if ((argc < 2) || (argc > 2)) {
7528
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7530
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7531
if (!SWIG_IsOK(ecode1)) {
7532
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYpole", 1, argv[0] ));
7535
ecode2 = SWIG_AsVal_double(argv[1], &val2);
7536
if (!SWIG_IsOK(ecode2)) {
7537
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefYpole", 2, argv[1] ));
7539
arg2 = (double)(val2);
7540
gridDefYpole(arg1,arg2);
7548
_wrap_gridInqAngle(int argc, VALUE *argv, VALUE self) {
7553
VALUE vresult = Qnil;
7555
if ((argc < 1) || (argc > 1)) {
7556
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7558
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7559
if (!SWIG_IsOK(ecode1)) {
7560
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqAngle", 1, argv[0] ));
7563
result = (double)gridInqAngle(arg1);
7564
vresult = SWIG_From_double((double)(result));
7572
_wrap_gridDefAngle(int argc, VALUE *argv, VALUE self) {
7580
if ((argc < 2) || (argc > 2)) {
7581
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7583
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7584
if (!SWIG_IsOK(ecode1)) {
7585
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefAngle", 1, argv[0] ));
7588
ecode2 = SWIG_AsVal_double(argv[1], &val2);
7589
if (!SWIG_IsOK(ecode2)) {
7590
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefAngle", 2, argv[1] ));
7592
arg2 = (double)(val2);
7593
gridDefAngle(arg1,arg2);
7601
_wrap_gridDefTrunc(int argc, VALUE *argv, VALUE self) {
7609
if ((argc < 2) || (argc > 2)) {
7610
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7612
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7613
if (!SWIG_IsOK(ecode1)) {
7614
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefTrunc", 1, argv[0] ));
7617
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7618
if (!SWIG_IsOK(ecode2)) {
7619
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefTrunc", 2, argv[1] ));
7622
gridDefTrunc(arg1,arg2);
7630
_wrap_gridInqTrunc(int argc, VALUE *argv, VALUE self) {
7635
VALUE vresult = Qnil;
7637
if ((argc < 1) || (argc > 1)) {
7638
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7640
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7641
if (!SWIG_IsOK(ecode1)) {
7642
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqTrunc", 1, argv[0] ));
7645
result = (int)gridInqTrunc(arg1);
7646
vresult = SWIG_From_int((int)(result));
7654
_wrap_gridInqGMEnd(int argc, VALUE *argv, VALUE self) {
7659
VALUE vresult = Qnil;
7661
if ((argc < 1) || (argc > 1)) {
7662
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7664
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7665
if (!SWIG_IsOK(ecode1)) {
7666
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqGMEnd", 1, argv[0] ));
7669
result = (int)gridInqGMEnd(arg1);
7670
vresult = SWIG_From_int((int)(result));
7678
_wrap_gridDefGMEnd(int argc, VALUE *argv, VALUE self) {
7686
if ((argc < 2) || (argc > 2)) {
7687
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7689
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7690
if (!SWIG_IsOK(ecode1)) {
7691
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefGMEnd", 1, argv[0] ));
7694
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7695
if (!SWIG_IsOK(ecode2)) {
7696
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefGMEnd", 2, argv[1] ));
7699
gridDefGMEnd(arg1,arg2);
7707
_wrap_gridInqGMEni(int argc, VALUE *argv, VALUE self) {
7712
VALUE vresult = Qnil;
7714
if ((argc < 1) || (argc > 1)) {
7715
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7717
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7718
if (!SWIG_IsOK(ecode1)) {
7719
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqGMEni", 1, argv[0] ));
7722
result = (int)gridInqGMEni(arg1);
7723
vresult = SWIG_From_int((int)(result));
7731
_wrap_gridDefGMEni(int argc, VALUE *argv, VALUE self) {
7739
if ((argc < 2) || (argc > 2)) {
7740
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7742
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7743
if (!SWIG_IsOK(ecode1)) {
7744
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefGMEni", 1, argv[0] ));
7747
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7748
if (!SWIG_IsOK(ecode2)) {
7749
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefGMEni", 2, argv[1] ));
7752
gridDefGMEni(arg1,arg2);
7760
_wrap_gridInqGMEni2(int argc, VALUE *argv, VALUE self) {
7765
VALUE vresult = Qnil;
7767
if ((argc < 1) || (argc > 1)) {
7768
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7770
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7771
if (!SWIG_IsOK(ecode1)) {
7772
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqGMEni2", 1, argv[0] ));
7775
result = (int)gridInqGMEni2(arg1);
7776
vresult = SWIG_From_int((int)(result));
7784
_wrap_gridDefGMEni2(int argc, VALUE *argv, VALUE self) {
7792
if ((argc < 2) || (argc > 2)) {
7793
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7795
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7796
if (!SWIG_IsOK(ecode1)) {
7797
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefGMEni2", 1, argv[0] ));
7800
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7801
if (!SWIG_IsOK(ecode2)) {
7802
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefGMEni2", 2, argv[1] ));
7805
gridDefGMEni2(arg1,arg2);
7813
_wrap_gridInqGMEni3(int argc, VALUE *argv, VALUE self) {
7818
VALUE vresult = Qnil;
7820
if ((argc < 1) || (argc > 1)) {
7821
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7823
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7824
if (!SWIG_IsOK(ecode1)) {
7825
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqGMEni3", 1, argv[0] ));
7828
result = (int)gridInqGMEni3(arg1);
7829
vresult = SWIG_From_int((int)(result));
7837
_wrap_gridDefGMEni3(int argc, VALUE *argv, VALUE self) {
7845
if ((argc < 2) || (argc > 2)) {
7846
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7848
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7849
if (!SWIG_IsOK(ecode1)) {
7850
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefGMEni3", 1, argv[0] ));
7853
ecode2 = SWIG_AsVal_int(argv[1], &val2);
7854
if (!SWIG_IsOK(ecode2)) {
7855
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefGMEni3", 2, argv[1] ));
7858
gridDefGMEni3(arg1,arg2);
7866
_wrap_gridDefLCC(int argc, VALUE *argv, VALUE self) {
7898
if ((argc < 10) || (argc > 10)) {
7899
rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
7901
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7902
if (!SWIG_IsOK(ecode1)) {
7903
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefLCC", 1, argv[0] ));
7906
ecode2 = SWIG_AsVal_double(argv[1], &val2);
7907
if (!SWIG_IsOK(ecode2)) {
7908
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefLCC", 2, argv[1] ));
7910
arg2 = (double)(val2);
7911
ecode3 = SWIG_AsVal_double(argv[2], &val3);
7912
if (!SWIG_IsOK(ecode3)) {
7913
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","gridDefLCC", 3, argv[2] ));
7915
arg3 = (double)(val3);
7916
ecode4 = SWIG_AsVal_double(argv[3], &val4);
7917
if (!SWIG_IsOK(ecode4)) {
7918
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "double","gridDefLCC", 4, argv[3] ));
7920
arg4 = (double)(val4);
7921
ecode5 = SWIG_AsVal_double(argv[4], &val5);
7922
if (!SWIG_IsOK(ecode5)) {
7923
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","gridDefLCC", 5, argv[4] ));
7925
arg5 = (double)(val5);
7926
ecode6 = SWIG_AsVal_double(argv[5], &val6);
7927
if (!SWIG_IsOK(ecode6)) {
7928
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "double","gridDefLCC", 6, argv[5] ));
7930
arg6 = (double)(val6);
7931
ecode7 = SWIG_AsVal_double(argv[6], &val7);
7932
if (!SWIG_IsOK(ecode7)) {
7933
SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "double","gridDefLCC", 7, argv[6] ));
7935
arg7 = (double)(val7);
7936
ecode8 = SWIG_AsVal_double(argv[7], &val8);
7937
if (!SWIG_IsOK(ecode8)) {
7938
SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "double","gridDefLCC", 8, argv[7] ));
7940
arg8 = (double)(val8);
7941
ecode9 = SWIG_AsVal_int(argv[8], &val9);
7942
if (!SWIG_IsOK(ecode9)) {
7943
SWIG_exception_fail(SWIG_ArgError(ecode9), Ruby_Format_TypeError( "", "int","gridDefLCC", 9, argv[8] ));
7946
ecode10 = SWIG_AsVal_int(argv[9], &val10);
7947
if (!SWIG_IsOK(ecode10)) {
7948
SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "int","gridDefLCC", 10, argv[9] ));
7950
arg10 = (int)(val10);
7951
gridDefLCC(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
7959
_wrap_gridInqLCC(int argc, VALUE *argv, VALUE self) {
7961
double *arg2 = (double *) 0 ;
7962
double *arg3 = (double *) 0 ;
7963
double *arg4 = (double *) 0 ;
7964
double *arg5 = (double *) 0 ;
7965
double *arg6 = (double *) 0 ;
7966
double *arg7 = (double *) 0 ;
7967
double *arg8 = (double *) 0 ;
7968
int *arg9 = (int *) 0 ;
7969
int *arg10 = (int *) 0 ;
7991
if ((argc < 10) || (argc > 10)) {
7992
rb_raise(rb_eArgError, "wrong # of arguments(%d for 10)",argc); SWIG_fail;
7994
ecode1 = SWIG_AsVal_int(argv[0], &val1);
7995
if (!SWIG_IsOK(ecode1)) {
7996
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqLCC", 1, argv[0] ));
7999
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8000
if (!SWIG_IsOK(res2)) {
8001
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqLCC", 2, argv[1] ));
8003
arg2 = (double *)(argp2);
8004
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
8005
if (!SWIG_IsOK(res3)) {
8006
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double *","gridInqLCC", 3, argv[2] ));
8008
arg3 = (double *)(argp3);
8009
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
8010
if (!SWIG_IsOK(res4)) {
8011
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "double *","gridInqLCC", 4, argv[3] ));
8013
arg4 = (double *)(argp4);
8014
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
8015
if (!SWIG_IsOK(res5)) {
8016
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double *","gridInqLCC", 5, argv[4] ));
8018
arg5 = (double *)(argp5);
8019
res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_double, 0 | 0 );
8020
if (!SWIG_IsOK(res6)) {
8021
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "double *","gridInqLCC", 6, argv[5] ));
8023
arg6 = (double *)(argp6);
8024
res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_double, 0 | 0 );
8025
if (!SWIG_IsOK(res7)) {
8026
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "double *","gridInqLCC", 7, argv[6] ));
8028
arg7 = (double *)(argp7);
8029
res8 = SWIG_ConvertPtr(argv[7], &argp8,SWIGTYPE_p_double, 0 | 0 );
8030
if (!SWIG_IsOK(res8)) {
8031
SWIG_exception_fail(SWIG_ArgError(res8), Ruby_Format_TypeError( "", "double *","gridInqLCC", 8, argv[7] ));
8033
arg8 = (double *)(argp8);
8034
res9 = SWIG_ConvertPtr(argv[8], &argp9,SWIGTYPE_p_int, 0 | 0 );
8035
if (!SWIG_IsOK(res9)) {
8036
SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "int *","gridInqLCC", 9, argv[8] ));
8038
arg9 = (int *)(argp9);
8039
res10 = SWIG_ConvertPtr(argv[9], &argp10,SWIGTYPE_p_int, 0 | 0 );
8040
if (!SWIG_IsOK(res10)) {
8041
SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "int *","gridInqLCC", 10, argv[9] ));
8043
arg10 = (int *)(argp10);
8044
gridInqLCC(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
8052
_wrap_gridDefLcc2(int argc, VALUE *argv, VALUE self) {
8072
if ((argc < 6) || (argc > 6)) {
8073
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
8075
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8076
if (!SWIG_IsOK(ecode1)) {
8077
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefLcc2", 1, argv[0] ));
8080
ecode2 = SWIG_AsVal_double(argv[1], &val2);
8081
if (!SWIG_IsOK(ecode2)) {
8082
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefLcc2", 2, argv[1] ));
8084
arg2 = (double)(val2);
8085
ecode3 = SWIG_AsVal_double(argv[2], &val3);
8086
if (!SWIG_IsOK(ecode3)) {
8087
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","gridDefLcc2", 3, argv[2] ));
8089
arg3 = (double)(val3);
8090
ecode4 = SWIG_AsVal_double(argv[3], &val4);
8091
if (!SWIG_IsOK(ecode4)) {
8092
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "double","gridDefLcc2", 4, argv[3] ));
8094
arg4 = (double)(val4);
8095
ecode5 = SWIG_AsVal_double(argv[4], &val5);
8096
if (!SWIG_IsOK(ecode5)) {
8097
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "double","gridDefLcc2", 5, argv[4] ));
8099
arg5 = (double)(val5);
8100
ecode6 = SWIG_AsVal_double(argv[5], &val6);
8101
if (!SWIG_IsOK(ecode6)) {
8102
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "double","gridDefLcc2", 6, argv[5] ));
8104
arg6 = (double)(val6);
8105
gridDefLcc2(arg1,arg2,arg3,arg4,arg5,arg6);
8113
_wrap_gridInqLcc2(int argc, VALUE *argv, VALUE self) {
8115
double *arg2 = (double *) 0 ;
8116
double *arg3 = (double *) 0 ;
8117
double *arg4 = (double *) 0 ;
8118
double *arg5 = (double *) 0 ;
8119
double *arg6 = (double *) 0 ;
8133
if ((argc < 6) || (argc > 6)) {
8134
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
8136
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8137
if (!SWIG_IsOK(ecode1)) {
8138
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqLcc2", 1, argv[0] ));
8141
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8142
if (!SWIG_IsOK(res2)) {
8143
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqLcc2", 2, argv[1] ));
8145
arg2 = (double *)(argp2);
8146
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
8147
if (!SWIG_IsOK(res3)) {
8148
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double *","gridInqLcc2", 3, argv[2] ));
8150
arg3 = (double *)(argp3);
8151
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
8152
if (!SWIG_IsOK(res4)) {
8153
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "double *","gridInqLcc2", 4, argv[3] ));
8155
arg4 = (double *)(argp4);
8156
res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
8157
if (!SWIG_IsOK(res5)) {
8158
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "double *","gridInqLcc2", 5, argv[4] ));
8160
arg5 = (double *)(argp5);
8161
res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_double, 0 | 0 );
8162
if (!SWIG_IsOK(res6)) {
8163
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "double *","gridInqLcc2", 6, argv[5] ));
8165
arg6 = (double *)(argp6);
8166
gridInqLcc2(arg1,arg2,arg3,arg4,arg5,arg6);
8174
_wrap_gridDefLaea(int argc, VALUE *argv, VALUE self) {
8188
if ((argc < 4) || (argc > 4)) {
8189
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8191
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8192
if (!SWIG_IsOK(ecode1)) {
8193
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefLaea", 1, argv[0] ));
8196
ecode2 = SWIG_AsVal_double(argv[1], &val2);
8197
if (!SWIG_IsOK(ecode2)) {
8198
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","gridDefLaea", 2, argv[1] ));
8200
arg2 = (double)(val2);
8201
ecode3 = SWIG_AsVal_double(argv[2], &val3);
8202
if (!SWIG_IsOK(ecode3)) {
8203
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","gridDefLaea", 3, argv[2] ));
8205
arg3 = (double)(val3);
8206
ecode4 = SWIG_AsVal_double(argv[3], &val4);
8207
if (!SWIG_IsOK(ecode4)) {
8208
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "double","gridDefLaea", 4, argv[3] ));
8210
arg4 = (double)(val4);
8211
gridDefLaea(arg1,arg2,arg3,arg4);
8219
_wrap_gridInqLaea(int argc, VALUE *argv, VALUE self) {
8221
double *arg2 = (double *) 0 ;
8222
double *arg3 = (double *) 0 ;
8223
double *arg4 = (double *) 0 ;
8233
if ((argc < 4) || (argc > 4)) {
8234
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
8236
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8237
if (!SWIG_IsOK(ecode1)) {
8238
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqLaea", 1, argv[0] ));
8241
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8242
if (!SWIG_IsOK(res2)) {
8243
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqLaea", 2, argv[1] ));
8245
arg2 = (double *)(argp2);
8246
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
8247
if (!SWIG_IsOK(res3)) {
8248
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double *","gridInqLaea", 3, argv[2] ));
8250
arg3 = (double *)(argp3);
8251
res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
8252
if (!SWIG_IsOK(res4)) {
8253
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "double *","gridInqLaea", 4, argv[3] ));
8255
arg4 = (double *)(argp4);
8256
gridInqLaea(arg1,arg2,arg3,arg4);
8264
_wrap_gridDefArea(int argc, VALUE *argv, VALUE self) {
8266
double *arg2 = (double *) 0 ;
8272
if ((argc < 2) || (argc > 2)) {
8273
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8275
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8276
if (!SWIG_IsOK(ecode1)) {
8277
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefArea", 1, argv[0] ));
8280
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8281
if (!SWIG_IsOK(res2)) {
8282
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","gridDefArea", 2, argv[1] ));
8284
arg2 = (double *)(argp2);
8285
gridDefArea(arg1,(double const *)arg2);
8293
_wrap_gridInqArea(int argc, VALUE *argv, VALUE self) {
8295
double *arg2 = (double *) 0 ;
8301
if ((argc < 2) || (argc > 2)) {
8302
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8304
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8305
if (!SWIG_IsOK(ecode1)) {
8306
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqArea", 1, argv[0] ));
8309
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8310
if (!SWIG_IsOK(res2)) {
8311
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqArea", 2, argv[1] ));
8313
arg2 = (double *)(argp2);
8314
gridInqArea(arg1,arg2);
8322
_wrap_gridHasArea(int argc, VALUE *argv, VALUE self) {
8327
VALUE vresult = Qnil;
8329
if ((argc < 1) || (argc > 1)) {
8330
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8332
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8333
if (!SWIG_IsOK(ecode1)) {
8334
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridHasArea", 1, argv[0] ));
8337
result = (int)gridHasArea(arg1);
8338
vresult = SWIG_From_int((int)(result));
8346
_wrap_gridDefNvertex(int argc, VALUE *argv, VALUE self) {
8354
if ((argc < 2) || (argc > 2)) {
8355
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8357
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8358
if (!SWIG_IsOK(ecode1)) {
8359
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefNvertex", 1, argv[0] ));
8362
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8363
if (!SWIG_IsOK(ecode2)) {
8364
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefNvertex", 2, argv[1] ));
8367
gridDefNvertex(arg1,arg2);
8375
_wrap_gridInqNvertex(int argc, VALUE *argv, VALUE self) {
8380
VALUE vresult = Qnil;
8382
if ((argc < 1) || (argc > 1)) {
8383
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8385
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8386
if (!SWIG_IsOK(ecode1)) {
8387
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqNvertex", 1, argv[0] ));
8390
result = (int)gridInqNvertex(arg1);
8391
vresult = SWIG_From_int((int)(result));
8399
_wrap_gridDefXbounds(int argc, VALUE *argv, VALUE self) {
8401
double *arg2 = (double *) 0 ;
8407
if ((argc < 2) || (argc > 2)) {
8408
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8410
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8411
if (!SWIG_IsOK(ecode1)) {
8412
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefXbounds", 1, argv[0] ));
8415
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8416
if (!SWIG_IsOK(res2)) {
8417
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","gridDefXbounds", 2, argv[1] ));
8419
arg2 = (double *)(argp2);
8420
gridDefXbounds(arg1,(double const *)arg2);
8428
_wrap_gridInqXbounds(int argc, VALUE *argv, VALUE self) {
8430
double *arg2 = (double *) 0 ;
8436
VALUE vresult = Qnil;
8438
if ((argc < 2) || (argc > 2)) {
8439
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8441
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8442
if (!SWIG_IsOK(ecode1)) {
8443
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqXbounds", 1, argv[0] ));
8446
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8447
if (!SWIG_IsOK(res2)) {
8448
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqXbounds", 2, argv[1] ));
8450
arg2 = (double *)(argp2);
8451
result = (int)gridInqXbounds(arg1,arg2);
8452
vresult = SWIG_From_int((int)(result));
8460
_wrap_gridDefYbounds(int argc, VALUE *argv, VALUE self) {
8462
double *arg2 = (double *) 0 ;
8468
if ((argc < 2) || (argc > 2)) {
8469
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8471
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8472
if (!SWIG_IsOK(ecode1)) {
8473
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefYbounds", 1, argv[0] ));
8476
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8477
if (!SWIG_IsOK(res2)) {
8478
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","gridDefYbounds", 2, argv[1] ));
8480
arg2 = (double *)(argp2);
8481
gridDefYbounds(arg1,(double const *)arg2);
8489
_wrap_gridInqYbounds(int argc, VALUE *argv, VALUE self) {
8491
double *arg2 = (double *) 0 ;
8497
VALUE vresult = Qnil;
8499
if ((argc < 2) || (argc > 2)) {
8500
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8502
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8503
if (!SWIG_IsOK(ecode1)) {
8504
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqYbounds", 1, argv[0] ));
8507
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8508
if (!SWIG_IsOK(res2)) {
8509
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","gridInqYbounds", 2, argv[1] ));
8511
arg2 = (double *)(argp2);
8512
result = (int)gridInqYbounds(arg1,arg2);
8513
vresult = SWIG_From_int((int)(result));
8521
_wrap_gridDefRowlon(int argc, VALUE *argv, VALUE self) {
8524
int *arg3 = (int *) 0 ;
8532
if ((argc < 3) || (argc > 3)) {
8533
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
8535
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8536
if (!SWIG_IsOK(ecode1)) {
8537
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridDefRowlon", 1, argv[0] ));
8540
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8541
if (!SWIG_IsOK(ecode2)) {
8542
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridDefRowlon", 2, argv[1] ));
8545
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
8546
if (!SWIG_IsOK(res3)) {
8547
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int const *","gridDefRowlon", 3, argv[2] ));
8549
arg3 = (int *)(argp3);
8550
gridDefRowlon(arg1,arg2,(int const *)arg3);
8558
_wrap_gridInqRowlon(int argc, VALUE *argv, VALUE self) {
8560
int *arg2 = (int *) 0 ;
8566
if ((argc < 2) || (argc > 2)) {
8567
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8569
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8570
if (!SWIG_IsOK(ecode1)) {
8571
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridInqRowlon", 1, argv[0] ));
8574
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
8575
if (!SWIG_IsOK(res2)) {
8576
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","gridInqRowlon", 2, argv[1] ));
8578
arg2 = (int *)(argp2);
8579
gridInqRowlon(arg1,arg2);
8587
_wrap_gridChangeType(int argc, VALUE *argv, VALUE self) {
8595
if ((argc < 2) || (argc > 2)) {
8596
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8598
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8599
if (!SWIG_IsOK(ecode1)) {
8600
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","gridChangeType", 1, argv[0] ));
8603
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8604
if (!SWIG_IsOK(ecode2)) {
8605
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","gridChangeType", 2, argv[1] ));
8608
gridChangeType(arg1,arg2);
8616
_wrap_zaxisName(int argc, VALUE *argv, VALUE self) {
8618
char *arg2 = (char *) 0 ;
8625
if ((argc < 2) || (argc > 2)) {
8626
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8628
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8629
if (!SWIG_IsOK(ecode1)) {
8630
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisName", 1, argv[0] ));
8633
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
8634
if (!SWIG_IsOK(res2)) {
8635
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","zaxisName", 2, argv[1] ));
8637
arg2 = (char *)(buf2);
8638
zaxisName(arg1,arg2);
8639
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8642
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8648
_wrap_zaxisCreate(int argc, VALUE *argv, VALUE self) {
8656
VALUE vresult = Qnil;
8658
if ((argc < 2) || (argc > 2)) {
8659
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8661
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8662
if (!SWIG_IsOK(ecode1)) {
8663
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisCreate", 1, argv[0] ));
8666
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8667
if (!SWIG_IsOK(ecode2)) {
8668
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisCreate", 2, argv[1] ));
8671
result = (int)zaxisCreate(arg1,arg2);
8672
vresult = SWIG_From_int((int)(result));
8680
_wrap_zaxisDestroy(int argc, VALUE *argv, VALUE self) {
8685
if ((argc < 1) || (argc > 1)) {
8686
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8688
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8689
if (!SWIG_IsOK(ecode1)) {
8690
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDestroy", 1, argv[0] ));
8701
_wrap_zaxisInqType(int argc, VALUE *argv, VALUE self) {
8706
VALUE vresult = Qnil;
8708
if ((argc < 1) || (argc > 1)) {
8709
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8711
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8712
if (!SWIG_IsOK(ecode1)) {
8713
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqType", 1, argv[0] ));
8716
result = (int)zaxisInqType(arg1);
8717
vresult = SWIG_From_int((int)(result));
8725
_wrap_zaxisInqSize(int argc, VALUE *argv, VALUE self) {
8730
VALUE vresult = Qnil;
8732
if ((argc < 1) || (argc > 1)) {
8733
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8735
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8736
if (!SWIG_IsOK(ecode1)) {
8737
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqSize", 1, argv[0] ));
8740
result = (int)zaxisInqSize(arg1);
8741
vresult = SWIG_From_int((int)(result));
8749
_wrap_zaxisDuplicate(int argc, VALUE *argv, VALUE self) {
8754
VALUE vresult = Qnil;
8756
if ((argc < 1) || (argc > 1)) {
8757
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8759
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8760
if (!SWIG_IsOK(ecode1)) {
8761
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDuplicate", 1, argv[0] ));
8764
result = (int)zaxisDuplicate(arg1);
8765
vresult = SWIG_From_int((int)(result));
8773
_wrap_zaxisResize(int argc, VALUE *argv, VALUE self) {
8781
if ((argc < 2) || (argc > 2)) {
8782
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8784
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8785
if (!SWIG_IsOK(ecode1)) {
8786
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisResize", 1, argv[0] ));
8789
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8790
if (!SWIG_IsOK(ecode2)) {
8791
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisResize", 2, argv[1] ));
8794
zaxisResize(arg1,arg2);
8802
_wrap_zaxisPrint(int argc, VALUE *argv, VALUE self) {
8807
if ((argc < 1) || (argc > 1)) {
8808
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
8810
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8811
if (!SWIG_IsOK(ecode1)) {
8812
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisPrint", 1, argv[0] ));
8823
_wrap_zaxisSize(int argc, VALUE *argv, VALUE self) {
8825
VALUE vresult = Qnil;
8827
if ((argc < 0) || (argc > 0)) {
8828
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
8830
result = (int)zaxisSize();
8831
vresult = SWIG_From_int((int)(result));
8839
_wrap_zaxisDefLevels(int argc, VALUE *argv, VALUE self) {
8841
double *arg2 = (double *) 0 ;
8847
if ((argc < 2) || (argc > 2)) {
8848
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8850
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8851
if (!SWIG_IsOK(ecode1)) {
8852
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefLevels", 1, argv[0] ));
8855
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8856
if (!SWIG_IsOK(res2)) {
8857
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","zaxisDefLevels", 2, argv[1] ));
8859
arg2 = (double *)(argp2);
8860
zaxisDefLevels(arg1,(double const *)arg2);
8868
_wrap_zaxisInqLevels(int argc, VALUE *argv, VALUE self) {
8870
double *arg2 = (double *) 0 ;
8876
if ((argc < 2) || (argc > 2)) {
8877
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8879
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8880
if (!SWIG_IsOK(ecode1)) {
8881
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLevels", 1, argv[0] ));
8884
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
8885
if (!SWIG_IsOK(res2)) {
8886
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","zaxisInqLevels", 2, argv[1] ));
8888
arg2 = (double *)(argp2);
8889
zaxisInqLevels(arg1,arg2);
8897
_wrap_zaxisDefLevel(int argc, VALUE *argv, VALUE self) {
8908
if ((argc < 3) || (argc > 3)) {
8909
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
8911
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8912
if (!SWIG_IsOK(ecode1)) {
8913
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefLevel", 1, argv[0] ));
8916
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8917
if (!SWIG_IsOK(ecode2)) {
8918
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisDefLevel", 2, argv[1] ));
8921
ecode3 = SWIG_AsVal_double(argv[2], &val3);
8922
if (!SWIG_IsOK(ecode3)) {
8923
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","zaxisDefLevel", 3, argv[2] ));
8925
arg3 = (double)(val3);
8926
zaxisDefLevel(arg1,arg2,arg3);
8934
_wrap_zaxisInqLevel(int argc, VALUE *argv, VALUE self) {
8942
VALUE vresult = Qnil;
8944
if ((argc < 2) || (argc > 2)) {
8945
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8947
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8948
if (!SWIG_IsOK(ecode1)) {
8949
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLevel", 1, argv[0] ));
8952
ecode2 = SWIG_AsVal_int(argv[1], &val2);
8953
if (!SWIG_IsOK(ecode2)) {
8954
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisInqLevel", 2, argv[1] ));
8957
result = (double)zaxisInqLevel(arg1,arg2);
8958
vresult = SWIG_From_double((double)(result));
8966
_wrap_zaxisDefName(int argc, VALUE *argv, VALUE self) {
8968
char *arg2 = (char *) 0 ;
8975
if ((argc < 2) || (argc > 2)) {
8976
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
8978
ecode1 = SWIG_AsVal_int(argv[0], &val1);
8979
if (!SWIG_IsOK(ecode1)) {
8980
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefName", 1, argv[0] ));
8983
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
8984
if (!SWIG_IsOK(res2)) {
8985
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","zaxisDefName", 2, argv[1] ));
8987
arg2 = (char *)(buf2);
8988
zaxisDefName(arg1,(char const *)arg2);
8989
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8992
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8998
_wrap_zaxisDefLongname(int argc, VALUE *argv, VALUE self) {
9000
char *arg2 = (char *) 0 ;
9007
if ((argc < 2) || (argc > 2)) {
9008
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9010
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9011
if (!SWIG_IsOK(ecode1)) {
9012
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefLongname", 1, argv[0] ));
9015
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9016
if (!SWIG_IsOK(res2)) {
9017
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","zaxisDefLongname", 2, argv[1] ));
9019
arg2 = (char *)(buf2);
9020
zaxisDefLongname(arg1,(char const *)arg2);
9021
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9024
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9030
_wrap_zaxisDefUnits(int argc, VALUE *argv, VALUE self) {
9032
char *arg2 = (char *) 0 ;
9039
if ((argc < 2) || (argc > 2)) {
9040
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9042
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9043
if (!SWIG_IsOK(ecode1)) {
9044
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefUnits", 1, argv[0] ));
9047
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9048
if (!SWIG_IsOK(res2)) {
9049
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","zaxisDefUnits", 2, argv[1] ));
9051
arg2 = (char *)(buf2);
9052
zaxisDefUnits(arg1,(char const *)arg2);
9053
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9056
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9062
_wrap_zaxisInqName(int argc, VALUE *argv, VALUE self) {
9064
char *arg2 = (char *) 0 ;
9071
if ((argc < 2) || (argc > 2)) {
9072
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9074
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9075
if (!SWIG_IsOK(ecode1)) {
9076
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqName", 1, argv[0] ));
9079
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9080
if (!SWIG_IsOK(res2)) {
9081
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","zaxisInqName", 2, argv[1] ));
9083
arg2 = (char *)(buf2);
9084
zaxisInqName(arg1,arg2);
9085
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9088
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9094
_wrap_zaxisInqLongname(int argc, VALUE *argv, VALUE self) {
9096
char *arg2 = (char *) 0 ;
9103
if ((argc < 2) || (argc > 2)) {
9104
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9106
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9107
if (!SWIG_IsOK(ecode1)) {
9108
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLongname", 1, argv[0] ));
9111
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9112
if (!SWIG_IsOK(res2)) {
9113
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","zaxisInqLongname", 2, argv[1] ));
9115
arg2 = (char *)(buf2);
9116
zaxisInqLongname(arg1,arg2);
9117
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9120
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9126
_wrap_zaxisInqUnits(int argc, VALUE *argv, VALUE self) {
9128
char *arg2 = (char *) 0 ;
9135
if ((argc < 2) || (argc > 2)) {
9136
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9138
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9139
if (!SWIG_IsOK(ecode1)) {
9140
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqUnits", 1, argv[0] ));
9143
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
9144
if (!SWIG_IsOK(res2)) {
9145
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","zaxisInqUnits", 2, argv[1] ));
9147
arg2 = (char *)(buf2);
9148
zaxisInqUnits(arg1,arg2);
9149
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9152
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9158
_wrap_zaxisDefPrec(int argc, VALUE *argv, VALUE self) {
9166
if ((argc < 2) || (argc > 2)) {
9167
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9169
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9170
if (!SWIG_IsOK(ecode1)) {
9171
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefPrec", 1, argv[0] ));
9174
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9175
if (!SWIG_IsOK(ecode2)) {
9176
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisDefPrec", 2, argv[1] ));
9179
zaxisDefPrec(arg1,arg2);
9187
_wrap_zaxisInqPrec(int argc, VALUE *argv, VALUE self) {
9192
VALUE vresult = Qnil;
9194
if ((argc < 1) || (argc > 1)) {
9195
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9197
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9198
if (!SWIG_IsOK(ecode1)) {
9199
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqPrec", 1, argv[0] ));
9202
result = (int)zaxisInqPrec(arg1);
9203
vresult = SWIG_From_int((int)(result));
9211
_wrap_zaxisDefLtype(int argc, VALUE *argv, VALUE self) {
9219
if ((argc < 2) || (argc > 2)) {
9220
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9222
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9223
if (!SWIG_IsOK(ecode1)) {
9224
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefLtype", 1, argv[0] ));
9227
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9228
if (!SWIG_IsOK(ecode2)) {
9229
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisDefLtype", 2, argv[1] ));
9232
zaxisDefLtype(arg1,arg2);
9240
_wrap_zaxisInqLtype(int argc, VALUE *argv, VALUE self) {
9245
VALUE vresult = Qnil;
9247
if ((argc < 1) || (argc > 1)) {
9248
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9250
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9251
if (!SWIG_IsOK(ecode1)) {
9252
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLtype", 1, argv[0] ));
9255
result = (int)zaxisInqLtype(arg1);
9256
vresult = SWIG_From_int((int)(result));
9264
_wrap_zaxisInqLevelsPtr(int argc, VALUE *argv, VALUE self) {
9268
double *result = 0 ;
9269
VALUE vresult = Qnil;
9271
if ((argc < 1) || (argc > 1)) {
9272
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9274
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9275
if (!SWIG_IsOK(ecode1)) {
9276
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLevelsPtr", 1, argv[0] ));
9279
result = (double *)zaxisInqLevelsPtr(arg1);
9280
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
9288
_wrap_zaxisDefVct(int argc, VALUE *argv, VALUE self) {
9291
double *arg3 = (double *) 0 ;
9299
if ((argc < 3) || (argc > 3)) {
9300
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9302
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9303
if (!SWIG_IsOK(ecode1)) {
9304
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefVct", 1, argv[0] ));
9307
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9308
if (!SWIG_IsOK(ecode2)) {
9309
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisDefVct", 2, argv[1] ));
9312
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
9313
if (!SWIG_IsOK(res3)) {
9314
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "double const *","zaxisDefVct", 3, argv[2] ));
9316
arg3 = (double *)(argp3);
9317
zaxisDefVct(arg1,arg2,(double const *)arg3);
9325
_wrap_zaxisInqVctSize(int argc, VALUE *argv, VALUE self) {
9330
VALUE vresult = Qnil;
9332
if ((argc < 1) || (argc > 1)) {
9333
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9335
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9336
if (!SWIG_IsOK(ecode1)) {
9337
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqVctSize", 1, argv[0] ));
9340
result = (int)zaxisInqVctSize(arg1);
9341
vresult = SWIG_From_int((int)(result));
9349
_wrap_zaxisInqVctPtr(int argc, VALUE *argv, VALUE self) {
9353
double *result = 0 ;
9354
VALUE vresult = Qnil;
9356
if ((argc < 1) || (argc > 1)) {
9357
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9359
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9360
if (!SWIG_IsOK(ecode1)) {
9361
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqVctPtr", 1, argv[0] ));
9364
result = (double *)zaxisInqVctPtr(arg1);
9365
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
9373
_wrap_zaxisInqLbounds(int argc, VALUE *argv, VALUE self) {
9375
double *arg2 = (double *) 0 ;
9381
VALUE vresult = Qnil;
9383
if ((argc < 2) || (argc > 2)) {
9384
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9386
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9387
if (!SWIG_IsOK(ecode1)) {
9388
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLbounds", 1, argv[0] ));
9391
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9392
if (!SWIG_IsOK(res2)) {
9393
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","zaxisInqLbounds", 2, argv[1] ));
9395
arg2 = (double *)(argp2);
9396
result = (int)zaxisInqLbounds(arg1,arg2);
9397
vresult = SWIG_From_int((int)(result));
9405
_wrap_zaxisInqUbounds(int argc, VALUE *argv, VALUE self) {
9407
double *arg2 = (double *) 0 ;
9413
VALUE vresult = Qnil;
9415
if ((argc < 2) || (argc > 2)) {
9416
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9418
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9419
if (!SWIG_IsOK(ecode1)) {
9420
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqUbounds", 1, argv[0] ));
9423
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9424
if (!SWIG_IsOK(res2)) {
9425
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","zaxisInqUbounds", 2, argv[1] ));
9427
arg2 = (double *)(argp2);
9428
result = (int)zaxisInqUbounds(arg1,arg2);
9429
vresult = SWIG_From_int((int)(result));
9437
_wrap_zaxisInqWeights(int argc, VALUE *argv, VALUE self) {
9439
double *arg2 = (double *) 0 ;
9445
VALUE vresult = Qnil;
9447
if ((argc < 2) || (argc > 2)) {
9448
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9450
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9451
if (!SWIG_IsOK(ecode1)) {
9452
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqWeights", 1, argv[0] ));
9455
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9456
if (!SWIG_IsOK(res2)) {
9457
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","zaxisInqWeights", 2, argv[1] ));
9459
arg2 = (double *)(argp2);
9460
result = (int)zaxisInqWeights(arg1,arg2);
9461
vresult = SWIG_From_int((int)(result));
9469
_wrap_zaxisInqLbound(int argc, VALUE *argv, VALUE self) {
9477
VALUE vresult = Qnil;
9479
if ((argc < 2) || (argc > 2)) {
9480
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9482
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9483
if (!SWIG_IsOK(ecode1)) {
9484
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqLbound", 1, argv[0] ));
9487
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9488
if (!SWIG_IsOK(ecode2)) {
9489
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisInqLbound", 2, argv[1] ));
9492
result = (double)zaxisInqLbound(arg1,arg2);
9493
vresult = SWIG_From_double((double)(result));
9501
_wrap_zaxisInqUbound(int argc, VALUE *argv, VALUE self) {
9509
VALUE vresult = Qnil;
9511
if ((argc < 2) || (argc > 2)) {
9512
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9514
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9515
if (!SWIG_IsOK(ecode1)) {
9516
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisInqUbound", 1, argv[0] ));
9519
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9520
if (!SWIG_IsOK(ecode2)) {
9521
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisInqUbound", 2, argv[1] ));
9524
result = (double)zaxisInqUbound(arg1,arg2);
9525
vresult = SWIG_From_double((double)(result));
9533
_wrap_zaxisDefLbounds(int argc, VALUE *argv, VALUE self) {
9535
double *arg2 = (double *) 0 ;
9541
if ((argc < 2) || (argc > 2)) {
9542
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9544
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9545
if (!SWIG_IsOK(ecode1)) {
9546
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefLbounds", 1, argv[0] ));
9549
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9550
if (!SWIG_IsOK(res2)) {
9551
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","zaxisDefLbounds", 2, argv[1] ));
9553
arg2 = (double *)(argp2);
9554
zaxisDefLbounds(arg1,(double const *)arg2);
9562
_wrap_zaxisDefUbounds(int argc, VALUE *argv, VALUE self) {
9564
double *arg2 = (double *) 0 ;
9570
if ((argc < 2) || (argc > 2)) {
9571
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9573
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9574
if (!SWIG_IsOK(ecode1)) {
9575
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefUbounds", 1, argv[0] ));
9578
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9579
if (!SWIG_IsOK(res2)) {
9580
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","zaxisDefUbounds", 2, argv[1] ));
9582
arg2 = (double *)(argp2);
9583
zaxisDefUbounds(arg1,(double const *)arg2);
9591
_wrap_zaxisDefWeights(int argc, VALUE *argv, VALUE self) {
9593
double *arg2 = (double *) 0 ;
9599
if ((argc < 2) || (argc > 2)) {
9600
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9602
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9603
if (!SWIG_IsOK(ecode1)) {
9604
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisDefWeights", 1, argv[0] ));
9607
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
9608
if (!SWIG_IsOK(res2)) {
9609
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double const *","zaxisDefWeights", 2, argv[1] ));
9611
arg2 = (double *)(argp2);
9612
zaxisDefWeights(arg1,(double const *)arg2);
9620
_wrap_zaxisChangeType(int argc, VALUE *argv, VALUE self) {
9628
if ((argc < 2) || (argc > 2)) {
9629
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9631
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9632
if (!SWIG_IsOK(ecode1)) {
9633
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","zaxisChangeType", 1, argv[0] ));
9636
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9637
if (!SWIG_IsOK(ecode2)) {
9638
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","zaxisChangeType", 2, argv[1] ));
9641
zaxisChangeType(arg1,arg2);
9649
_wrap_taxisCreate(int argc, VALUE *argv, VALUE self) {
9654
VALUE vresult = Qnil;
9656
if ((argc < 1) || (argc > 1)) {
9657
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9659
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9660
if (!SWIG_IsOK(ecode1)) {
9661
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisCreate", 1, argv[0] ));
9664
result = (int)taxisCreate(arg1);
9665
vresult = SWIG_From_int((int)(result));
9673
_wrap_taxisDestroy(int argc, VALUE *argv, VALUE self) {
9678
if ((argc < 1) || (argc > 1)) {
9679
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9681
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9682
if (!SWIG_IsOK(ecode1)) {
9683
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDestroy", 1, argv[0] ));
9694
_wrap_taxisDuplicate(int argc, VALUE *argv, VALUE self) {
9699
VALUE vresult = Qnil;
9701
if ((argc < 1) || (argc > 1)) {
9702
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9704
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9705
if (!SWIG_IsOK(ecode1)) {
9706
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDuplicate", 1, argv[0] ));
9709
result = (int)taxisDuplicate(arg1);
9710
vresult = SWIG_From_int((int)(result));
9718
_wrap_taxisCopyTimestep(int argc, VALUE *argv, VALUE self) {
9726
if ((argc < 2) || (argc > 2)) {
9727
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9729
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9730
if (!SWIG_IsOK(ecode1)) {
9731
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisCopyTimestep", 1, argv[0] ));
9734
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9735
if (!SWIG_IsOK(ecode2)) {
9736
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisCopyTimestep", 2, argv[1] ));
9739
taxisCopyTimestep(arg1,arg2);
9747
_wrap_taxisDefType(int argc, VALUE *argv, VALUE self) {
9755
if ((argc < 2) || (argc > 2)) {
9756
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9758
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9759
if (!SWIG_IsOK(ecode1)) {
9760
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefType", 1, argv[0] ));
9763
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9764
if (!SWIG_IsOK(ecode2)) {
9765
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefType", 2, argv[1] ));
9768
taxisDefType(arg1,arg2);
9776
_wrap_taxisDefVdate(int argc, VALUE *argv, VALUE self) {
9784
if ((argc < 2) || (argc > 2)) {
9785
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9787
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9788
if (!SWIG_IsOK(ecode1)) {
9789
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefVdate", 1, argv[0] ));
9792
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9793
if (!SWIG_IsOK(ecode2)) {
9794
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefVdate", 2, argv[1] ));
9797
taxisDefVdate(arg1,arg2);
9805
_wrap_taxisDefVtime(int argc, VALUE *argv, VALUE self) {
9813
if ((argc < 2) || (argc > 2)) {
9814
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9816
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9817
if (!SWIG_IsOK(ecode1)) {
9818
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefVtime", 1, argv[0] ));
9821
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9822
if (!SWIG_IsOK(ecode2)) {
9823
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefVtime", 2, argv[1] ));
9826
taxisDefVtime(arg1,arg2);
9834
_wrap_taxisDefRdate(int argc, VALUE *argv, VALUE self) {
9842
if ((argc < 2) || (argc > 2)) {
9843
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9845
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9846
if (!SWIG_IsOK(ecode1)) {
9847
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefRdate", 1, argv[0] ));
9850
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9851
if (!SWIG_IsOK(ecode2)) {
9852
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefRdate", 2, argv[1] ));
9855
taxisDefRdate(arg1,arg2);
9863
_wrap_taxisDefRtime(int argc, VALUE *argv, VALUE self) {
9871
if ((argc < 2) || (argc > 2)) {
9872
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
9874
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9875
if (!SWIG_IsOK(ecode1)) {
9876
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefRtime", 1, argv[0] ));
9879
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9880
if (!SWIG_IsOK(ecode2)) {
9881
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefRtime", 2, argv[1] ));
9884
taxisDefRtime(arg1,arg2);
9892
_wrap_taxisHasBounds(int argc, VALUE *argv, VALUE self) {
9897
VALUE vresult = Qnil;
9899
if ((argc < 1) || (argc > 1)) {
9900
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9902
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9903
if (!SWIG_IsOK(ecode1)) {
9904
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisHasBounds", 1, argv[0] ));
9907
result = (int)taxisHasBounds(arg1);
9908
vresult = SWIG_From_int((int)(result));
9916
_wrap_taxisDefVdateBounds(int argc, VALUE *argv, VALUE self) {
9927
if ((argc < 3) || (argc > 3)) {
9928
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9930
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9931
if (!SWIG_IsOK(ecode1)) {
9932
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefVdateBounds", 1, argv[0] ));
9935
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9936
if (!SWIG_IsOK(ecode2)) {
9937
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefVdateBounds", 2, argv[1] ));
9940
ecode3 = SWIG_AsVal_int(argv[2], &val3);
9941
if (!SWIG_IsOK(ecode3)) {
9942
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","taxisDefVdateBounds", 3, argv[2] ));
9945
taxisDefVdateBounds(arg1,arg2,arg3);
9953
_wrap_taxisDefVtimeBounds(int argc, VALUE *argv, VALUE self) {
9964
if ((argc < 3) || (argc > 3)) {
9965
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
9967
ecode1 = SWIG_AsVal_int(argv[0], &val1);
9968
if (!SWIG_IsOK(ecode1)) {
9969
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefVtimeBounds", 1, argv[0] ));
9972
ecode2 = SWIG_AsVal_int(argv[1], &val2);
9973
if (!SWIG_IsOK(ecode2)) {
9974
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefVtimeBounds", 2, argv[1] ));
9977
ecode3 = SWIG_AsVal_int(argv[2], &val3);
9978
if (!SWIG_IsOK(ecode3)) {
9979
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","taxisDefVtimeBounds", 3, argv[2] ));
9982
taxisDefVtimeBounds(arg1,arg2,arg3);
9990
_wrap_taxisInqVdateBounds(int argc, VALUE *argv, VALUE self) {
9992
int *arg2 = (int *) 0 ;
9993
int *arg3 = (int *) 0 ;
10001
if ((argc < 3) || (argc > 3)) {
10002
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10004
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10005
if (!SWIG_IsOK(ecode1)) {
10006
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqVdateBounds", 1, argv[0] ));
10008
arg1 = (int)(val1);
10009
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
10010
if (!SWIG_IsOK(res2)) {
10011
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","taxisInqVdateBounds", 2, argv[1] ));
10013
arg2 = (int *)(argp2);
10014
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
10015
if (!SWIG_IsOK(res3)) {
10016
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","taxisInqVdateBounds", 3, argv[2] ));
10018
arg3 = (int *)(argp3);
10019
taxisInqVdateBounds(arg1,arg2,arg3);
10027
_wrap_taxisInqVtimeBounds(int argc, VALUE *argv, VALUE self) {
10029
int *arg2 = (int *) 0 ;
10030
int *arg3 = (int *) 0 ;
10038
if ((argc < 3) || (argc > 3)) {
10039
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10041
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10042
if (!SWIG_IsOK(ecode1)) {
10043
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqVtimeBounds", 1, argv[0] ));
10045
arg1 = (int)(val1);
10046
res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_int, 0 | 0 );
10047
if (!SWIG_IsOK(res2)) {
10048
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "int *","taxisInqVtimeBounds", 2, argv[1] ));
10050
arg2 = (int *)(argp2);
10051
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
10052
if (!SWIG_IsOK(res3)) {
10053
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","taxisInqVtimeBounds", 3, argv[2] ));
10055
arg3 = (int *)(argp3);
10056
taxisInqVtimeBounds(arg1,arg2,arg3);
10064
_wrap_taxisDefCalendar(int argc, VALUE *argv, VALUE self) {
10072
if ((argc < 2) || (argc > 2)) {
10073
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10075
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10076
if (!SWIG_IsOK(ecode1)) {
10077
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefCalendar", 1, argv[0] ));
10079
arg1 = (int)(val1);
10080
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10081
if (!SWIG_IsOK(ecode2)) {
10082
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefCalendar", 2, argv[1] ));
10084
arg2 = (int)(val2);
10085
taxisDefCalendar(arg1,arg2);
10093
_wrap_taxisDefTunit(int argc, VALUE *argv, VALUE self) {
10101
if ((argc < 2) || (argc > 2)) {
10102
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10104
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10105
if (!SWIG_IsOK(ecode1)) {
10106
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefTunit", 1, argv[0] ));
10108
arg1 = (int)(val1);
10109
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10110
if (!SWIG_IsOK(ecode2)) {
10111
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefTunit", 2, argv[1] ));
10113
arg2 = (int)(val2);
10114
taxisDefTunit(arg1,arg2);
10122
_wrap_taxisDefNumavg(int argc, VALUE *argv, VALUE self) {
10130
if ((argc < 2) || (argc > 2)) {
10131
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10133
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10134
if (!SWIG_IsOK(ecode1)) {
10135
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisDefNumavg", 1, argv[0] ));
10137
arg1 = (int)(val1);
10138
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10139
if (!SWIG_IsOK(ecode2)) {
10140
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","taxisDefNumavg", 2, argv[1] ));
10142
arg2 = (int)(val2);
10143
taxisDefNumavg(arg1,arg2);
10151
_wrap_taxisInqType(int argc, VALUE *argv, VALUE self) {
10156
VALUE vresult = Qnil;
10158
if ((argc < 1) || (argc > 1)) {
10159
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10161
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10162
if (!SWIG_IsOK(ecode1)) {
10163
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqType", 1, argv[0] ));
10165
arg1 = (int)(val1);
10166
result = (int)taxisInqType(arg1);
10167
vresult = SWIG_From_int((int)(result));
10175
_wrap_taxisInqVdate(int argc, VALUE *argv, VALUE self) {
10180
VALUE vresult = Qnil;
10182
if ((argc < 1) || (argc > 1)) {
10183
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10185
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10186
if (!SWIG_IsOK(ecode1)) {
10187
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqVdate", 1, argv[0] ));
10189
arg1 = (int)(val1);
10190
result = (int)taxisInqVdate(arg1);
10191
vresult = SWIG_From_int((int)(result));
10199
_wrap_taxisInqVtime(int argc, VALUE *argv, VALUE self) {
10204
VALUE vresult = Qnil;
10206
if ((argc < 1) || (argc > 1)) {
10207
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10209
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10210
if (!SWIG_IsOK(ecode1)) {
10211
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqVtime", 1, argv[0] ));
10213
arg1 = (int)(val1);
10214
result = (int)taxisInqVtime(arg1);
10215
vresult = SWIG_From_int((int)(result));
10223
_wrap_taxisInqRdate(int argc, VALUE *argv, VALUE self) {
10228
VALUE vresult = Qnil;
10230
if ((argc < 1) || (argc > 1)) {
10231
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10233
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10234
if (!SWIG_IsOK(ecode1)) {
10235
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqRdate", 1, argv[0] ));
10237
arg1 = (int)(val1);
10238
result = (int)taxisInqRdate(arg1);
10239
vresult = SWIG_From_int((int)(result));
10247
_wrap_taxisInqRtime(int argc, VALUE *argv, VALUE self) {
10252
VALUE vresult = Qnil;
10254
if ((argc < 1) || (argc > 1)) {
10255
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10257
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10258
if (!SWIG_IsOK(ecode1)) {
10259
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqRtime", 1, argv[0] ));
10261
arg1 = (int)(val1);
10262
result = (int)taxisInqRtime(arg1);
10263
vresult = SWIG_From_int((int)(result));
10271
_wrap_taxisInqCalendar(int argc, VALUE *argv, VALUE self) {
10276
VALUE vresult = Qnil;
10278
if ((argc < 1) || (argc > 1)) {
10279
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10281
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10282
if (!SWIG_IsOK(ecode1)) {
10283
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqCalendar", 1, argv[0] ));
10285
arg1 = (int)(val1);
10286
result = (int)taxisInqCalendar(arg1);
10287
vresult = SWIG_From_int((int)(result));
10295
_wrap_taxisInqTunit(int argc, VALUE *argv, VALUE self) {
10300
VALUE vresult = Qnil;
10302
if ((argc < 1) || (argc > 1)) {
10303
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10305
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10306
if (!SWIG_IsOK(ecode1)) {
10307
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqTunit", 1, argv[0] ));
10309
arg1 = (int)(val1);
10310
result = (int)taxisInqTunit(arg1);
10311
vresult = SWIG_From_int((int)(result));
10319
_wrap_taxisInqNumavg(int argc, VALUE *argv, VALUE self) {
10324
VALUE vresult = Qnil;
10326
if ((argc < 1) || (argc > 1)) {
10327
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10329
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10330
if (!SWIG_IsOK(ecode1)) {
10331
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","taxisInqNumavg", 1, argv[0] ));
10333
arg1 = (int)(val1);
10334
result = (int)taxisInqNumavg(arg1);
10335
vresult = SWIG_From_int((int)(result));
10343
_wrap_tunitNamePtr(int argc, VALUE *argv, VALUE self) {
10348
VALUE vresult = Qnil;
10350
if ((argc < 1) || (argc > 1)) {
10351
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10353
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10354
if (!SWIG_IsOK(ecode1)) {
10355
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tunitNamePtr", 1, argv[0] ));
10357
arg1 = (int)(val1);
10358
result = (char *)tunitNamePtr(arg1);
10359
vresult = SWIG_FromCharPtr((const char *)result);
10367
_wrap_institutDef(int argc, VALUE *argv, VALUE self) {
10370
char *arg3 = (char *) 0 ;
10371
char *arg4 = (char *) 0 ;
10383
VALUE vresult = Qnil;
10385
if ((argc < 4) || (argc > 4)) {
10386
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
10388
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10389
if (!SWIG_IsOK(ecode1)) {
10390
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutDef", 1, argv[0] ));
10392
arg1 = (int)(val1);
10393
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10394
if (!SWIG_IsOK(ecode2)) {
10395
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","institutDef", 2, argv[1] ));
10397
arg2 = (int)(val2);
10398
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10399
if (!SWIG_IsOK(res3)) {
10400
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","institutDef", 3, argv[2] ));
10402
arg3 = (char *)(buf3);
10403
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
10404
if (!SWIG_IsOK(res4)) {
10405
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","institutDef", 4, argv[3] ));
10407
arg4 = (char *)(buf4);
10408
result = (int)institutDef(arg1,arg2,(char const *)arg3,(char const *)arg4);
10409
vresult = SWIG_From_int((int)(result));
10410
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10411
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10414
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10415
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10421
_wrap_institutInq(int argc, VALUE *argv, VALUE self) {
10424
char *arg3 = (char *) 0 ;
10425
char *arg4 = (char *) 0 ;
10437
VALUE vresult = Qnil;
10439
if ((argc < 4) || (argc > 4)) {
10440
rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
10442
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10443
if (!SWIG_IsOK(ecode1)) {
10444
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutInq", 1, argv[0] ));
10446
arg1 = (int)(val1);
10447
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10448
if (!SWIG_IsOK(ecode2)) {
10449
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","institutInq", 2, argv[1] ));
10451
arg2 = (int)(val2);
10452
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10453
if (!SWIG_IsOK(res3)) {
10454
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","institutInq", 3, argv[2] ));
10456
arg3 = (char *)(buf3);
10457
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
10458
if (!SWIG_IsOK(res4)) {
10459
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","institutInq", 4, argv[3] ));
10461
arg4 = (char *)(buf4);
10462
result = (int)institutInq(arg1,arg2,(char const *)arg3,(char const *)arg4);
10463
vresult = SWIG_From_int((int)(result));
10464
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10465
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10468
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10469
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10475
_wrap_institutInqNumber(int argc, VALUE *argv, VALUE self) {
10477
VALUE vresult = Qnil;
10479
if ((argc < 0) || (argc > 0)) {
10480
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
10482
result = (int)institutInqNumber();
10483
vresult = SWIG_From_int((int)(result));
10491
_wrap_institutInqCenter(int argc, VALUE *argv, VALUE self) {
10496
VALUE vresult = Qnil;
10498
if ((argc < 1) || (argc > 1)) {
10499
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10501
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10502
if (!SWIG_IsOK(ecode1)) {
10503
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutInqCenter", 1, argv[0] ));
10505
arg1 = (int)(val1);
10506
result = (int)institutInqCenter(arg1);
10507
vresult = SWIG_From_int((int)(result));
10515
_wrap_institutInqSubcenter(int argc, VALUE *argv, VALUE self) {
10520
VALUE vresult = Qnil;
10522
if ((argc < 1) || (argc > 1)) {
10523
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10525
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10526
if (!SWIG_IsOK(ecode1)) {
10527
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutInqSubcenter", 1, argv[0] ));
10529
arg1 = (int)(val1);
10530
result = (int)institutInqSubcenter(arg1);
10531
vresult = SWIG_From_int((int)(result));
10539
_wrap_institutInqNamePtr(int argc, VALUE *argv, VALUE self) {
10544
VALUE vresult = Qnil;
10546
if ((argc < 1) || (argc > 1)) {
10547
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10549
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10550
if (!SWIG_IsOK(ecode1)) {
10551
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutInqNamePtr", 1, argv[0] ));
10553
arg1 = (int)(val1);
10554
result = (char *)institutInqNamePtr(arg1);
10555
vresult = SWIG_FromCharPtr((const char *)result);
10563
_wrap_institutInqLongnamePtr(int argc, VALUE *argv, VALUE self) {
10568
VALUE vresult = Qnil;
10570
if ((argc < 1) || (argc > 1)) {
10571
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10573
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10574
if (!SWIG_IsOK(ecode1)) {
10575
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","institutInqLongnamePtr", 1, argv[0] ));
10577
arg1 = (int)(val1);
10578
result = (char *)institutInqLongnamePtr(arg1);
10579
vresult = SWIG_FromCharPtr((const char *)result);
10587
_wrap_modelDef(int argc, VALUE *argv, VALUE self) {
10590
char *arg3 = (char *) 0 ;
10599
VALUE vresult = Qnil;
10601
if ((argc < 3) || (argc > 3)) {
10602
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10604
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10605
if (!SWIG_IsOK(ecode1)) {
10606
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","modelDef", 1, argv[0] ));
10608
arg1 = (int)(val1);
10609
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10610
if (!SWIG_IsOK(ecode2)) {
10611
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","modelDef", 2, argv[1] ));
10613
arg2 = (int)(val2);
10614
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10615
if (!SWIG_IsOK(res3)) {
10616
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","modelDef", 3, argv[2] ));
10618
arg3 = (char *)(buf3);
10619
result = (int)modelDef(arg1,arg2,(char const *)arg3);
10620
vresult = SWIG_From_int((int)(result));
10621
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10624
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10630
_wrap_modelInq(int argc, VALUE *argv, VALUE self) {
10633
char *arg3 = (char *) 0 ;
10642
VALUE vresult = Qnil;
10644
if ((argc < 3) || (argc > 3)) {
10645
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10647
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10648
if (!SWIG_IsOK(ecode1)) {
10649
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","modelInq", 1, argv[0] ));
10651
arg1 = (int)(val1);
10652
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10653
if (!SWIG_IsOK(ecode2)) {
10654
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","modelInq", 2, argv[1] ));
10656
arg2 = (int)(val2);
10657
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10658
if (!SWIG_IsOK(res3)) {
10659
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","modelInq", 3, argv[2] ));
10661
arg3 = (char *)(buf3);
10662
result = (int)modelInq(arg1,arg2,arg3);
10663
vresult = SWIG_From_int((int)(result));
10664
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10667
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10673
_wrap_modelInqInstitut(int argc, VALUE *argv, VALUE self) {
10678
VALUE vresult = Qnil;
10680
if ((argc < 1) || (argc > 1)) {
10681
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10683
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10684
if (!SWIG_IsOK(ecode1)) {
10685
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","modelInqInstitut", 1, argv[0] ));
10687
arg1 = (int)(val1);
10688
result = (int)modelInqInstitut(arg1);
10689
vresult = SWIG_From_int((int)(result));
10697
_wrap_modelInqGribID(int argc, VALUE *argv, VALUE self) {
10702
VALUE vresult = Qnil;
10704
if ((argc < 1) || (argc > 1)) {
10705
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10707
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10708
if (!SWIG_IsOK(ecode1)) {
10709
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","modelInqGribID", 1, argv[0] ));
10711
arg1 = (int)(val1);
10712
result = (int)modelInqGribID(arg1);
10713
vresult = SWIG_From_int((int)(result));
10721
_wrap_modelInqNamePtr(int argc, VALUE *argv, VALUE self) {
10726
VALUE vresult = Qnil;
10728
if ((argc < 1) || (argc > 1)) {
10729
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10731
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10732
if (!SWIG_IsOK(ecode1)) {
10733
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","modelInqNamePtr", 1, argv[0] ));
10735
arg1 = (int)(val1);
10736
result = (char *)modelInqNamePtr(arg1);
10737
vresult = SWIG_FromCharPtr((const char *)result);
10745
_wrap_tableWriteC(int argc, VALUE *argv, VALUE self) {
10746
char *arg1 = (char *) 0 ;
10754
if ((argc < 2) || (argc > 2)) {
10755
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10757
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
10758
if (!SWIG_IsOK(res1)) {
10759
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","tableWriteC", 1, argv[0] ));
10761
arg1 = (char *)(buf1);
10762
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10763
if (!SWIG_IsOK(ecode2)) {
10764
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableWriteC", 2, argv[1] ));
10766
arg2 = (int)(val2);
10767
tableWriteC((char const *)arg1,arg2);
10768
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10771
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10777
_wrap_tableWrite(int argc, VALUE *argv, VALUE self) {
10778
char *arg1 = (char *) 0 ;
10786
if ((argc < 2) || (argc > 2)) {
10787
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
10789
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
10790
if (!SWIG_IsOK(res1)) {
10791
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","tableWrite", 1, argv[0] ));
10793
arg1 = (char *)(buf1);
10794
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10795
if (!SWIG_IsOK(ecode2)) {
10796
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableWrite", 2, argv[1] ));
10798
arg2 = (int)(val2);
10799
tableWrite((char const *)arg1,arg2);
10800
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10803
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10809
_wrap_tableRead(int argc, VALUE *argv, VALUE self) {
10810
char *arg1 = (char *) 0 ;
10815
VALUE vresult = Qnil;
10817
if ((argc < 1) || (argc > 1)) {
10818
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10820
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
10821
if (!SWIG_IsOK(res1)) {
10822
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","tableRead", 1, argv[0] ));
10824
arg1 = (char *)(buf1);
10825
result = (int)tableRead((char const *)arg1);
10826
vresult = SWIG_From_int((int)(result));
10827
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10830
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
10836
_wrap_tableDef(int argc, VALUE *argv, VALUE self) {
10839
char *arg3 = (char *) 0 ;
10848
VALUE vresult = Qnil;
10850
if ((argc < 3) || (argc > 3)) {
10851
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10853
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10854
if (!SWIG_IsOK(ecode1)) {
10855
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableDef", 1, argv[0] ));
10857
arg1 = (int)(val1);
10858
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10859
if (!SWIG_IsOK(ecode2)) {
10860
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableDef", 2, argv[1] ));
10862
arg2 = (int)(val2);
10863
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10864
if (!SWIG_IsOK(res3)) {
10865
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","tableDef", 3, argv[2] ));
10867
arg3 = (char *)(buf3);
10868
result = (int)tableDef(arg1,arg2,(char const *)arg3);
10869
vresult = SWIG_From_int((int)(result));
10870
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10873
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10879
_wrap_tableInqNamePtr(int argc, VALUE *argv, VALUE self) {
10884
VALUE vresult = Qnil;
10886
if ((argc < 1) || (argc > 1)) {
10887
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
10889
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10890
if (!SWIG_IsOK(ecode1)) {
10891
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqNamePtr", 1, argv[0] ));
10893
arg1 = (int)(val1);
10894
result = (char *)tableInqNamePtr(arg1);
10895
vresult = SWIG_FromCharPtr((const char *)result);
10903
_wrap_tableDefEntry(int argc, VALUE *argv, VALUE self) {
10906
char *arg3 = (char *) 0 ;
10907
char *arg4 = (char *) 0 ;
10908
char *arg5 = (char *) 0 ;
10923
if ((argc < 5) || (argc > 5)) {
10924
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
10926
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10927
if (!SWIG_IsOK(ecode1)) {
10928
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableDefEntry", 1, argv[0] ));
10930
arg1 = (int)(val1);
10931
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10932
if (!SWIG_IsOK(ecode2)) {
10933
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableDefEntry", 2, argv[1] ));
10935
arg2 = (int)(val2);
10936
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10937
if (!SWIG_IsOK(res3)) {
10938
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","tableDefEntry", 3, argv[2] ));
10940
arg3 = (char *)(buf3);
10941
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
10942
if (!SWIG_IsOK(res4)) {
10943
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","tableDefEntry", 4, argv[3] ));
10945
arg4 = (char *)(buf4);
10946
res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
10947
if (!SWIG_IsOK(res5)) {
10948
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","tableDefEntry", 5, argv[4] ));
10950
arg5 = (char *)(buf5);
10951
tableDefEntry(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
10952
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10953
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10954
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
10957
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
10958
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
10959
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
10965
_wrap_tableInq(int argc, VALUE *argv, VALUE self) {
10968
char *arg3 = (char *) 0 ;
10977
VALUE vresult = Qnil;
10979
if ((argc < 3) || (argc > 3)) {
10980
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
10982
ecode1 = SWIG_AsVal_int(argv[0], &val1);
10983
if (!SWIG_IsOK(ecode1)) {
10984
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInq", 1, argv[0] ));
10986
arg1 = (int)(val1);
10987
ecode2 = SWIG_AsVal_int(argv[1], &val2);
10988
if (!SWIG_IsOK(ecode2)) {
10989
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInq", 2, argv[1] ));
10991
arg2 = (int)(val2);
10992
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
10993
if (!SWIG_IsOK(res3)) {
10994
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","tableInq", 3, argv[2] ));
10996
arg3 = (char *)(buf3);
10997
result = (int)tableInq(arg1,arg2,(char const *)arg3);
10998
vresult = SWIG_From_int((int)(result));
10999
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11002
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11008
_wrap_tableInqNumber(int argc, VALUE *argv, VALUE self) {
11010
VALUE vresult = Qnil;
11012
if ((argc < 0) || (argc > 0)) {
11013
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
11015
result = (int)tableInqNumber();
11016
vresult = SWIG_From_int((int)(result));
11024
_wrap_tableInqNum(int argc, VALUE *argv, VALUE self) {
11029
VALUE vresult = Qnil;
11031
if ((argc < 1) || (argc > 1)) {
11032
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11034
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11035
if (!SWIG_IsOK(ecode1)) {
11036
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqNum", 1, argv[0] ));
11038
arg1 = (int)(val1);
11039
result = (int)tableInqNum(arg1);
11040
vresult = SWIG_From_int((int)(result));
11048
_wrap_tableInqModel(int argc, VALUE *argv, VALUE self) {
11053
VALUE vresult = Qnil;
11055
if ((argc < 1) || (argc > 1)) {
11056
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11058
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11059
if (!SWIG_IsOK(ecode1)) {
11060
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqModel", 1, argv[0] ));
11062
arg1 = (int)(val1);
11063
result = (int)tableInqModel(arg1);
11064
vresult = SWIG_From_int((int)(result));
11072
_wrap_tableInqPar(int argc, VALUE *argv, VALUE self) {
11075
char *arg3 = (char *) 0 ;
11076
char *arg4 = (char *) 0 ;
11077
char *arg5 = (char *) 0 ;
11092
if ((argc < 5) || (argc > 5)) {
11093
rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
11095
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11096
if (!SWIG_IsOK(ecode1)) {
11097
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqPar", 1, argv[0] ));
11099
arg1 = (int)(val1);
11100
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11101
if (!SWIG_IsOK(ecode2)) {
11102
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqPar", 2, argv[1] ));
11104
arg2 = (int)(val2);
11105
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11106
if (!SWIG_IsOK(res3)) {
11107
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","tableInqPar", 3, argv[2] ));
11109
arg3 = (char *)(buf3);
11110
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
11111
if (!SWIG_IsOK(res4)) {
11112
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","tableInqPar", 4, argv[3] ));
11114
arg4 = (char *)(buf4);
11115
res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
11116
if (!SWIG_IsOK(res5)) {
11117
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char *","tableInqPar", 5, argv[4] ));
11119
arg5 = (char *)(buf5);
11120
tableInqPar(arg1,arg2,arg3,arg4,arg5);
11121
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11122
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11123
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11126
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11127
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
11128
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
11134
_wrap_tableInqParCode(int argc, VALUE *argv, VALUE self) {
11136
char *arg2 = (char *) 0 ;
11137
int *arg3 = (int *) 0 ;
11146
VALUE vresult = Qnil;
11148
if ((argc < 3) || (argc > 3)) {
11149
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11151
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11152
if (!SWIG_IsOK(ecode1)) {
11153
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParCode", 1, argv[0] ));
11155
arg1 = (int)(val1);
11156
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11157
if (!SWIG_IsOK(res2)) {
11158
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","tableInqParCode", 2, argv[1] ));
11160
arg2 = (char *)(buf2);
11161
res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
11162
if (!SWIG_IsOK(res3)) {
11163
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "int *","tableInqParCode", 3, argv[2] ));
11165
arg3 = (int *)(argp3);
11166
result = (int)tableInqParCode(arg1,arg2,arg3);
11167
vresult = SWIG_From_int((int)(result));
11168
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11171
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11177
_wrap_tableInqParName(int argc, VALUE *argv, VALUE self) {
11180
char *arg3 = (char *) 0 ;
11189
VALUE vresult = Qnil;
11191
if ((argc < 3) || (argc > 3)) {
11192
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11194
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11195
if (!SWIG_IsOK(ecode1)) {
11196
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParName", 1, argv[0] ));
11198
arg1 = (int)(val1);
11199
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11200
if (!SWIG_IsOK(ecode2)) {
11201
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParName", 2, argv[1] ));
11203
arg2 = (int)(val2);
11204
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11205
if (!SWIG_IsOK(res3)) {
11206
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","tableInqParName", 3, argv[2] ));
11208
arg3 = (char *)(buf3);
11209
result = (int)tableInqParName(arg1,arg2,arg3);
11210
vresult = SWIG_From_int((int)(result));
11211
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11214
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11220
_wrap_tableInqParLongname(int argc, VALUE *argv, VALUE self) {
11223
char *arg3 = (char *) 0 ;
11232
VALUE vresult = Qnil;
11234
if ((argc < 3) || (argc > 3)) {
11235
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11237
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11238
if (!SWIG_IsOK(ecode1)) {
11239
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParLongname", 1, argv[0] ));
11241
arg1 = (int)(val1);
11242
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11243
if (!SWIG_IsOK(ecode2)) {
11244
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParLongname", 2, argv[1] ));
11246
arg2 = (int)(val2);
11247
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11248
if (!SWIG_IsOK(res3)) {
11249
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","tableInqParLongname", 3, argv[2] ));
11251
arg3 = (char *)(buf3);
11252
result = (int)tableInqParLongname(arg1,arg2,arg3);
11253
vresult = SWIG_From_int((int)(result));
11254
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11257
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11263
_wrap_tableInqParUnits(int argc, VALUE *argv, VALUE self) {
11266
char *arg3 = (char *) 0 ;
11275
VALUE vresult = Qnil;
11277
if ((argc < 3) || (argc > 3)) {
11278
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11280
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11281
if (!SWIG_IsOK(ecode1)) {
11282
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParUnits", 1, argv[0] ));
11284
arg1 = (int)(val1);
11285
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11286
if (!SWIG_IsOK(ecode2)) {
11287
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParUnits", 2, argv[1] ));
11289
arg2 = (int)(val2);
11290
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11291
if (!SWIG_IsOK(res3)) {
11292
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","tableInqParUnits", 3, argv[2] ));
11294
arg3 = (char *)(buf3);
11295
result = (int)tableInqParUnits(arg1,arg2,arg3);
11296
vresult = SWIG_From_int((int)(result));
11297
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11300
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11306
_wrap_tableInqParNamePtr(int argc, VALUE *argv, VALUE self) {
11314
VALUE vresult = Qnil;
11316
if ((argc < 2) || (argc > 2)) {
11317
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11319
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11320
if (!SWIG_IsOK(ecode1)) {
11321
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParNamePtr", 1, argv[0] ));
11323
arg1 = (int)(val1);
11324
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11325
if (!SWIG_IsOK(ecode2)) {
11326
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParNamePtr", 2, argv[1] ));
11328
arg2 = (int)(val2);
11329
result = (char *)tableInqParNamePtr(arg1,arg2);
11330
vresult = SWIG_FromCharPtr((const char *)result);
11338
_wrap_tableInqParLongnamePtr(int argc, VALUE *argv, VALUE self) {
11346
VALUE vresult = Qnil;
11348
if ((argc < 2) || (argc > 2)) {
11349
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11351
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11352
if (!SWIG_IsOK(ecode1)) {
11353
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParLongnamePtr", 1, argv[0] ));
11355
arg1 = (int)(val1);
11356
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11357
if (!SWIG_IsOK(ecode2)) {
11358
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParLongnamePtr", 2, argv[1] ));
11360
arg2 = (int)(val2);
11361
result = (char *)tableInqParLongnamePtr(arg1,arg2);
11362
vresult = SWIG_FromCharPtr((const char *)result);
11370
_wrap_tableInqParUnitsPtr(int argc, VALUE *argv, VALUE self) {
11378
VALUE vresult = Qnil;
11380
if ((argc < 2) || (argc > 2)) {
11381
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11383
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11384
if (!SWIG_IsOK(ecode1)) {
11385
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","tableInqParUnitsPtr", 1, argv[0] ));
11387
arg1 = (int)(val1);
11388
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11389
if (!SWIG_IsOK(ecode2)) {
11390
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","tableInqParUnitsPtr", 2, argv[1] ));
11392
arg2 = (int)(val2);
11393
result = (char *)tableInqParUnitsPtr(arg1,arg2);
11394
vresult = SWIG_FromCharPtr((const char *)result);
11402
_wrap_streamDefHistory(int argc, VALUE *argv, VALUE self) {
11405
char *arg3 = (char *) 0 ;
11414
if ((argc < 3) || (argc > 3)) {
11415
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
11417
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11418
if (!SWIG_IsOK(ecode1)) {
11419
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamDefHistory", 1, argv[0] ));
11421
arg1 = (int)(val1);
11422
ecode2 = SWIG_AsVal_int(argv[1], &val2);
11423
if (!SWIG_IsOK(ecode2)) {
11424
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","streamDefHistory", 2, argv[1] ));
11426
arg2 = (int)(val2);
11427
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
11428
if (!SWIG_IsOK(res3)) {
11429
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","streamDefHistory", 3, argv[2] ));
11431
arg3 = (char *)(buf3);
11432
streamDefHistory(arg1,arg2,(char const *)arg3);
11433
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11436
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11442
_wrap_streamInqHistorySize(int argc, VALUE *argv, VALUE self) {
11447
VALUE vresult = Qnil;
11449
if ((argc < 1) || (argc > 1)) {
11450
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
11452
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11453
if (!SWIG_IsOK(ecode1)) {
11454
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqHistorySize", 1, argv[0] ));
11456
arg1 = (int)(val1);
11457
result = (int)streamInqHistorySize(arg1);
11458
vresult = SWIG_From_int((int)(result));
11466
_wrap_streamInqHistoryString(int argc, VALUE *argv, VALUE self) {
11468
char *arg2 = (char *) 0 ;
11475
if ((argc < 2) || (argc > 2)) {
11476
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
11478
ecode1 = SWIG_AsVal_int(argv[0], &val1);
11479
if (!SWIG_IsOK(ecode1)) {
11480
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","streamInqHistoryString", 1, argv[0] ));
11482
arg1 = (int)(val1);
11483
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
11484
if (!SWIG_IsOK(res2)) {
11485
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","streamInqHistoryString", 2, argv[1] ));
11487
arg2 = (char *)(buf2);
11488
streamInqHistoryString(arg1,arg2);
11489
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11492
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11498
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11500
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
11501
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
11502
static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
11503
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
11504
static swig_type_info _swigt__p_off_t = {"_p_off_t", "off_t *", 0, 0, (void*)0, 0};
11506
static swig_type_info *swig_type_initial[] = {
11514
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11515
static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
11516
static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
11517
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11518
static swig_cast_info _swigc__p_off_t[] = { {&_swigt__p_off_t, 0, 0, 0},{0, 0, 0, 0}};
11520
static swig_cast_info *swig_cast_initial[] = {
11529
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11531
/* -----------------------------------------------------------------------------
11532
* Type initialization:
11533
* This problem is tough by the requirement that no dynamic
11534
* memory is used. Also, since swig_type_info structures store pointers to
11535
* swig_cast_info structures and swig_cast_info structures store pointers back
11536
* to swig_type_info structures, we need some lookup code at initialization.
11537
* The idea is that swig generates all the structures that are needed.
11538
* The runtime then collects these partially filled structures.
11539
* The SWIG_InitializeModule function takes these initial arrays out of
11540
* swig_module, and does all the lookup, filling in the swig_module.types
11541
* array with the correct data and linking the correct swig_cast_info
11542
* structures together.
11544
* The generated swig_type_info structures are assigned staticly to an initial
11545
* array. We just loop through that array, and handle each type individually.
11546
* First we lookup if this type has been already loaded, and if so, use the
11547
* loaded structure instead of the generated one. Then we have to fill in the
11548
* cast linked list. The cast data is initially stored in something like a
11549
* two-dimensional array. Each row corresponds to a type (there are the same
11550
* number of rows as there are in the swig_type_initial array). Each entry in
11551
* a column is one of the swig_cast_info structures for that type.
11552
* The cast_initial array is actually an array of arrays, because each row has
11553
* a variable number of columns. So to actually build the cast linked list,
11554
* we find the array of casts associated with the type, and loop through it
11555
* adding the casts to the list. The one last trick we need to do is making
11556
* sure the type pointer in the swig_cast_info struct is correct.
11558
* First off, we lookup the cast->type name to see if it is already loaded.
11559
* There are three cases to handle:
11560
* 1) If the cast->type has already been loaded AND the type we are adding
11561
* casting info to has not been loaded (it is in this module), THEN we
11562
* replace the cast->type pointer with the type pointer that has already
11564
* 2) If BOTH types (the one we are adding casting info to, and the
11565
* cast->type) are loaded, THEN the cast info has already been loaded by
11566
* the previous module so we just ignore it.
11567
* 3) Finally, if cast->type has not already been loaded, then we add that
11568
* swig_cast_info to the linked list (because the cast->type) pointer will
11570
* ----------------------------------------------------------------------------- */
11580
#define SWIGRUNTIME_DEBUG
11585
SWIG_InitializeModule(void *clientdata) {
11587
swig_module_info *module_head, *iter;
11590
clientdata = clientdata;
11592
/* check to see if the circular list has been setup, if not, set it up */
11593
if (swig_module.next==0) {
11594
/* Initialize the swig_module */
11595
swig_module.type_initial = swig_type_initial;
11596
swig_module.cast_initial = swig_cast_initial;
11597
swig_module.next = &swig_module;
11603
/* Try and load any already created modules */
11604
module_head = SWIG_GetModule(clientdata);
11605
if (!module_head) {
11606
/* This is the first module loaded for this interpreter */
11607
/* so set the swig module into the interpreter */
11608
SWIG_SetModule(clientdata, &swig_module);
11609
module_head = &swig_module;
11611
/* the interpreter has loaded a SWIG module, but has it loaded this one? */
11615
if (iter==&swig_module) {
11620
} while (iter!= module_head);
11622
/* if the is found in the list, then all is done and we may leave */
11624
/* otherwise we must add out module into the list */
11625
swig_module.next = module_head->next;
11626
module_head->next = &swig_module;
11629
/* When multiple interpeters are used, a module could have already been initialized in
11630
a different interpreter, but not yet have a pointer in this interpreter.
11631
In this case, we do not want to continue adding types... everything should be
11633
if (init == 0) return;
11635
/* Now work on filling in swig_module.types */
11636
#ifdef SWIGRUNTIME_DEBUG
11637
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11639
for (i = 0; i < swig_module.size; ++i) {
11640
swig_type_info *type = 0;
11641
swig_type_info *ret;
11642
swig_cast_info *cast;
11644
#ifdef SWIGRUNTIME_DEBUG
11645
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11648
/* if there is another module already loaded */
11649
if (swig_module.next != &swig_module) {
11650
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11653
/* Overwrite clientdata field */
11654
#ifdef SWIGRUNTIME_DEBUG
11655
printf("SWIG_InitializeModule: found type %s\n", type->name);
11657
if (swig_module.type_initial[i]->clientdata) {
11658
type->clientdata = swig_module.type_initial[i]->clientdata;
11659
#ifdef SWIGRUNTIME_DEBUG
11660
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11664
type = swig_module.type_initial[i];
11667
/* Insert casting types */
11668
cast = swig_module.cast_initial[i];
11669
while (cast->type) {
11671
/* Don't need to add information already in the list */
11673
#ifdef SWIGRUNTIME_DEBUG
11674
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
11676
if (swig_module.next != &swig_module) {
11677
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
11678
#ifdef SWIGRUNTIME_DEBUG
11679
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
11683
if (type == swig_module.type_initial[i]) {
11684
#ifdef SWIGRUNTIME_DEBUG
11685
printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
11690
/* Check for casting already in the list */
11691
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
11692
#ifdef SWIGRUNTIME_DEBUG
11693
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
11695
if (!ocast) ret = 0;
11700
#ifdef SWIGRUNTIME_DEBUG
11701
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
11704
type->cast->prev = cast;
11705
cast->next = type->cast;
11711
/* Set entry in modules->types array equal to the type */
11712
swig_module.types[i] = type;
11714
swig_module.types[i] = 0;
11716
#ifdef SWIGRUNTIME_DEBUG
11717
printf("**** SWIG_InitializeModule: Cast List ******\n");
11718
for (i = 0; i < swig_module.size; ++i) {
11720
swig_cast_info *cast = swig_module.cast_initial[i];
11721
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11722
while (cast->type) {
11723
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
11727
printf("---- Total casts: %d\n",j);
11729
printf("**** SWIG_InitializeModule: Cast List ******\n");
11733
/* This function will propagate the clientdata field of type to
11734
* any new swig_type_info structures that have been added into the list
11735
* of equivalent types. It is like calling
11736
* SWIG_TypeClientData(type, clientdata) a second time.
11739
SWIG_PropagateClientData(void) {
11741
swig_cast_info *equiv;
11742
static int init_run = 0;
11744
if (init_run) return;
11747
for (i = 0; i < swig_module.size; i++) {
11748
if (swig_module.types[i]->clientdata) {
11749
equiv = swig_module.types[i]->cast;
11751
if (!equiv->converter) {
11752
if (equiv->type && !equiv->type->clientdata)
11753
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
11755
equiv = equiv->next;
11774
SWIGEXPORT void Init_CdiLib(void) {
11777
SWIG_InitRuntime();
11778
mCdiLib = rb_define_module("CdiLib");
11780
SWIG_InitializeModule(0);
11781
for (i = 0; i < swig_module.size; i++) {
11782
SWIG_define_class(swig_module.types[i]);
11785
SWIG_RubyInitializeTrackings();
11786
rb_define_const(mCdiLib, "CDI_UNDEFID", SWIG_From_int((int)(-1)));
11787
rb_define_const(mCdiLib, "CDI_GLOBAL", SWIG_From_int((int)(-1)));
11788
rb_define_const(mCdiLib, "CDI_BIGENDIAN", SWIG_From_int((int)(0)));
11789
rb_define_const(mCdiLib, "CDI_LITTLEENDIAN", SWIG_From_int((int)(1)));
11790
rb_define_const(mCdiLib, "CDI_NOERR", SWIG_From_int((int)(0)));
11791
rb_define_const(mCdiLib, "CDI_ESYSTEM", SWIG_From_int((int)(-10)));
11792
rb_define_const(mCdiLib, "CDI_EINVAL", SWIG_From_int((int)(-20)));
11793
rb_define_const(mCdiLib, "CDI_EUFTYPE", SWIG_From_int((int)(-21)));
11794
rb_define_const(mCdiLib, "CDI_ELIBNAVAIL", SWIG_From_int((int)(-22)));
11795
rb_define_const(mCdiLib, "CDI_EUFSTRUCT", SWIG_From_int((int)(-23)));
11796
rb_define_const(mCdiLib, "CDI_EUNC4", SWIG_From_int((int)(-24)));
11797
rb_define_const(mCdiLib, "FILETYPE_GRB", SWIG_From_int((int)(1)));
11798
rb_define_const(mCdiLib, "FILETYPE_GRB2", SWIG_From_int((int)(2)));
11799
rb_define_const(mCdiLib, "FILETYPE_NC", SWIG_From_int((int)(3)));
11800
rb_define_const(mCdiLib, "FILETYPE_NC2", SWIG_From_int((int)(4)));
11801
rb_define_const(mCdiLib, "FILETYPE_NC4", SWIG_From_int((int)(5)));
11802
rb_define_const(mCdiLib, "FILETYPE_SRV", SWIG_From_int((int)(6)));
11803
rb_define_const(mCdiLib, "FILETYPE_EXT", SWIG_From_int((int)(7)));
11804
rb_define_const(mCdiLib, "FILETYPE_IEG", SWIG_From_int((int)(8)));
11805
rb_define_const(mCdiLib, "COMPRESS_NONE", SWIG_From_int((int)(0)));
11806
rb_define_const(mCdiLib, "COMPRESS_SZIP", SWIG_From_int((int)(1)));
11807
rb_define_const(mCdiLib, "COMPRESS_GZIP", SWIG_From_int((int)(2)));
11808
rb_define_const(mCdiLib, "COMPRESS_BZIP2", SWIG_From_int((int)(3)));
11809
rb_define_const(mCdiLib, "COMPRESS_ZIP", SWIG_From_int((int)(4)));
11810
rb_define_const(mCdiLib, "DATATYPE_PACK", SWIG_From_int((int)(0)));
11811
rb_define_const(mCdiLib, "DATATYPE_PACK1", SWIG_From_int((int)(1)));
11812
rb_define_const(mCdiLib, "DATATYPE_PACK2", SWIG_From_int((int)(2)));
11813
rb_define_const(mCdiLib, "DATATYPE_PACK3", SWIG_From_int((int)(3)));
11814
rb_define_const(mCdiLib, "DATATYPE_PACK4", SWIG_From_int((int)(4)));
11815
rb_define_const(mCdiLib, "DATATYPE_PACK5", SWIG_From_int((int)(5)));
11816
rb_define_const(mCdiLib, "DATATYPE_PACK6", SWIG_From_int((int)(6)));
11817
rb_define_const(mCdiLib, "DATATYPE_PACK7", SWIG_From_int((int)(7)));
11818
rb_define_const(mCdiLib, "DATATYPE_PACK8", SWIG_From_int((int)(8)));
11819
rb_define_const(mCdiLib, "DATATYPE_PACK9", SWIG_From_int((int)(9)));
11820
rb_define_const(mCdiLib, "DATATYPE_PACK10", SWIG_From_int((int)(10)));
11821
rb_define_const(mCdiLib, "DATATYPE_PACK11", SWIG_From_int((int)(11)));
11822
rb_define_const(mCdiLib, "DATATYPE_PACK12", SWIG_From_int((int)(12)));
11823
rb_define_const(mCdiLib, "DATATYPE_PACK13", SWIG_From_int((int)(13)));
11824
rb_define_const(mCdiLib, "DATATYPE_PACK14", SWIG_From_int((int)(14)));
11825
rb_define_const(mCdiLib, "DATATYPE_PACK15", SWIG_From_int((int)(15)));
11826
rb_define_const(mCdiLib, "DATATYPE_PACK16", SWIG_From_int((int)(16)));
11827
rb_define_const(mCdiLib, "DATATYPE_PACK17", SWIG_From_int((int)(17)));
11828
rb_define_const(mCdiLib, "DATATYPE_PACK18", SWIG_From_int((int)(18)));
11829
rb_define_const(mCdiLib, "DATATYPE_PACK19", SWIG_From_int((int)(19)));
11830
rb_define_const(mCdiLib, "DATATYPE_PACK20", SWIG_From_int((int)(20)));
11831
rb_define_const(mCdiLib, "DATATYPE_PACK21", SWIG_From_int((int)(21)));
11832
rb_define_const(mCdiLib, "DATATYPE_PACK22", SWIG_From_int((int)(22)));
11833
rb_define_const(mCdiLib, "DATATYPE_PACK23", SWIG_From_int((int)(23)));
11834
rb_define_const(mCdiLib, "DATATYPE_PACK24", SWIG_From_int((int)(24)));
11835
rb_define_const(mCdiLib, "DATATYPE_PACK25", SWIG_From_int((int)(25)));
11836
rb_define_const(mCdiLib, "DATATYPE_PACK26", SWIG_From_int((int)(26)));
11837
rb_define_const(mCdiLib, "DATATYPE_PACK27", SWIG_From_int((int)(27)));
11838
rb_define_const(mCdiLib, "DATATYPE_PACK28", SWIG_From_int((int)(28)));
11839
rb_define_const(mCdiLib, "DATATYPE_PACK29", SWIG_From_int((int)(29)));
11840
rb_define_const(mCdiLib, "DATATYPE_PACK30", SWIG_From_int((int)(30)));
11841
rb_define_const(mCdiLib, "DATATYPE_PACK31", SWIG_From_int((int)(31)));
11842
rb_define_const(mCdiLib, "DATATYPE_PACK32", SWIG_From_int((int)(32)));
11843
rb_define_const(mCdiLib, "DATATYPE_FLT32", SWIG_From_int((int)(132)));
11844
rb_define_const(mCdiLib, "DATATYPE_FLT64", SWIG_From_int((int)(164)));
11845
rb_define_const(mCdiLib, "DATATYPE_INT8", SWIG_From_int((int)(208)));
11846
rb_define_const(mCdiLib, "DATATYPE_INT16", SWIG_From_int((int)(216)));
11847
rb_define_const(mCdiLib, "DATATYPE_INT32", SWIG_From_int((int)(232)));
11848
rb_define_const(mCdiLib, "DATATYPE_UINT8", SWIG_From_int((int)(308)));
11849
rb_define_const(mCdiLib, "DATATYPE_UINT16", SWIG_From_int((int)(316)));
11850
rb_define_const(mCdiLib, "DATATYPE_UINT32", SWIG_From_int((int)(332)));
11851
rb_define_const(mCdiLib, "DATATYPE_INT", SWIG_From_int((int)(251)));
11852
rb_define_const(mCdiLib, "DATATYPE_FLT", SWIG_From_int((int)(252)));
11853
rb_define_const(mCdiLib, "DATATYPE_TXT", SWIG_From_int((int)(253)));
11854
rb_define_const(mCdiLib, "GRID_GENERIC", SWIG_From_int((int)(1)));
11855
rb_define_const(mCdiLib, "GRID_GAUSSIAN", SWIG_From_int((int)(2)));
11856
rb_define_const(mCdiLib, "GRID_GAUSSIAN_REDUCED", SWIG_From_int((int)(3)));
11857
rb_define_const(mCdiLib, "GRID_LONLAT", SWIG_From_int((int)(4)));
11858
rb_define_const(mCdiLib, "GRID_SPECTRAL", SWIG_From_int((int)(5)));
11859
rb_define_const(mCdiLib, "GRID_FOURIER", SWIG_From_int((int)(6)));
11860
rb_define_const(mCdiLib, "GRID_GME", SWIG_From_int((int)(7)));
11861
rb_define_const(mCdiLib, "GRID_TRAJECTORY", SWIG_From_int((int)(8)));
11862
rb_define_const(mCdiLib, "GRID_CELL", SWIG_From_int((int)(9)));
11863
rb_define_const(mCdiLib, "GRID_CURVILINEAR", SWIG_From_int((int)(10)));
11864
rb_define_const(mCdiLib, "GRID_LCC", SWIG_From_int((int)(11)));
11865
rb_define_const(mCdiLib, "GRID_LCC2", SWIG_From_int((int)(12)));
11866
rb_define_const(mCdiLib, "GRID_LAEA", SWIG_From_int((int)(13)));
11867
rb_define_const(mCdiLib, "GRID_SINUSOIDAL", SWIG_From_int((int)(14)));
11868
rb_define_const(mCdiLib, "ZAXIS_SURFACE", SWIG_From_int((int)(0)));
11869
rb_define_const(mCdiLib, "ZAXIS_GENERIC", SWIG_From_int((int)(1)));
11870
rb_define_const(mCdiLib, "ZAXIS_HYBRID", SWIG_From_int((int)(2)));
11871
rb_define_const(mCdiLib, "ZAXIS_HYBRID_HALF", SWIG_From_int((int)(3)));
11872
rb_define_const(mCdiLib, "ZAXIS_PRESSURE", SWIG_From_int((int)(4)));
11873
rb_define_const(mCdiLib, "ZAXIS_HEIGHT", SWIG_From_int((int)(5)));
11874
rb_define_const(mCdiLib, "ZAXIS_DEPTH_BELOW_SEA", SWIG_From_int((int)(6)));
11875
rb_define_const(mCdiLib, "ZAXIS_DEPTH_BELOW_LAND", SWIG_From_int((int)(7)));
11876
rb_define_const(mCdiLib, "ZAXIS_ISENTROPIC", SWIG_From_int((int)(8)));
11877
rb_define_const(mCdiLib, "ZAXIS_TRAJECTORY", SWIG_From_int((int)(9)));
11878
rb_define_const(mCdiLib, "ZAXIS_ALTITUDE", SWIG_From_int((int)(10)));
11879
rb_define_const(mCdiLib, "ZAXIS_SIGMA", SWIG_From_int((int)(11)));
11880
rb_define_const(mCdiLib, "ZAXIS_MEANSEA", SWIG_From_int((int)(12)));
11881
rb_define_const(mCdiLib, "TAXIS_ABSOLUTE", SWIG_From_int((int)(1)));
11882
rb_define_const(mCdiLib, "TAXIS_RELATIVE", SWIG_From_int((int)(2)));
11883
rb_define_const(mCdiLib, "TIME_CONSTANT", SWIG_From_int((int)(1)));
11884
rb_define_const(mCdiLib, "TIME_VARIABLE", SWIG_From_int((int)(2)));
11885
rb_define_const(mCdiLib, "TUNIT_SECOND", SWIG_From_int((int)(1)));
11886
rb_define_const(mCdiLib, "TUNIT_MINUTE", SWIG_From_int((int)(2)));
11887
rb_define_const(mCdiLib, "TUNIT_HOUR", SWIG_From_int((int)(3)));
11888
rb_define_const(mCdiLib, "TUNIT_DAY", SWIG_From_int((int)(4)));
11889
rb_define_const(mCdiLib, "TUNIT_MONTH", SWIG_From_int((int)(5)));
11890
rb_define_const(mCdiLib, "TUNIT_YEAR", SWIG_From_int((int)(6)));
11891
rb_define_const(mCdiLib, "TUNIT_QUARTER", SWIG_From_int((int)(7)));
11892
rb_define_const(mCdiLib, "CALENDAR_STANDARD", SWIG_From_int((int)(0)));
11893
rb_define_const(mCdiLib, "CALENDAR_PROLEPTIC", SWIG_From_int((int)(1)));
11894
rb_define_const(mCdiLib, "CALENDAR_360DAYS", SWIG_From_int((int)(2)));
11895
rb_define_const(mCdiLib, "CALENDAR_365DAYS", SWIG_From_int((int)(3)));
11896
rb_define_const(mCdiLib, "CALENDAR_366DAYS", SWIG_From_int((int)(4)));
11897
rb_define_const(mCdiLib, "CALENDAR_NONE", SWIG_From_int((int)(5)));
11898
rb_define_module_function(mCdiLib, "cdiStringError", _wrap_cdiStringError, -1);
11899
rb_define_module_function(mCdiLib, "cdiDebug", _wrap_cdiDebug, -1);
11900
rb_define_module_function(mCdiLib, "cdiLibraryVersion", _wrap_cdiLibraryVersion, -1);
11901
rb_define_module_function(mCdiLib, "cdiPrintVersion", _wrap_cdiPrintVersion, -1);
11902
rb_define_module_function(mCdiLib, "cdiDefMissval", _wrap_cdiDefMissval, -1);
11903
rb_define_module_function(mCdiLib, "cdiInqMissval", _wrap_cdiInqMissval, -1);
11904
rb_define_module_function(mCdiLib, "cdiDefGlobal", _wrap_cdiDefGlobal, -1);
11905
rb_define_module_function(mCdiLib, "streamOpenRead", _wrap_streamOpenRead, -1);
11906
rb_define_module_function(mCdiLib, "streamOpenWrite", _wrap_streamOpenWrite, -1);
11907
rb_define_module_function(mCdiLib, "streamOpenAppend", _wrap_streamOpenAppend, -1);
11908
rb_define_module_function(mCdiLib, "streamClose", _wrap_streamClose, -1);
11909
rb_define_module_function(mCdiLib, "streamSync", _wrap_streamSync, -1);
11910
rb_define_module_function(mCdiLib, "streamDefVlist", _wrap_streamDefVlist, -1);
11911
rb_define_module_function(mCdiLib, "streamInqVlist", _wrap_streamInqVlist, -1);
11912
rb_define_module_function(mCdiLib, "streamInqFiletype", _wrap_streamInqFiletype, -1);
11913
rb_define_module_function(mCdiLib, "streamDefByteorder", _wrap_streamDefByteorder, -1);
11914
rb_define_module_function(mCdiLib, "streamInqByteorder", _wrap_streamInqByteorder, -1);
11915
rb_define_module_function(mCdiLib, "streamDefZtype", _wrap_streamDefZtype, -1);
11916
rb_define_module_function(mCdiLib, "streamDefZlevel", _wrap_streamDefZlevel, -1);
11917
rb_define_module_function(mCdiLib, "streamInqZtype", _wrap_streamInqZtype, -1);
11918
rb_define_module_function(mCdiLib, "streamInqZlevel", _wrap_streamInqZlevel, -1);
11919
rb_define_module_function(mCdiLib, "streamDefTimestep", _wrap_streamDefTimestep, -1);
11920
rb_define_module_function(mCdiLib, "streamInqTimestep", _wrap_streamInqTimestep, -1);
11921
rb_define_module_function(mCdiLib, "streamFilename", _wrap_streamFilename, -1);
11922
rb_define_module_function(mCdiLib, "streamFilesuffix", _wrap_streamFilesuffix, -1);
11923
rb_define_module_function(mCdiLib, "streamNtsteps", _wrap_streamNtsteps, -1);
11924
rb_define_module_function(mCdiLib, "streamNvals", _wrap_streamNvals, -1);
11925
rb_define_module_function(mCdiLib, "streamReadVar", _wrap_streamReadVar, -1);
11926
rb_define_module_function(mCdiLib, "streamWriteVar", _wrap_streamWriteVar, -1);
11927
rb_define_module_function(mCdiLib, "streamReadVarSlice", _wrap_streamReadVarSlice, -1);
11928
rb_define_module_function(mCdiLib, "streamWriteVarSlice", _wrap_streamWriteVarSlice, -1);
11929
rb_define_module_function(mCdiLib, "streamInqRecord", _wrap_streamInqRecord, -1);
11930
rb_define_module_function(mCdiLib, "streamDefRecord", _wrap_streamDefRecord, -1);
11931
rb_define_module_function(mCdiLib, "streamReadRecord", _wrap_streamReadRecord, -1);
11932
rb_define_module_function(mCdiLib, "streamWriteRecord", _wrap_streamWriteRecord, -1);
11933
rb_define_module_function(mCdiLib, "streamCopyRecord", _wrap_streamCopyRecord, -1);
11934
rb_define_module_function(mCdiLib, "streamInqGinfo", _wrap_streamInqGinfo, -1);
11935
rb_define_module_function(mCdiLib, "vlistCreate", _wrap_vlistCreate, -1);
11936
rb_define_module_function(mCdiLib, "vlistDestroy", _wrap_vlistDestroy, -1);
11937
rb_define_module_function(mCdiLib, "vlistDuplicate", _wrap_vlistDuplicate, -1);
11938
rb_define_module_function(mCdiLib, "vlistCopy", _wrap_vlistCopy, -1);
11939
rb_define_module_function(mCdiLib, "vlistCopyFlag", _wrap_vlistCopyFlag, -1);
11940
rb_define_module_function(mCdiLib, "vlistClearFlag", _wrap_vlistClearFlag, -1);
11941
rb_define_module_function(mCdiLib, "vlistCat", _wrap_vlistCat, -1);
11942
rb_define_module_function(mCdiLib, "vlistMerge", _wrap_vlistMerge, -1);
11943
rb_define_module_function(mCdiLib, "vlistPrint", _wrap_vlistPrint, -1);
11944
rb_define_module_function(mCdiLib, "vlistNvars", _wrap_vlistNvars, -1);
11945
rb_define_module_function(mCdiLib, "vlistNgrids", _wrap_vlistNgrids, -1);
11946
rb_define_module_function(mCdiLib, "vlistNzaxis", _wrap_vlistNzaxis, -1);
11947
rb_define_module_function(mCdiLib, "vlistDefNtsteps", _wrap_vlistDefNtsteps, -1);
11948
rb_define_module_function(mCdiLib, "vlistNtsteps", _wrap_vlistNtsteps, -1);
11949
rb_define_module_function(mCdiLib, "vlistGridsizeMax", _wrap_vlistGridsizeMax, -1);
11950
rb_define_module_function(mCdiLib, "vlistGrid", _wrap_vlistGrid, -1);
11951
rb_define_module_function(mCdiLib, "vlistGridIndex", _wrap_vlistGridIndex, -1);
11952
rb_define_module_function(mCdiLib, "vlistChangeGridIndex", _wrap_vlistChangeGridIndex, -1);
11953
rb_define_module_function(mCdiLib, "vlistChangeGrid", _wrap_vlistChangeGrid, -1);
11954
rb_define_module_function(mCdiLib, "vlistZaxis", _wrap_vlistZaxis, -1);
11955
rb_define_module_function(mCdiLib, "vlistZaxisIndex", _wrap_vlistZaxisIndex, -1);
11956
rb_define_module_function(mCdiLib, "vlistChangeZaxisIndex", _wrap_vlistChangeZaxisIndex, -1);
11957
rb_define_module_function(mCdiLib, "vlistChangeZaxis", _wrap_vlistChangeZaxis, -1);
11958
rb_define_module_function(mCdiLib, "vlistNrecs", _wrap_vlistNrecs, -1);
11959
rb_define_module_function(mCdiLib, "vlistDefTaxis", _wrap_vlistDefTaxis, -1);
11960
rb_define_module_function(mCdiLib, "vlistInqTaxis", _wrap_vlistInqTaxis, -1);
11961
rb_define_module_function(mCdiLib, "vlistDefTable", _wrap_vlistDefTable, -1);
11962
rb_define_module_function(mCdiLib, "vlistInqTable", _wrap_vlistInqTable, -1);
11963
rb_define_module_function(mCdiLib, "vlistDefInstitut", _wrap_vlistDefInstitut, -1);
11964
rb_define_module_function(mCdiLib, "vlistInqInstitut", _wrap_vlistInqInstitut, -1);
11965
rb_define_module_function(mCdiLib, "vlistDefModel", _wrap_vlistDefModel, -1);
11966
rb_define_module_function(mCdiLib, "vlistInqModel", _wrap_vlistInqModel, -1);
11967
rb_define_module_function(mCdiLib, "vlistDefVar", _wrap_vlistDefVar, -1);
11968
rb_define_module_function(mCdiLib, "vlistChangeVarGrid", _wrap_vlistChangeVarGrid, -1);
11969
rb_define_module_function(mCdiLib, "vlistChangeVarZaxis", _wrap_vlistChangeVarZaxis, -1);
11970
rb_define_module_function(mCdiLib, "vlistInqVar", _wrap_vlistInqVar, -1);
11971
rb_define_module_function(mCdiLib, "vlistInqVarGrid", _wrap_vlistInqVarGrid, -1);
11972
rb_define_module_function(mCdiLib, "vlistInqVarZaxis", _wrap_vlistInqVarZaxis, -1);
11973
rb_define_module_function(mCdiLib, "vlistInqVarTime", _wrap_vlistInqVarTime, -1);
11974
rb_define_module_function(mCdiLib, "vlistDefVarZtype", _wrap_vlistDefVarZtype, -1);
11975
rb_define_module_function(mCdiLib, "vlistInqVarZtype", _wrap_vlistInqVarZtype, -1);
11976
rb_define_module_function(mCdiLib, "vlistDefVarZlevel", _wrap_vlistDefVarZlevel, -1);
11977
rb_define_module_function(mCdiLib, "vlistInqVarZlevel", _wrap_vlistInqVarZlevel, -1);
11978
rb_define_module_function(mCdiLib, "vlistDefVarCode", _wrap_vlistDefVarCode, -1);
11979
rb_define_module_function(mCdiLib, "vlistInqVarCode", _wrap_vlistInqVarCode, -1);
11980
rb_define_module_function(mCdiLib, "vlistDefVarDatatype", _wrap_vlistDefVarDatatype, -1);
11981
rb_define_module_function(mCdiLib, "vlistInqVarDatatype", _wrap_vlistInqVarDatatype, -1);
11982
rb_define_module_function(mCdiLib, "vlistDefVarInstitut", _wrap_vlistDefVarInstitut, -1);
11983
rb_define_module_function(mCdiLib, "vlistInqVarInstitut", _wrap_vlistInqVarInstitut, -1);
11984
rb_define_module_function(mCdiLib, "vlistDefVarModel", _wrap_vlistDefVarModel, -1);
11985
rb_define_module_function(mCdiLib, "vlistInqVarModel", _wrap_vlistInqVarModel, -1);
11986
rb_define_module_function(mCdiLib, "vlistDefVarTable", _wrap_vlistDefVarTable, -1);
11987
rb_define_module_function(mCdiLib, "vlistInqVarTable", _wrap_vlistInqVarTable, -1);
11988
rb_define_module_function(mCdiLib, "vlistDefVarName", _wrap_vlistDefVarName, -1);
11989
rb_define_module_function(mCdiLib, "vlistInqVarName", _wrap_vlistInqVarName, -1);
11990
rb_define_module_function(mCdiLib, "vlistDefVarLongname", _wrap_vlistDefVarLongname, -1);
11991
rb_define_module_function(mCdiLib, "vlistDefVarStdname", _wrap_vlistDefVarStdname, -1);
11992
rb_define_module_function(mCdiLib, "vlistInqVarLongname", _wrap_vlistInqVarLongname, -1);
11993
rb_define_module_function(mCdiLib, "vlistInqVarStdname", _wrap_vlistInqVarStdname, -1);
11994
rb_define_module_function(mCdiLib, "vlistDefVarUnits", _wrap_vlistDefVarUnits, -1);
11995
rb_define_module_function(mCdiLib, "vlistInqVarUnits", _wrap_vlistInqVarUnits, -1);
11996
rb_define_module_function(mCdiLib, "vlistDefVarMissval", _wrap_vlistDefVarMissval, -1);
11997
rb_define_module_function(mCdiLib, "vlistInqVarMissval", _wrap_vlistInqVarMissval, -1);
11998
rb_define_module_function(mCdiLib, "vlistDefVarScalefactor", _wrap_vlistDefVarScalefactor, -1);
11999
rb_define_module_function(mCdiLib, "vlistInqVarScalefactor", _wrap_vlistInqVarScalefactor, -1);
12000
rb_define_module_function(mCdiLib, "vlistDefVarAddoffset", _wrap_vlistDefVarAddoffset, -1);
12001
rb_define_module_function(mCdiLib, "vlistInqVarAddoffset", _wrap_vlistInqVarAddoffset, -1);
12002
rb_define_module_function(mCdiLib, "vlistDefVarTimave", _wrap_vlistDefVarTimave, -1);
12003
rb_define_module_function(mCdiLib, "vlistInqVarTimave", _wrap_vlistInqVarTimave, -1);
12004
rb_define_module_function(mCdiLib, "vlistDefVarTimaccu", _wrap_vlistDefVarTimaccu, -1);
12005
rb_define_module_function(mCdiLib, "vlistInqVarTimaccu", _wrap_vlistInqVarTimaccu, -1);
12006
rb_define_module_function(mCdiLib, "vlistInqVarSize", _wrap_vlistInqVarSize, -1);
12007
rb_define_module_function(mCdiLib, "vlistInqVarID", _wrap_vlistInqVarID, -1);
12008
rb_define_module_function(mCdiLib, "vlistDefIndex", _wrap_vlistDefIndex, -1);
12009
rb_define_module_function(mCdiLib, "vlistInqIndex", _wrap_vlistInqIndex, -1);
12010
rb_define_module_function(mCdiLib, "vlistDefFlag", _wrap_vlistDefFlag, -1);
12011
rb_define_module_function(mCdiLib, "vlistInqFlag", _wrap_vlistInqFlag, -1);
12012
rb_define_module_function(mCdiLib, "vlistFindVar", _wrap_vlistFindVar, -1);
12013
rb_define_module_function(mCdiLib, "vlistFindLevel", _wrap_vlistFindLevel, -1);
12014
rb_define_module_function(mCdiLib, "vlistMergedVar", _wrap_vlistMergedVar, -1);
12015
rb_define_module_function(mCdiLib, "vlistMergedLevel", _wrap_vlistMergedLevel, -1);
12016
rb_define_module_function(mCdiLib, "vlistInqNatts", _wrap_vlistInqNatts, -1);
12017
rb_define_module_function(mCdiLib, "vlistInqAtt", _wrap_vlistInqAtt, -1);
12018
rb_define_module_function(mCdiLib, "vlistDelAtt", _wrap_vlistDelAtt, -1);
12019
rb_define_module_function(mCdiLib, "vlistDefAttInt", _wrap_vlistDefAttInt, -1);
12020
rb_define_module_function(mCdiLib, "vlistDefAttFlt", _wrap_vlistDefAttFlt, -1);
12021
rb_define_module_function(mCdiLib, "vlistDefAttTxt", _wrap_vlistDefAttTxt, -1);
12022
rb_define_module_function(mCdiLib, "vlistInqAttInt", _wrap_vlistInqAttInt, -1);
12023
rb_define_module_function(mCdiLib, "vlistInqAttFlt", _wrap_vlistInqAttFlt, -1);
12024
rb_define_module_function(mCdiLib, "vlistInqAttTxt", _wrap_vlistInqAttTxt, -1);
12025
rb_define_module_function(mCdiLib, "gridName", _wrap_gridName, -1);
12026
rb_define_module_function(mCdiLib, "gridNamePtr", _wrap_gridNamePtr, -1);
12027
rb_define_module_function(mCdiLib, "gridCompress", _wrap_gridCompress, -1);
12028
rb_define_module_function(mCdiLib, "gridDefMask", _wrap_gridDefMask, -1);
12029
rb_define_module_function(mCdiLib, "gridInqMask", _wrap_gridInqMask, -1);
12030
rb_define_module_function(mCdiLib, "gridPrint", _wrap_gridPrint, -1);
12031
rb_define_module_function(mCdiLib, "gridSize", _wrap_gridSize, -1);
12032
rb_define_module_function(mCdiLib, "gridCreate", _wrap_gridCreate, -1);
12033
rb_define_module_function(mCdiLib, "gridDestroy", _wrap_gridDestroy, -1);
12034
rb_define_module_function(mCdiLib, "gridDuplicate", _wrap_gridDuplicate, -1);
12035
rb_define_module_function(mCdiLib, "gridInqType", _wrap_gridInqType, -1);
12036
rb_define_module_function(mCdiLib, "gridInqSize", _wrap_gridInqSize, -1);
12037
rb_define_module_function(mCdiLib, "gridDefXsize", _wrap_gridDefXsize, -1);
12038
rb_define_module_function(mCdiLib, "gridInqXsize", _wrap_gridInqXsize, -1);
12039
rb_define_module_function(mCdiLib, "gridDefYsize", _wrap_gridDefYsize, -1);
12040
rb_define_module_function(mCdiLib, "gridInqYsize", _wrap_gridInqYsize, -1);
12041
rb_define_module_function(mCdiLib, "gridDefXvals", _wrap_gridDefXvals, -1);
12042
rb_define_module_function(mCdiLib, "gridInqXvals", _wrap_gridInqXvals, -1);
12043
rb_define_module_function(mCdiLib, "gridDefYvals", _wrap_gridDefYvals, -1);
12044
rb_define_module_function(mCdiLib, "gridInqYvals", _wrap_gridInqYvals, -1);
12045
rb_define_module_function(mCdiLib, "gridDefXname", _wrap_gridDefXname, -1);
12046
rb_define_module_function(mCdiLib, "gridDefXlongname", _wrap_gridDefXlongname, -1);
12047
rb_define_module_function(mCdiLib, "gridDefXunits", _wrap_gridDefXunits, -1);
12048
rb_define_module_function(mCdiLib, "gridDefYname", _wrap_gridDefYname, -1);
12049
rb_define_module_function(mCdiLib, "gridDefYlongname", _wrap_gridDefYlongname, -1);
12050
rb_define_module_function(mCdiLib, "gridDefYunits", _wrap_gridDefYunits, -1);
12051
rb_define_module_function(mCdiLib, "gridInqXname", _wrap_gridInqXname, -1);
12052
rb_define_module_function(mCdiLib, "gridInqXlongname", _wrap_gridInqXlongname, -1);
12053
rb_define_module_function(mCdiLib, "gridInqXstdname", _wrap_gridInqXstdname, -1);
12054
rb_define_module_function(mCdiLib, "gridInqXunits", _wrap_gridInqXunits, -1);
12055
rb_define_module_function(mCdiLib, "gridInqYname", _wrap_gridInqYname, -1);
12056
rb_define_module_function(mCdiLib, "gridInqYlongname", _wrap_gridInqYlongname, -1);
12057
rb_define_module_function(mCdiLib, "gridInqYstdname", _wrap_gridInqYstdname, -1);
12058
rb_define_module_function(mCdiLib, "gridInqYunits", _wrap_gridInqYunits, -1);
12059
rb_define_module_function(mCdiLib, "gridDefPrec", _wrap_gridDefPrec, -1);
12060
rb_define_module_function(mCdiLib, "gridInqPrec", _wrap_gridInqPrec, -1);
12061
rb_define_module_function(mCdiLib, "gridInqXval", _wrap_gridInqXval, -1);
12062
rb_define_module_function(mCdiLib, "gridInqYval", _wrap_gridInqYval, -1);
12063
rb_define_module_function(mCdiLib, "gridInqXinc", _wrap_gridInqXinc, -1);
12064
rb_define_module_function(mCdiLib, "gridInqYinc", _wrap_gridInqYinc, -1);
12065
rb_define_module_function(mCdiLib, "gridIsCircular", _wrap_gridIsCircular, -1);
12066
rb_define_module_function(mCdiLib, "gridIsRotated", _wrap_gridIsRotated, -1);
12067
rb_define_module_function(mCdiLib, "gridInqXpole", _wrap_gridInqXpole, -1);
12068
rb_define_module_function(mCdiLib, "gridDefXpole", _wrap_gridDefXpole, -1);
12069
rb_define_module_function(mCdiLib, "gridInqYpole", _wrap_gridInqYpole, -1);
12070
rb_define_module_function(mCdiLib, "gridDefYpole", _wrap_gridDefYpole, -1);
12071
rb_define_module_function(mCdiLib, "gridInqAngle", _wrap_gridInqAngle, -1);
12072
rb_define_module_function(mCdiLib, "gridDefAngle", _wrap_gridDefAngle, -1);
12073
rb_define_module_function(mCdiLib, "gridDefTrunc", _wrap_gridDefTrunc, -1);
12074
rb_define_module_function(mCdiLib, "gridInqTrunc", _wrap_gridInqTrunc, -1);
12075
rb_define_module_function(mCdiLib, "gridInqGMEnd", _wrap_gridInqGMEnd, -1);
12076
rb_define_module_function(mCdiLib, "gridDefGMEnd", _wrap_gridDefGMEnd, -1);
12077
rb_define_module_function(mCdiLib, "gridInqGMEni", _wrap_gridInqGMEni, -1);
12078
rb_define_module_function(mCdiLib, "gridDefGMEni", _wrap_gridDefGMEni, -1);
12079
rb_define_module_function(mCdiLib, "gridInqGMEni2", _wrap_gridInqGMEni2, -1);
12080
rb_define_module_function(mCdiLib, "gridDefGMEni2", _wrap_gridDefGMEni2, -1);
12081
rb_define_module_function(mCdiLib, "gridInqGMEni3", _wrap_gridInqGMEni3, -1);
12082
rb_define_module_function(mCdiLib, "gridDefGMEni3", _wrap_gridDefGMEni3, -1);
12083
rb_define_module_function(mCdiLib, "gridDefLCC", _wrap_gridDefLCC, -1);
12084
rb_define_module_function(mCdiLib, "gridInqLCC", _wrap_gridInqLCC, -1);
12085
rb_define_module_function(mCdiLib, "gridDefLcc2", _wrap_gridDefLcc2, -1);
12086
rb_define_module_function(mCdiLib, "gridInqLcc2", _wrap_gridInqLcc2, -1);
12087
rb_define_module_function(mCdiLib, "gridDefLaea", _wrap_gridDefLaea, -1);
12088
rb_define_module_function(mCdiLib, "gridInqLaea", _wrap_gridInqLaea, -1);
12089
rb_define_module_function(mCdiLib, "gridDefArea", _wrap_gridDefArea, -1);
12090
rb_define_module_function(mCdiLib, "gridInqArea", _wrap_gridInqArea, -1);
12091
rb_define_module_function(mCdiLib, "gridHasArea", _wrap_gridHasArea, -1);
12092
rb_define_module_function(mCdiLib, "gridDefNvertex", _wrap_gridDefNvertex, -1);
12093
rb_define_module_function(mCdiLib, "gridInqNvertex", _wrap_gridInqNvertex, -1);
12094
rb_define_module_function(mCdiLib, "gridDefXbounds", _wrap_gridDefXbounds, -1);
12095
rb_define_module_function(mCdiLib, "gridInqXbounds", _wrap_gridInqXbounds, -1);
12096
rb_define_module_function(mCdiLib, "gridDefYbounds", _wrap_gridDefYbounds, -1);
12097
rb_define_module_function(mCdiLib, "gridInqYbounds", _wrap_gridInqYbounds, -1);
12098
rb_define_module_function(mCdiLib, "gridDefRowlon", _wrap_gridDefRowlon, -1);
12099
rb_define_module_function(mCdiLib, "gridInqRowlon", _wrap_gridInqRowlon, -1);
12100
rb_define_module_function(mCdiLib, "gridChangeType", _wrap_gridChangeType, -1);
12101
rb_define_module_function(mCdiLib, "zaxisName", _wrap_zaxisName, -1);
12102
rb_define_module_function(mCdiLib, "zaxisCreate", _wrap_zaxisCreate, -1);
12103
rb_define_module_function(mCdiLib, "zaxisDestroy", _wrap_zaxisDestroy, -1);
12104
rb_define_module_function(mCdiLib, "zaxisInqType", _wrap_zaxisInqType, -1);
12105
rb_define_module_function(mCdiLib, "zaxisInqSize", _wrap_zaxisInqSize, -1);
12106
rb_define_module_function(mCdiLib, "zaxisDuplicate", _wrap_zaxisDuplicate, -1);
12107
rb_define_module_function(mCdiLib, "zaxisResize", _wrap_zaxisResize, -1);
12108
rb_define_module_function(mCdiLib, "zaxisPrint", _wrap_zaxisPrint, -1);
12109
rb_define_module_function(mCdiLib, "zaxisSize", _wrap_zaxisSize, -1);
12110
rb_define_module_function(mCdiLib, "zaxisDefLevels", _wrap_zaxisDefLevels, -1);
12111
rb_define_module_function(mCdiLib, "zaxisInqLevels", _wrap_zaxisInqLevels, -1);
12112
rb_define_module_function(mCdiLib, "zaxisDefLevel", _wrap_zaxisDefLevel, -1);
12113
rb_define_module_function(mCdiLib, "zaxisInqLevel", _wrap_zaxisInqLevel, -1);
12114
rb_define_module_function(mCdiLib, "zaxisDefName", _wrap_zaxisDefName, -1);
12115
rb_define_module_function(mCdiLib, "zaxisDefLongname", _wrap_zaxisDefLongname, -1);
12116
rb_define_module_function(mCdiLib, "zaxisDefUnits", _wrap_zaxisDefUnits, -1);
12117
rb_define_module_function(mCdiLib, "zaxisInqName", _wrap_zaxisInqName, -1);
12118
rb_define_module_function(mCdiLib, "zaxisInqLongname", _wrap_zaxisInqLongname, -1);
12119
rb_define_module_function(mCdiLib, "zaxisInqUnits", _wrap_zaxisInqUnits, -1);
12120
rb_define_module_function(mCdiLib, "zaxisDefPrec", _wrap_zaxisDefPrec, -1);
12121
rb_define_module_function(mCdiLib, "zaxisInqPrec", _wrap_zaxisInqPrec, -1);
12122
rb_define_module_function(mCdiLib, "zaxisDefLtype", _wrap_zaxisDefLtype, -1);
12123
rb_define_module_function(mCdiLib, "zaxisInqLtype", _wrap_zaxisInqLtype, -1);
12124
rb_define_module_function(mCdiLib, "zaxisInqLevelsPtr", _wrap_zaxisInqLevelsPtr, -1);
12125
rb_define_module_function(mCdiLib, "zaxisDefVct", _wrap_zaxisDefVct, -1);
12126
rb_define_module_function(mCdiLib, "zaxisInqVctSize", _wrap_zaxisInqVctSize, -1);
12127
rb_define_module_function(mCdiLib, "zaxisInqVctPtr", _wrap_zaxisInqVctPtr, -1);
12128
rb_define_module_function(mCdiLib, "zaxisInqLbounds", _wrap_zaxisInqLbounds, -1);
12129
rb_define_module_function(mCdiLib, "zaxisInqUbounds", _wrap_zaxisInqUbounds, -1);
12130
rb_define_module_function(mCdiLib, "zaxisInqWeights", _wrap_zaxisInqWeights, -1);
12131
rb_define_module_function(mCdiLib, "zaxisInqLbound", _wrap_zaxisInqLbound, -1);
12132
rb_define_module_function(mCdiLib, "zaxisInqUbound", _wrap_zaxisInqUbound, -1);
12133
rb_define_module_function(mCdiLib, "zaxisDefLbounds", _wrap_zaxisDefLbounds, -1);
12134
rb_define_module_function(mCdiLib, "zaxisDefUbounds", _wrap_zaxisDefUbounds, -1);
12135
rb_define_module_function(mCdiLib, "zaxisDefWeights", _wrap_zaxisDefWeights, -1);
12136
rb_define_module_function(mCdiLib, "zaxisChangeType", _wrap_zaxisChangeType, -1);
12137
rb_define_module_function(mCdiLib, "taxisCreate", _wrap_taxisCreate, -1);
12138
rb_define_module_function(mCdiLib, "taxisDestroy", _wrap_taxisDestroy, -1);
12139
rb_define_module_function(mCdiLib, "taxisDuplicate", _wrap_taxisDuplicate, -1);
12140
rb_define_module_function(mCdiLib, "taxisCopyTimestep", _wrap_taxisCopyTimestep, -1);
12141
rb_define_module_function(mCdiLib, "taxisDefType", _wrap_taxisDefType, -1);
12142
rb_define_module_function(mCdiLib, "taxisDefVdate", _wrap_taxisDefVdate, -1);
12143
rb_define_module_function(mCdiLib, "taxisDefVtime", _wrap_taxisDefVtime, -1);
12144
rb_define_module_function(mCdiLib, "taxisDefRdate", _wrap_taxisDefRdate, -1);
12145
rb_define_module_function(mCdiLib, "taxisDefRtime", _wrap_taxisDefRtime, -1);
12146
rb_define_module_function(mCdiLib, "taxisHasBounds", _wrap_taxisHasBounds, -1);
12147
rb_define_module_function(mCdiLib, "taxisDefVdateBounds", _wrap_taxisDefVdateBounds, -1);
12148
rb_define_module_function(mCdiLib, "taxisDefVtimeBounds", _wrap_taxisDefVtimeBounds, -1);
12149
rb_define_module_function(mCdiLib, "taxisInqVdateBounds", _wrap_taxisInqVdateBounds, -1);
12150
rb_define_module_function(mCdiLib, "taxisInqVtimeBounds", _wrap_taxisInqVtimeBounds, -1);
12151
rb_define_module_function(mCdiLib, "taxisDefCalendar", _wrap_taxisDefCalendar, -1);
12152
rb_define_module_function(mCdiLib, "taxisDefTunit", _wrap_taxisDefTunit, -1);
12153
rb_define_module_function(mCdiLib, "taxisDefNumavg", _wrap_taxisDefNumavg, -1);
12154
rb_define_module_function(mCdiLib, "taxisInqType", _wrap_taxisInqType, -1);
12155
rb_define_module_function(mCdiLib, "taxisInqVdate", _wrap_taxisInqVdate, -1);
12156
rb_define_module_function(mCdiLib, "taxisInqVtime", _wrap_taxisInqVtime, -1);
12157
rb_define_module_function(mCdiLib, "taxisInqRdate", _wrap_taxisInqRdate, -1);
12158
rb_define_module_function(mCdiLib, "taxisInqRtime", _wrap_taxisInqRtime, -1);
12159
rb_define_module_function(mCdiLib, "taxisInqCalendar", _wrap_taxisInqCalendar, -1);
12160
rb_define_module_function(mCdiLib, "taxisInqTunit", _wrap_taxisInqTunit, -1);
12161
rb_define_module_function(mCdiLib, "taxisInqNumavg", _wrap_taxisInqNumavg, -1);
12162
rb_define_module_function(mCdiLib, "tunitNamePtr", _wrap_tunitNamePtr, -1);
12163
rb_define_module_function(mCdiLib, "institutDef", _wrap_institutDef, -1);
12164
rb_define_module_function(mCdiLib, "institutInq", _wrap_institutInq, -1);
12165
rb_define_module_function(mCdiLib, "institutInqNumber", _wrap_institutInqNumber, -1);
12166
rb_define_module_function(mCdiLib, "institutInqCenter", _wrap_institutInqCenter, -1);
12167
rb_define_module_function(mCdiLib, "institutInqSubcenter", _wrap_institutInqSubcenter, -1);
12168
rb_define_module_function(mCdiLib, "institutInqNamePtr", _wrap_institutInqNamePtr, -1);
12169
rb_define_module_function(mCdiLib, "institutInqLongnamePtr", _wrap_institutInqLongnamePtr, -1);
12170
rb_define_module_function(mCdiLib, "modelDef", _wrap_modelDef, -1);
12171
rb_define_module_function(mCdiLib, "modelInq", _wrap_modelInq, -1);
12172
rb_define_module_function(mCdiLib, "modelInqInstitut", _wrap_modelInqInstitut, -1);
12173
rb_define_module_function(mCdiLib, "modelInqGribID", _wrap_modelInqGribID, -1);
12174
rb_define_module_function(mCdiLib, "modelInqNamePtr", _wrap_modelInqNamePtr, -1);
12175
rb_define_module_function(mCdiLib, "tableWriteC", _wrap_tableWriteC, -1);
12176
rb_define_module_function(mCdiLib, "tableWrite", _wrap_tableWrite, -1);
12177
rb_define_module_function(mCdiLib, "tableRead", _wrap_tableRead, -1);
12178
rb_define_module_function(mCdiLib, "tableDef", _wrap_tableDef, -1);
12179
rb_define_module_function(mCdiLib, "tableInqNamePtr", _wrap_tableInqNamePtr, -1);
12180
rb_define_module_function(mCdiLib, "tableDefEntry", _wrap_tableDefEntry, -1);
12181
rb_define_module_function(mCdiLib, "tableInq", _wrap_tableInq, -1);
12182
rb_define_module_function(mCdiLib, "tableInqNumber", _wrap_tableInqNumber, -1);
12183
rb_define_module_function(mCdiLib, "tableInqNum", _wrap_tableInqNum, -1);
12184
rb_define_module_function(mCdiLib, "tableInqModel", _wrap_tableInqModel, -1);
12185
rb_define_module_function(mCdiLib, "tableInqPar", _wrap_tableInqPar, -1);
12186
rb_define_module_function(mCdiLib, "tableInqParCode", _wrap_tableInqParCode, -1);
12187
rb_define_module_function(mCdiLib, "tableInqParName", _wrap_tableInqParName, -1);
12188
rb_define_module_function(mCdiLib, "tableInqParLongname", _wrap_tableInqParLongname, -1);
12189
rb_define_module_function(mCdiLib, "tableInqParUnits", _wrap_tableInqParUnits, -1);
12190
rb_define_module_function(mCdiLib, "tableInqParNamePtr", _wrap_tableInqParNamePtr, -1);
12191
rb_define_module_function(mCdiLib, "tableInqParLongnamePtr", _wrap_tableInqParLongnamePtr, -1);
12192
rb_define_module_function(mCdiLib, "tableInqParUnitsPtr", _wrap_tableInqParUnitsPtr, -1);
12193
rb_define_module_function(mCdiLib, "streamDefHistory", _wrap_streamDefHistory, -1);
12194
rb_define_module_function(mCdiLib, "streamInqHistorySize", _wrap_streamInqHistorySize, -1);
12195
rb_define_module_function(mCdiLib, "streamInqHistoryString", _wrap_streamInqHistoryString, -1);