rbcdio 0.03 → 0.04
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYING +623 -289
- data/ChangeLog +342 -219
- data/INSTALL +35 -26
- data/Makefile.am +2 -3
- data/Makefile.in +61 -45
- data/NEWS +7 -3
- data/README +8 -9
- data/THANKS +1 -0
- data/VERSION +1 -1
- data/config.guess +21 -11
- data/config.sub +38 -6
- data/configure +1195 -1031
- data/configure.ac +1 -1
- data/example/README +5 -3
- data/example/audio.rb +0 -0
- data/example/cd-read.rb +0 -0
- data/example/cdchange.rb +0 -0
- data/example/cdtext.rb +70 -0
- data/example/device.rb +0 -0
- data/example/drives.rb +30 -32
- data/example/eject.rb +0 -0
- data/example/iso1.rb +0 -0
- data/example/iso2.rb +0 -0
- data/example/iso3.rb +0 -0
- data/example/tracks.rb +0 -0
- data/ext/cdio/Makefile +92 -56
- data/ext/cdio/rubycdio_wrap.c +387 -101
- data/ext/iso9660/Makefile +93 -57
- data/ext/iso9660/rubyiso9660_wrap.c +127 -70
- data/install-sh +355 -159
- data/lib/cdio.rb +877 -843
- data/missing +34 -27
- data/swig/Makefile +1 -1
- data/swig/cdtext.swg +67 -0
- data/swig/device.swg +3 -3
- data/swig/disc.swg +2 -2
- data/swig/rubycdio.swg +3 -1
- data/swig/track.swg +9 -4
- data/test/cdiotest.rb +214 -216
- data/test/cdtext.rb +44 -0
- data/test/isocopy.rb +8 -9
- data/test/isotest.rb +126 -107
- metadata +21 -29
- data/doc/created.rid +0 -1
- data/doc/fr_class_index.html +0 -42
- data/doc/fr_file_index.html +0 -41
- data/doc/fr_method_index.html +0 -133
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/example/COPYING +0 -340
- data/example/copying +0 -340
- data/example/drivers.rb +0 -60
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version 1.3.
|
3
|
+
* Version 1.3.36
|
4
4
|
*
|
5
5
|
* This file is not intended to be easily readable and contains a number of
|
6
6
|
* coding conventions designed to improve portability and efficiency. Do not make
|
@@ -51,6 +51,12 @@
|
|
51
51
|
# endif
|
52
52
|
#endif
|
53
53
|
|
54
|
+
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
55
|
+
# if defined(_MSC_VER)
|
56
|
+
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
57
|
+
# endif
|
58
|
+
#endif
|
59
|
+
|
54
60
|
#ifndef SWIGUNUSEDPARM
|
55
61
|
# ifdef __cplusplus
|
56
62
|
# define SWIGUNUSEDPARM(p)
|
@@ -154,6 +160,12 @@
|
|
154
160
|
# endif
|
155
161
|
#endif
|
156
162
|
|
163
|
+
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
164
|
+
# if defined(_MSC_VER)
|
165
|
+
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
166
|
+
# endif
|
167
|
+
#endif
|
168
|
+
|
157
169
|
#ifndef SWIGUNUSEDPARM
|
158
170
|
# ifdef __cplusplus
|
159
171
|
# define SWIGUNUSEDPARM(p)
|
@@ -224,7 +236,7 @@
|
|
224
236
|
|
225
237
|
/* This should only be incremented when either the layout of swig_type_info changes,
|
226
238
|
or for whatever reason, the runtime changes incompatibly */
|
227
|
-
#define SWIG_RUNTIME_VERSION "
|
239
|
+
#define SWIG_RUNTIME_VERSION "4"
|
228
240
|
|
229
241
|
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
|
230
242
|
#ifdef SWIG_TYPE_TABLE
|
@@ -259,6 +271,7 @@
|
|
259
271
|
|
260
272
|
/* Flags for pointer conversions */
|
261
273
|
#define SWIG_POINTER_DISOWN 0x1
|
274
|
+
#define SWIG_CAST_NEW_MEMORY 0x2
|
262
275
|
|
263
276
|
/* Flags for new pointer objects */
|
264
277
|
#define SWIG_POINTER_OWN 0x1
|
@@ -399,10 +412,10 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
|
399
412
|
extern "C" {
|
400
413
|
#endif
|
401
414
|
|
402
|
-
typedef void *(*swig_converter_func)(void *);
|
415
|
+
typedef void *(*swig_converter_func)(void *, int *);
|
403
416
|
typedef struct swig_type_info *(*swig_dycast_func)(void **);
|
404
417
|
|
405
|
-
/* Structure to store
|
418
|
+
/* Structure to store information on one type */
|
406
419
|
typedef struct swig_type_info {
|
407
420
|
const char *name; /* mangled name of this type */
|
408
421
|
const char *str; /* human readable name of this type */
|
@@ -529,8 +542,8 @@ SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
|
|
529
542
|
Cast a pointer up an inheritance hierarchy
|
530
543
|
*/
|
531
544
|
SWIGRUNTIMEINLINE void *
|
532
|
-
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
|
533
|
-
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
|
545
|
+
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
|
546
|
+
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
|
534
547
|
}
|
535
548
|
|
536
549
|
/*
|
@@ -840,12 +853,44 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
840
853
|
#ifndef RSTRING_PTR
|
841
854
|
# define RSTRING_PTR(x) RSTRING(x)->ptr
|
842
855
|
#endif
|
856
|
+
#ifndef RSTRING_END
|
857
|
+
# define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
|
858
|
+
#endif
|
843
859
|
#ifndef RARRAY_LEN
|
844
860
|
# define RARRAY_LEN(x) RARRAY(x)->len
|
845
861
|
#endif
|
846
862
|
#ifndef RARRAY_PTR
|
847
863
|
# define RARRAY_PTR(x) RARRAY(x)->ptr
|
848
864
|
#endif
|
865
|
+
#ifndef RFLOAT_VALUE
|
866
|
+
# define RFLOAT_VALUE(x) RFLOAT(x)->value
|
867
|
+
#endif
|
868
|
+
#ifndef DOUBLE2NUM
|
869
|
+
# define DOUBLE2NUM(x) rb_float_new(x)
|
870
|
+
#endif
|
871
|
+
#ifndef RHASH_TBL
|
872
|
+
# define RHASH_TBL(x) (RHASH(x)->tbl)
|
873
|
+
#endif
|
874
|
+
#ifndef RHASH_ITER_LEV
|
875
|
+
# define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
|
876
|
+
#endif
|
877
|
+
#ifndef RHASH_IFNONE
|
878
|
+
# define RHASH_IFNONE(x) (RHASH(x)->ifnone)
|
879
|
+
#endif
|
880
|
+
#ifndef RHASH_SIZE
|
881
|
+
# define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
|
882
|
+
#endif
|
883
|
+
#ifndef RHASH_EMPTY_P
|
884
|
+
# define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
|
885
|
+
#endif
|
886
|
+
#ifndef RSTRUCT_LEN
|
887
|
+
# define RSTRUCT_LEN(x) RSTRUCT(x)->len
|
888
|
+
#endif
|
889
|
+
#ifndef RSTRUCT_PTR
|
890
|
+
# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
|
891
|
+
#endif
|
892
|
+
|
893
|
+
|
849
894
|
|
850
895
|
/*
|
851
896
|
* Need to be very careful about how these macros are defined, especially
|
@@ -1321,6 +1366,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
|
1321
1366
|
#define SWIG_MangleStr(value) SWIG_Ruby_MangleStr(value)
|
1322
1367
|
#define SWIG_CheckConvert(value, ty) SWIG_Ruby_CheckConvert(value, ty)
|
1323
1368
|
|
1369
|
+
#include "assert.h"
|
1324
1370
|
|
1325
1371
|
/* -----------------------------------------------------------------------------
|
1326
1372
|
* pointers/data manipulation
|
@@ -1582,8 +1628,11 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
|
|
1582
1628
|
tc = SWIG_TypeCheck(c, ty);
|
1583
1629
|
if (!tc) {
|
1584
1630
|
return SWIG_ERROR;
|
1631
|
+
} else {
|
1632
|
+
int newmemory = 0;
|
1633
|
+
*ptr = SWIG_TypeCast(tc, vptr, &newmemory);
|
1634
|
+
assert(!newmemory); /* newmemory handling not yet implemented */
|
1585
1635
|
}
|
1586
|
-
*ptr = SWIG_TypeCast(tc, vptr);
|
1587
1636
|
} else {
|
1588
1637
|
*ptr = vptr;
|
1589
1638
|
}
|
@@ -1743,7 +1792,7 @@ static VALUE mRubyiso9660;
|
|
1743
1792
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1744
1793
|
|
1745
1794
|
|
1746
|
-
#define SWIGVERSION
|
1795
|
+
#define SWIGVERSION 0x010336
|
1747
1796
|
#define SWIG_VERSION SWIGVERSION
|
1748
1797
|
|
1749
1798
|
|
@@ -2332,7 +2381,6 @@ _wrap_cdio_read_sectors(int argc, VALUE *argv, VALUE self) {
|
|
2332
2381
|
lsn_t arg3 ;
|
2333
2382
|
cdio_read_mode_t arg4 ;
|
2334
2383
|
unsigned int arg5 ;
|
2335
|
-
driver_return_code_t result;
|
2336
2384
|
void *argp1 = 0 ;
|
2337
2385
|
int res1 = 0 ;
|
2338
2386
|
int res2 ;
|
@@ -2342,6 +2390,7 @@ _wrap_cdio_read_sectors(int argc, VALUE *argv, VALUE self) {
|
|
2342
2390
|
int ecode4 = 0 ;
|
2343
2391
|
unsigned int val5 ;
|
2344
2392
|
int ecode5 = 0 ;
|
2393
|
+
driver_return_code_t result;
|
2345
2394
|
VALUE vresult = Qnil;
|
2346
2395
|
|
2347
2396
|
if ((argc < 5) || (argc > 5)) {
|
@@ -2382,10 +2431,10 @@ fail:
|
|
2382
2431
|
SWIGINTERN VALUE
|
2383
2432
|
_wrap_cdio_eject_media_drive(int argc, VALUE *argv, VALUE self) {
|
2384
2433
|
char *arg1 = (char *) 0 ;
|
2385
|
-
driver_return_code_t result;
|
2386
2434
|
int res1 ;
|
2387
2435
|
char *buf1 = 0 ;
|
2388
2436
|
int alloc1 = 0 ;
|
2437
|
+
driver_return_code_t result;
|
2389
2438
|
VALUE vresult = Qnil;
|
2390
2439
|
|
2391
2440
|
if ((argc < 1) || (argc > 1)) {
|
@@ -2421,10 +2470,10 @@ open_iso(path)
|
|
2421
2470
|
SWIGINTERN VALUE
|
2422
2471
|
_wrap_open_iso(int argc, VALUE *argv, VALUE self) {
|
2423
2472
|
char *arg1 = (char *) 0 ;
|
2424
|
-
iso9660_t *result = 0 ;
|
2425
2473
|
int res1 ;
|
2426
2474
|
char *buf1 = 0 ;
|
2427
2475
|
int alloc1 = 0 ;
|
2476
|
+
iso9660_t *result = 0 ;
|
2428
2477
|
VALUE vresult = Qnil;
|
2429
2478
|
|
2430
2479
|
if ((argc < 1) || (argc > 1)) {
|
@@ -2460,12 +2509,12 @@ SWIGINTERN VALUE
|
|
2460
2509
|
_wrap_open_ext(int argc, VALUE *argv, VALUE self) {
|
2461
2510
|
char *arg1 = (char *) 0 ;
|
2462
2511
|
iso_extension_mask_t arg2 ;
|
2463
|
-
iso9660_t *result = 0 ;
|
2464
2512
|
int res1 ;
|
2465
2513
|
char *buf1 = 0 ;
|
2466
2514
|
int alloc1 = 0 ;
|
2467
2515
|
unsigned int val2 ;
|
2468
2516
|
int ecode2 = 0 ;
|
2517
|
+
iso9660_t *result = 0 ;
|
2469
2518
|
VALUE vresult = Qnil;
|
2470
2519
|
|
2471
2520
|
if ((argc < 2) || (argc > 2)) {
|
@@ -2510,12 +2559,12 @@ SWIGINTERN VALUE
|
|
2510
2559
|
_wrap_open_fuzzy(int argc, VALUE *argv, VALUE self) {
|
2511
2560
|
char *arg1 = (char *) 0 ;
|
2512
2561
|
unsigned int arg2 ;
|
2513
|
-
iso9660_t *result = 0 ;
|
2514
2562
|
int res1 ;
|
2515
2563
|
char *buf1 = 0 ;
|
2516
2564
|
int alloc1 = 0 ;
|
2517
2565
|
unsigned int val2 ;
|
2518
2566
|
int ecode2 = 0 ;
|
2567
|
+
iso9660_t *result = 0 ;
|
2519
2568
|
VALUE vresult = Qnil;
|
2520
2569
|
|
2521
2570
|
if ((argc < 2) || (argc > 2)) {
|
@@ -2562,7 +2611,6 @@ _wrap_iso9660_open_fuzzy_ext(int argc, VALUE *argv, VALUE self) {
|
|
2562
2611
|
char *arg1 = (char *) 0 ;
|
2563
2612
|
iso_extension_mask_t arg2 ;
|
2564
2613
|
unsigned int arg3 ;
|
2565
|
-
iso9660_t *result = 0 ;
|
2566
2614
|
int res1 ;
|
2567
2615
|
char *buf1 = 0 ;
|
2568
2616
|
int alloc1 = 0 ;
|
@@ -2570,6 +2618,7 @@ _wrap_iso9660_open_fuzzy_ext(int argc, VALUE *argv, VALUE self) {
|
|
2570
2618
|
int ecode2 = 0 ;
|
2571
2619
|
unsigned int val3 ;
|
2572
2620
|
int ecode3 = 0 ;
|
2621
|
+
iso9660_t *result = 0 ;
|
2573
2622
|
VALUE vresult = Qnil;
|
2574
2623
|
|
2575
2624
|
if ((argc < 3) || (argc > 3)) {
|
@@ -2618,13 +2667,13 @@ _wrap_ifs_fuzzy_read_superblock(int argc, VALUE *argv, VALUE self) {
|
|
2618
2667
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
2619
2668
|
iso_extension_mask_t arg2 ;
|
2620
2669
|
unsigned int arg3 ;
|
2621
|
-
bool result;
|
2622
2670
|
void *argp1 = 0 ;
|
2623
2671
|
int res1 = 0 ;
|
2624
2672
|
unsigned int val2 ;
|
2625
2673
|
int ecode2 = 0 ;
|
2626
2674
|
unsigned int val3 ;
|
2627
2675
|
int ecode3 = 0 ;
|
2676
|
+
bool result;
|
2628
2677
|
VALUE vresult = Qnil;
|
2629
2678
|
|
2630
2679
|
if ((argc < 3) || (argc > 3)) {
|
@@ -2667,9 +2716,9 @@ be returned..
|
|
2667
2716
|
SWIGINTERN VALUE
|
2668
2717
|
_wrap_close(int argc, VALUE *argv, VALUE self) {
|
2669
2718
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
2670
|
-
bool result;
|
2671
2719
|
void *argp1 = 0 ;
|
2672
2720
|
int res1 = 0 ;
|
2721
|
+
bool result;
|
2673
2722
|
VALUE vresult = Qnil;
|
2674
2723
|
|
2675
2724
|
if ((argc < 1) || (argc > 1)) {
|
@@ -2764,9 +2813,9 @@ fail:
|
|
2764
2813
|
SWIGINTERN VALUE
|
2765
2814
|
_wrap_Buf_tuple_t_data_get(int argc, VALUE *argv, VALUE self) {
|
2766
2815
|
Buf_tuple_t *arg1 = (Buf_tuple_t *) 0 ;
|
2767
|
-
char *result = 0 ;
|
2768
2816
|
void *argp1 = 0 ;
|
2769
2817
|
int res1 = 0 ;
|
2818
|
+
char *result = 0 ;
|
2770
2819
|
VALUE vresult = Qnil;
|
2771
2820
|
|
2772
2821
|
if ((argc < 0) || (argc > 0)) {
|
@@ -2830,7 +2879,6 @@ _wrap_Buf_tuple_t_i_size_set(int argc, VALUE *argv, VALUE self) {
|
|
2830
2879
|
}
|
2831
2880
|
arg2 = (size_t)(val2);
|
2832
2881
|
if (arg1) (arg1)->i_size = arg2;
|
2833
|
-
|
2834
2882
|
return Qnil;
|
2835
2883
|
fail:
|
2836
2884
|
return Qnil;
|
@@ -2840,9 +2888,9 @@ fail:
|
|
2840
2888
|
SWIGINTERN VALUE
|
2841
2889
|
_wrap_Buf_tuple_t_i_size_get(int argc, VALUE *argv, VALUE self) {
|
2842
2890
|
Buf_tuple_t *arg1 = (Buf_tuple_t *) 0 ;
|
2843
|
-
size_t result;
|
2844
2891
|
void *argp1 = 0 ;
|
2845
2892
|
int res1 = 0 ;
|
2893
|
+
size_t result;
|
2846
2894
|
VALUE vresult = Qnil;
|
2847
2895
|
|
2848
2896
|
if ((argc < 0) || (argc > 0)) {
|
@@ -2894,8 +2942,8 @@ _wrap_new_Buf_tuple_t(int argc, VALUE *argv, VALUE self) {
|
|
2894
2942
|
if ((argc < 0) || (argc > 0)) {
|
2895
2943
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
2896
2944
|
}
|
2897
|
-
result = (Buf_tuple_t *)
|
2898
|
-
|
2945
|
+
result = (Buf_tuple_t *)calloc(1, sizeof(Buf_tuple_t));
|
2946
|
+
DATA_PTR(self) = result;
|
2899
2947
|
return self;
|
2900
2948
|
fail:
|
2901
2949
|
return Qnil;
|
@@ -2922,13 +2970,13 @@ _wrap_seek_read(int argc, VALUE *argv, VALUE self) {
|
|
2922
2970
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
2923
2971
|
lsn_t arg2 ;
|
2924
2972
|
ssize_t arg3 ;
|
2925
|
-
Buf_tuple_t result;
|
2926
2973
|
void *argp1 = 0 ;
|
2927
2974
|
int res1 = 0 ;
|
2928
2975
|
int val2 ;
|
2929
2976
|
int ecode2 = 0 ;
|
2930
2977
|
long val3 ;
|
2931
2978
|
int ecode3 = 0 ;
|
2979
|
+
Buf_tuple_t result;
|
2932
2980
|
VALUE vresult = Qnil;
|
2933
2981
|
|
2934
2982
|
if ((argc < 3) || (argc > 3)) {
|
@@ -2980,9 +3028,9 @@ None is returned if there was an error..
|
|
2980
3028
|
SWIGINTERN VALUE
|
2981
3029
|
_wrap_fs_read_pvd(int argc, VALUE *argv, VALUE self) {
|
2982
3030
|
CdIo_t *arg1 = (CdIo_t *) 0 ;
|
2983
|
-
iso9660_pvd_t *result = 0 ;
|
2984
3031
|
void *argp1 = 0 ;
|
2985
3032
|
int res1 = 0 ;
|
3033
|
+
iso9660_pvd_t *result = 0 ;
|
2986
3034
|
VALUE vresult = Qnil;
|
2987
3035
|
|
2988
3036
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3014,9 +3062,9 @@ None is returned if there was an error..
|
|
3014
3062
|
SWIGINTERN VALUE
|
3015
3063
|
_wrap_ifs_read_pvd(int argc, VALUE *argv, VALUE self) {
|
3016
3064
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
3017
|
-
iso9660_pvd_t *result = 0 ;
|
3018
3065
|
void *argp1 = 0 ;
|
3019
3066
|
int res1 = 0 ;
|
3067
|
+
iso9660_pvd_t *result = 0 ;
|
3020
3068
|
VALUE vresult = Qnil;
|
3021
3069
|
|
3022
3070
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3050,11 +3098,11 @@ SWIGINTERN VALUE
|
|
3050
3098
|
_wrap_fs_read_superblock(int argc, VALUE *argv, VALUE self) {
|
3051
3099
|
CdIo_t *arg1 = (CdIo_t *) 0 ;
|
3052
3100
|
iso_extension_mask_t arg2 ;
|
3053
|
-
bool result;
|
3054
3101
|
void *argp1 = 0 ;
|
3055
3102
|
int res1 = 0 ;
|
3056
3103
|
unsigned int val2 ;
|
3057
3104
|
int ecode2 = 0 ;
|
3105
|
+
bool result;
|
3058
3106
|
VALUE vresult = Qnil;
|
3059
3107
|
|
3060
3108
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3093,11 +3141,11 @@ SWIGINTERN VALUE
|
|
3093
3141
|
_wrap_ifs_read_superblock(int argc, VALUE *argv, VALUE self) {
|
3094
3142
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
3095
3143
|
iso_extension_mask_t arg2 ;
|
3096
|
-
bool result;
|
3097
3144
|
void *argp1 = 0 ;
|
3098
3145
|
int res1 = 0 ;
|
3099
3146
|
unsigned int val2 ;
|
3100
3147
|
int ecode2 = 0 ;
|
3148
|
+
bool result;
|
3101
3149
|
VALUE vresult = Qnil;
|
3102
3150
|
|
3103
3151
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3138,7 +3186,6 @@ _wrap_set_dtime(int argc, VALUE *argv, VALUE self) {
|
|
3138
3186
|
int arg4 ;
|
3139
3187
|
int arg5 ;
|
3140
3188
|
int arg6 ;
|
3141
|
-
iso9660_dtime_t *result = 0 ;
|
3142
3189
|
int val1 ;
|
3143
3190
|
int ecode1 = 0 ;
|
3144
3191
|
int val2 ;
|
@@ -3151,6 +3198,7 @@ _wrap_set_dtime(int argc, VALUE *argv, VALUE self) {
|
|
3151
3198
|
int ecode5 = 0 ;
|
3152
3199
|
int val6 ;
|
3153
3200
|
int ecode6 = 0 ;
|
3201
|
+
iso9660_dtime_t *result = 0 ;
|
3154
3202
|
VALUE vresult = Qnil;
|
3155
3203
|
|
3156
3204
|
if ((argc < 6) || (argc > 6)) {
|
@@ -3211,7 +3259,6 @@ _wrap_set_ltime(int argc, VALUE *argv, VALUE self) {
|
|
3211
3259
|
int arg4 ;
|
3212
3260
|
int arg5 ;
|
3213
3261
|
int arg6 ;
|
3214
|
-
iso9660_ltime_t *result = 0 ;
|
3215
3262
|
int val1 ;
|
3216
3263
|
int ecode1 = 0 ;
|
3217
3264
|
int val2 ;
|
@@ -3224,6 +3271,7 @@ _wrap_set_ltime(int argc, VALUE *argv, VALUE self) {
|
|
3224
3271
|
int ecode5 = 0 ;
|
3225
3272
|
int val6 ;
|
3226
3273
|
int ecode6 = 0 ;
|
3274
|
+
iso9660_ltime_t *result = 0 ;
|
3227
3275
|
VALUE vresult = Qnil;
|
3228
3276
|
|
3229
3277
|
if ((argc < 6) || (argc > 6)) {
|
@@ -3285,11 +3333,11 @@ SWIGINTERN VALUE
|
|
3285
3333
|
_wrap_get_dtime(int argc, VALUE *argv, VALUE self) {
|
3286
3334
|
iso9660_dtime_t *arg1 = (iso9660_dtime_t *) 0 ;
|
3287
3335
|
bool arg2 ;
|
3288
|
-
struct tm *result = 0 ;
|
3289
3336
|
void *argp1 = 0 ;
|
3290
3337
|
int res1 = 0 ;
|
3291
3338
|
bool val2 ;
|
3292
3339
|
int ecode2 = 0 ;
|
3340
|
+
struct tm *result = 0 ;
|
3293
3341
|
VALUE vresult = Qnil;
|
3294
3342
|
|
3295
3343
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3350,9 +3398,9 @@ Get 'long' time in format used in ISO 9660 primary volume descriptor
|
|
3350
3398
|
SWIGINTERN VALUE
|
3351
3399
|
_wrap_get_ltime(int argc, VALUE *argv, VALUE self) {
|
3352
3400
|
iso9660_ltime_t *arg1 = (iso9660_ltime_t *) 0 ;
|
3353
|
-
struct tm *result = 0 ;
|
3354
3401
|
void *argp1 = 0 ;
|
3355
3402
|
int res1 = 0 ;
|
3403
|
+
struct tm *result = 0 ;
|
3356
3404
|
VALUE vresult = Qnil;
|
3357
3405
|
|
3358
3406
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3409,9 +3457,9 @@ fail:
|
|
3409
3457
|
SWIGINTERN VALUE
|
3410
3458
|
_wrap_dcharq___(int argc, VALUE *argv, VALUE self) {
|
3411
3459
|
int arg1 ;
|
3412
|
-
bool result;
|
3413
3460
|
int val1 ;
|
3414
3461
|
int ecode1 = 0 ;
|
3462
|
+
bool result;
|
3415
3463
|
VALUE vresult = Qnil;
|
3416
3464
|
|
3417
3465
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3444,9 +3492,9 @@ Return true if c is an ACHAR -
|
|
3444
3492
|
SWIGINTERN VALUE
|
3445
3493
|
_wrap_acharq___(int argc, VALUE *argv, VALUE self) {
|
3446
3494
|
int arg1 ;
|
3447
|
-
bool result;
|
3448
3495
|
int val1 ;
|
3449
3496
|
int ecode1 = 0 ;
|
3497
|
+
bool result;
|
3450
3498
|
VALUE vresult = Qnil;
|
3451
3499
|
|
3452
3500
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3485,10 +3533,10 @@ Convert an ISO-9660 file name that stored in a directory entry into
|
|
3485
3533
|
SWIGINTERN VALUE
|
3486
3534
|
_wrap_name_translate(int argc, VALUE *argv, VALUE self) {
|
3487
3535
|
char *arg1 = (char *) 0 ;
|
3488
|
-
char *result = 0 ;
|
3489
3536
|
int res1 ;
|
3490
3537
|
char *buf1 = 0 ;
|
3491
3538
|
int alloc1 = 0 ;
|
3539
|
+
char *result = 0 ;
|
3492
3540
|
VALUE vresult = Qnil;
|
3493
3541
|
|
3494
3542
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3534,12 +3582,12 @@ SWIGINTERN VALUE
|
|
3534
3582
|
_wrap_name_translate_ext(int argc, VALUE *argv, VALUE self) {
|
3535
3583
|
char *arg1 = (char *) 0 ;
|
3536
3584
|
unsigned char arg2 ;
|
3537
|
-
char *result = 0 ;
|
3538
3585
|
int res1 ;
|
3539
3586
|
char *buf1 = 0 ;
|
3540
3587
|
int alloc1 = 0 ;
|
3541
3588
|
unsigned char val2 ;
|
3542
3589
|
int ecode2 = 0 ;
|
3590
|
+
char *result = 0 ;
|
3543
3591
|
VALUE vresult = Qnil;
|
3544
3592
|
|
3545
3593
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3588,7 +3636,6 @@ _wrap_strncpy_pad(int argc, VALUE *argv, VALUE self) {
|
|
3588
3636
|
char *arg1 ;
|
3589
3637
|
size_t arg2 ;
|
3590
3638
|
enum strncpy_pad_check arg3 ;
|
3591
|
-
char *result = 0 ;
|
3592
3639
|
int res1 ;
|
3593
3640
|
char *buf1 = 0 ;
|
3594
3641
|
int alloc1 = 0 ;
|
@@ -3596,6 +3643,7 @@ _wrap_strncpy_pad(int argc, VALUE *argv, VALUE self) {
|
|
3596
3643
|
int ecode2 = 0 ;
|
3597
3644
|
int val3 ;
|
3598
3645
|
int ecode3 = 0 ;
|
3646
|
+
char *result = 0 ;
|
3599
3647
|
VALUE vresult = Qnil;
|
3600
3648
|
|
3601
3649
|
if ((argc < 3) || (argc > 3)) {
|
@@ -3646,10 +3694,10 @@ Check that psz_path is a valid ISO-9660 directory name.
|
|
3646
3694
|
SWIGINTERN VALUE
|
3647
3695
|
_wrap_dirname_validq___(int argc, VALUE *argv, VALUE self) {
|
3648
3696
|
char *arg1 ;
|
3649
|
-
bool result;
|
3650
3697
|
int res1 ;
|
3651
3698
|
char *buf1 = 0 ;
|
3652
3699
|
int alloc1 = 0 ;
|
3700
|
+
bool result;
|
3653
3701
|
VALUE vresult = Qnil;
|
3654
3702
|
|
3655
3703
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3686,12 +3734,12 @@ SWIGINTERN VALUE
|
|
3686
3734
|
_wrap_pathname_isofy(int argc, VALUE *argv, VALUE self) {
|
3687
3735
|
char *arg1 ;
|
3688
3736
|
unsigned int arg2 = (unsigned int) 1 ;
|
3689
|
-
char *result = 0 ;
|
3690
3737
|
int res1 ;
|
3691
3738
|
char *buf1 = 0 ;
|
3692
3739
|
int alloc1 = 0 ;
|
3693
3740
|
unsigned int val2 ;
|
3694
3741
|
int ecode2 = 0 ;
|
3742
|
+
char *result = 0 ;
|
3695
3743
|
VALUE vresult = Qnil;
|
3696
3744
|
|
3697
3745
|
if ((argc < 1) || (argc > 2)) {
|
@@ -3740,10 +3788,10 @@ True is returned if psz_path is valid..
|
|
3740
3788
|
SWIGINTERN VALUE
|
3741
3789
|
_wrap_pathname_validq___(int argc, VALUE *argv, VALUE self) {
|
3742
3790
|
char *arg1 ;
|
3743
|
-
bool result;
|
3744
3791
|
int res1 ;
|
3745
3792
|
char *buf1 = 0 ;
|
3746
3793
|
int alloc1 = 0 ;
|
3794
|
+
bool result;
|
3747
3795
|
VALUE vresult = Qnil;
|
3748
3796
|
|
3749
3797
|
if ((argc < 1) || (argc > 1)) {
|
@@ -3777,12 +3825,12 @@ SWIGINTERN VALUE
|
|
3777
3825
|
_wrap_fs_stat(int argc, VALUE *argv, VALUE self) {
|
3778
3826
|
CdIo_t *arg1 = (CdIo_t *) 0 ;
|
3779
3827
|
char *arg2 ;
|
3780
|
-
IsoStat_t *result = 0 ;
|
3781
3828
|
void *argp1 = 0 ;
|
3782
3829
|
int res1 = 0 ;
|
3783
3830
|
int res2 ;
|
3784
3831
|
char *buf2 = 0 ;
|
3785
3832
|
int alloc2 = 0 ;
|
3833
|
+
IsoStat_t *result = 0 ;
|
3786
3834
|
VALUE vresult = Qnil;
|
3787
3835
|
|
3788
3836
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3844,7 +3892,6 @@ _wrap_fs_stat_translate(int argc, VALUE *argv, VALUE self) {
|
|
3844
3892
|
CdIo_t *arg1 = (CdIo_t *) 0 ;
|
3845
3893
|
char *arg2 ;
|
3846
3894
|
bool arg3 = (bool) false ;
|
3847
|
-
IsoStat_t *result = 0 ;
|
3848
3895
|
void *argp1 = 0 ;
|
3849
3896
|
int res1 = 0 ;
|
3850
3897
|
int res2 ;
|
@@ -3852,6 +3899,7 @@ _wrap_fs_stat_translate(int argc, VALUE *argv, VALUE self) {
|
|
3852
3899
|
int alloc2 = 0 ;
|
3853
3900
|
bool val3 ;
|
3854
3901
|
int ecode3 = 0 ;
|
3902
|
+
IsoStat_t *result = 0 ;
|
3855
3903
|
VALUE vresult = Qnil;
|
3856
3904
|
|
3857
3905
|
if ((argc < 2) || (argc > 3)) {
|
@@ -3915,12 +3963,12 @@ SWIGINTERN VALUE
|
|
3915
3963
|
_wrap_ifs_stat(int argc, VALUE *argv, VALUE self) {
|
3916
3964
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
3917
3965
|
char *arg2 ;
|
3918
|
-
IsoStat_t *result = 0 ;
|
3919
3966
|
void *argp1 = 0 ;
|
3920
3967
|
int res1 = 0 ;
|
3921
3968
|
int res2 ;
|
3922
3969
|
char *buf2 = 0 ;
|
3923
3970
|
int alloc2 = 0 ;
|
3971
|
+
IsoStat_t *result = 0 ;
|
3924
3972
|
VALUE vresult = Qnil;
|
3925
3973
|
|
3926
3974
|
if ((argc < 2) || (argc > 2)) {
|
@@ -3979,12 +4027,12 @@ SWIGINTERN VALUE
|
|
3979
4027
|
_wrap_ifs_stat_translate(int argc, VALUE *argv, VALUE self) {
|
3980
4028
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
3981
4029
|
char *arg2 ;
|
3982
|
-
IsoStat_t *result = 0 ;
|
3983
4030
|
void *argp1 = 0 ;
|
3984
4031
|
int res1 = 0 ;
|
3985
4032
|
int res2 ;
|
3986
4033
|
char *buf2 = 0 ;
|
3987
4034
|
int alloc2 = 0 ;
|
4035
|
+
IsoStat_t *result = 0 ;
|
3988
4036
|
VALUE vresult = Qnil;
|
3989
4037
|
|
3990
4038
|
if ((argc < 2) || (argc > 2)) {
|
@@ -4042,12 +4090,12 @@ SWIGINTERN VALUE
|
|
4042
4090
|
_wrap_fs_readdir(int argc, VALUE *argv, VALUE self) {
|
4043
4091
|
CdIo_t *arg1 = (CdIo_t *) 0 ;
|
4044
4092
|
char *arg2 ;
|
4045
|
-
IsoStatList_t *result = 0 ;
|
4046
4093
|
void *argp1 = 0 ;
|
4047
4094
|
int res1 = 0 ;
|
4048
4095
|
int res2 ;
|
4049
4096
|
char *buf2 = 0 ;
|
4050
4097
|
int alloc2 = 0 ;
|
4098
|
+
IsoStatList_t *result = 0 ;
|
4051
4099
|
VALUE vresult = Qnil;
|
4052
4100
|
|
4053
4101
|
if ((argc < 2) || (argc > 2)) {
|
@@ -4114,12 +4162,12 @@ SWIGINTERN VALUE
|
|
4114
4162
|
_wrap_ifs_readdir(int argc, VALUE *argv, VALUE self) {
|
4115
4163
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4116
4164
|
char *arg2 ;
|
4117
|
-
IsoStatList_t *result = 0 ;
|
4118
4165
|
void *argp1 = 0 ;
|
4119
4166
|
int res1 = 0 ;
|
4120
4167
|
int res2 ;
|
4121
4168
|
char *buf2 = 0 ;
|
4122
4169
|
int alloc2 = 0 ;
|
4170
|
+
IsoStatList_t *result = 0 ;
|
4123
4171
|
VALUE vresult = Qnil;
|
4124
4172
|
|
4125
4173
|
if ((argc < 2) || (argc > 2)) {
|
@@ -4185,9 +4233,9 @@ None is returned if there is some problem in getting this..
|
|
4185
4233
|
SWIGINTERN VALUE
|
4186
4234
|
_wrap_get_application_id(int argc, VALUE *argv, VALUE self) {
|
4187
4235
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4188
|
-
char *result = 0 ;
|
4189
4236
|
void *argp1 = 0 ;
|
4190
4237
|
int res1 = 0 ;
|
4238
|
+
char *result = 0 ;
|
4191
4239
|
VALUE vresult = Qnil;
|
4192
4240
|
|
4193
4241
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4219,9 +4267,9 @@ is some problem in getting this..
|
|
4219
4267
|
SWIGINTERN VALUE
|
4220
4268
|
_wrap_ifs_get_application_id(int argc, VALUE *argv, VALUE self) {
|
4221
4269
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4222
|
-
string_or_nil_t result;
|
4223
4270
|
void *argp1 = 0 ;
|
4224
4271
|
int res1 = 0 ;
|
4272
|
+
string_or_nil_t result;
|
4225
4273
|
VALUE vresult = Qnil;
|
4226
4274
|
|
4227
4275
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4256,9 +4304,9 @@ Return the Joliet level recognized for p_iso..
|
|
4256
4304
|
SWIGINTERN VALUE
|
4257
4305
|
_wrap_get_joliet_level(int argc, VALUE *argv, VALUE self) {
|
4258
4306
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4259
|
-
unsigned char result;
|
4260
4307
|
void *argp1 = 0 ;
|
4261
4308
|
int res1 = 0 ;
|
4309
|
+
unsigned char result;
|
4262
4310
|
VALUE vresult = Qnil;
|
4263
4311
|
|
4264
4312
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4289,9 +4337,9 @@ Return the Joliet level recognized for p_iso..
|
|
4289
4337
|
SWIGINTERN VALUE
|
4290
4338
|
_wrap_get_dir_len(int argc, VALUE *argv, VALUE self) {
|
4291
4339
|
iso9660_dir_t *arg1 = (iso9660_dir_t *) 0 ;
|
4292
|
-
unsigned char result;
|
4293
4340
|
void *argp1 = 0 ;
|
4294
4341
|
int res1 = 0 ;
|
4342
|
+
unsigned char result;
|
4295
4343
|
VALUE vresult = Qnil;
|
4296
4344
|
|
4297
4345
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4322,9 +4370,9 @@ Return the directory name stored in the iso9660_dir_t..
|
|
4322
4370
|
SWIGINTERN VALUE
|
4323
4371
|
_wrap_iso9660_dir_to_name(int argc, VALUE *argv, VALUE self) {
|
4324
4372
|
iso9660_dir_t *arg1 = (iso9660_dir_t *) 0 ;
|
4325
|
-
char *result = 0 ;
|
4326
4373
|
void *argp1 = 0 ;
|
4327
4374
|
int res1 = 0 ;
|
4375
|
+
char *result = 0 ;
|
4328
4376
|
VALUE vresult = Qnil;
|
4329
4377
|
|
4330
4378
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4357,9 +4405,9 @@ blanks removed..
|
|
4357
4405
|
SWIGINTERN VALUE
|
4358
4406
|
_wrap_get_preparer_id(int argc, VALUE *argv, VALUE self) {
|
4359
4407
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4360
|
-
char *result = 0 ;
|
4361
4408
|
void *argp1 = 0 ;
|
4362
4409
|
int res1 = 0 ;
|
4410
|
+
char *result = 0 ;
|
4363
4411
|
VALUE vresult = Qnil;
|
4364
4412
|
|
4365
4413
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4391,9 +4439,9 @@ Get the preparer ID. Return None if there is some problem in
|
|
4391
4439
|
SWIGINTERN VALUE
|
4392
4440
|
_wrap_ifs_get_preparer_id(int argc, VALUE *argv, VALUE self) {
|
4393
4441
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4394
|
-
string_or_nil_t result;
|
4395
4442
|
void *argp1 = 0 ;
|
4396
4443
|
int res1 = 0 ;
|
4444
|
+
string_or_nil_t result;
|
4397
4445
|
VALUE vresult = Qnil;
|
4398
4446
|
|
4399
4447
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4429,9 +4477,9 @@ Return a string containing the PVD's publisher id with trailing
|
|
4429
4477
|
SWIGINTERN VALUE
|
4430
4478
|
_wrap_get_publisher_id(int argc, VALUE *argv, VALUE self) {
|
4431
4479
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4432
|
-
char *result = 0 ;
|
4433
4480
|
void *argp1 = 0 ;
|
4434
4481
|
int res1 = 0 ;
|
4482
|
+
char *result = 0 ;
|
4435
4483
|
VALUE vresult = Qnil;
|
4436
4484
|
|
4437
4485
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4463,9 +4511,9 @@ is some problem in getting this..
|
|
4463
4511
|
SWIGINTERN VALUE
|
4464
4512
|
_wrap_ifs_get_publisher_id(int argc, VALUE *argv, VALUE self) {
|
4465
4513
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4466
|
-
string_or_nil_t result;
|
4467
4514
|
void *argp1 = 0 ;
|
4468
4515
|
int res1 = 0 ;
|
4516
|
+
string_or_nil_t result;
|
4469
4517
|
VALUE vresult = Qnil;
|
4470
4518
|
|
4471
4519
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4501,9 +4549,9 @@ is some problem in getting this..
|
|
4501
4549
|
SWIGINTERN VALUE
|
4502
4550
|
_wrap_get_pvd_type(int argc, VALUE *argv, VALUE self) {
|
4503
4551
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4504
|
-
unsigned char result;
|
4505
4552
|
void *argp1 = 0 ;
|
4506
4553
|
int res1 = 0 ;
|
4554
|
+
unsigned char result;
|
4507
4555
|
VALUE vresult = Qnil;
|
4508
4556
|
|
4509
4557
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4535,9 +4583,9 @@ is some problem in getting this..
|
|
4535
4583
|
SWIGINTERN VALUE
|
4536
4584
|
_wrap_get_pvd_id(int argc, VALUE *argv, VALUE self) {
|
4537
4585
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4538
|
-
char *result = 0 ;
|
4539
4586
|
void *argp1 = 0 ;
|
4540
4587
|
int res1 = 0 ;
|
4588
|
+
char *result = 0 ;
|
4541
4589
|
VALUE vresult = Qnil;
|
4542
4590
|
|
4543
4591
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4569,9 +4617,9 @@ is some problem in getting this..
|
|
4569
4617
|
SWIGINTERN VALUE
|
4570
4618
|
_wrap_get_pvd_space_size(int argc, VALUE *argv, VALUE self) {
|
4571
4619
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4572
|
-
int result;
|
4573
4620
|
void *argp1 = 0 ;
|
4574
4621
|
int res1 = 0 ;
|
4622
|
+
int result;
|
4575
4623
|
VALUE vresult = Qnil;
|
4576
4624
|
|
4577
4625
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4603,9 +4651,9 @@ is some problem in getting this..
|
|
4603
4651
|
SWIGINTERN VALUE
|
4604
4652
|
_wrap_get_pvd_block_size(int argc, VALUE *argv, VALUE self) {
|
4605
4653
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4606
|
-
int result;
|
4607
4654
|
void *argp1 = 0 ;
|
4608
4655
|
int res1 = 0 ;
|
4656
|
+
int result;
|
4609
4657
|
VALUE vresult = Qnil;
|
4610
4658
|
|
4611
4659
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4637,9 +4685,9 @@ If there is an error 0 is returned..
|
|
4637
4685
|
SWIGINTERN VALUE
|
4638
4686
|
_wrap_get_pvd_version(int argc, VALUE *argv, VALUE self) {
|
4639
4687
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4640
|
-
int result;
|
4641
4688
|
void *argp1 = 0 ;
|
4642
4689
|
int res1 = 0 ;
|
4690
|
+
int result;
|
4643
4691
|
VALUE vresult = Qnil;
|
4644
4692
|
|
4645
4693
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4671,9 +4719,9 @@ Return a string containing the PVD's system id with trailing
|
|
4671
4719
|
SWIGINTERN VALUE
|
4672
4720
|
_wrap_get_system_id(int argc, VALUE *argv, VALUE self) {
|
4673
4721
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4674
|
-
char *result = 0 ;
|
4675
4722
|
void *argp1 = 0 ;
|
4676
4723
|
int res1 = 0 ;
|
4724
|
+
char *result = 0 ;
|
4677
4725
|
VALUE vresult = Qnil;
|
4678
4726
|
|
4679
4727
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4705,9 +4753,9 @@ is some problem in getting this..
|
|
4705
4753
|
SWIGINTERN VALUE
|
4706
4754
|
_wrap_ifs_get_system_id(int argc, VALUE *argv, VALUE self) {
|
4707
4755
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4708
|
-
char *result = 0 ;
|
4709
4756
|
void *argp1 = 0 ;
|
4710
4757
|
int res1 = 0 ;
|
4758
|
+
char *result = 0 ;
|
4711
4759
|
VALUE vresult = Qnil;
|
4712
4760
|
|
4713
4761
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4741,9 +4789,9 @@ INVALID_LSN is returned.
|
|
4741
4789
|
SWIGINTERN VALUE
|
4742
4790
|
_wrap_get_root_lsn(int argc, VALUE *argv, VALUE self) {
|
4743
4791
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4744
|
-
lsn_t result;
|
4745
4792
|
void *argp1 = 0 ;
|
4746
4793
|
int res1 = 0 ;
|
4794
|
+
lsn_t result;
|
4747
4795
|
VALUE vresult = Qnil;
|
4748
4796
|
|
4749
4797
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4774,9 +4822,9 @@ Return the PVD's volume ID..
|
|
4774
4822
|
SWIGINTERN VALUE
|
4775
4823
|
_wrap_get_volume_id(int argc, VALUE *argv, VALUE self) {
|
4776
4824
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4777
|
-
char *result = 0 ;
|
4778
4825
|
void *argp1 = 0 ;
|
4779
4826
|
int res1 = 0 ;
|
4827
|
+
char *result = 0 ;
|
4780
4828
|
VALUE vresult = Qnil;
|
4781
4829
|
|
4782
4830
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4808,9 +4856,9 @@ is some problem in getting this..
|
|
4808
4856
|
SWIGINTERN VALUE
|
4809
4857
|
_wrap_ifs_get_volume_id(int argc, VALUE *argv, VALUE self) {
|
4810
4858
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4811
|
-
char *result = 0 ;
|
4812
4859
|
void *argp1 = 0 ;
|
4813
4860
|
int res1 = 0 ;
|
4861
|
+
char *result = 0 ;
|
4814
4862
|
VALUE vresult = Qnil;
|
4815
4863
|
|
4816
4864
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4844,9 +4892,9 @@ fail:
|
|
4844
4892
|
SWIGINTERN VALUE
|
4845
4893
|
_wrap_get_volumeset_id(int argc, VALUE *argv, VALUE self) {
|
4846
4894
|
iso9660_pvd_t *arg1 = (iso9660_pvd_t *) 0 ;
|
4847
|
-
char *result = 0 ;
|
4848
4895
|
void *argp1 = 0 ;
|
4849
4896
|
int res1 = 0 ;
|
4897
|
+
char *result = 0 ;
|
4850
4898
|
VALUE vresult = Qnil;
|
4851
4899
|
|
4852
4900
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4878,9 +4926,9 @@ is some problem in getting this..
|
|
4878
4926
|
SWIGINTERN VALUE
|
4879
4927
|
_wrap_ifs_get_volumeset_id(int argc, VALUE *argv, VALUE self) {
|
4880
4928
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
4881
|
-
string_or_nil_t result;
|
4882
4929
|
void *argp1 = 0 ;
|
4883
4930
|
int res1 = 0 ;
|
4931
|
+
string_or_nil_t result;
|
4884
4932
|
VALUE vresult = Qnil;
|
4885
4933
|
|
4886
4934
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4943,8 +4991,8 @@ Zero's out pathable. Do this first..
|
|
4943
4991
|
SWIGINTERN VALUE
|
4944
4992
|
_wrap_pathtable_get_size(int argc, VALUE *argv, VALUE self) {
|
4945
4993
|
void *arg1 = (void *) 0 ;
|
4946
|
-
unsigned int result;
|
4947
4994
|
int res1 ;
|
4995
|
+
unsigned int result;
|
4948
4996
|
VALUE vresult = Qnil;
|
4949
4997
|
|
4950
4998
|
if ((argc < 1) || (argc > 1)) {
|
@@ -4977,7 +5025,6 @@ _wrap_pathtable_l_add_entry(int argc, VALUE *argv, VALUE self) {
|
|
4977
5025
|
char *arg2 ;
|
4978
5026
|
unsigned int arg3 ;
|
4979
5027
|
unsigned int arg4 ;
|
4980
|
-
unsigned int result;
|
4981
5028
|
int res1 ;
|
4982
5029
|
int res2 ;
|
4983
5030
|
char *buf2 = 0 ;
|
@@ -4986,6 +5033,7 @@ _wrap_pathtable_l_add_entry(int argc, VALUE *argv, VALUE self) {
|
|
4986
5033
|
int ecode3 = 0 ;
|
4987
5034
|
unsigned int val4 ;
|
4988
5035
|
int ecode4 = 0 ;
|
5036
|
+
unsigned int result;
|
4989
5037
|
VALUE vresult = Qnil;
|
4990
5038
|
|
4991
5039
|
if ((argc < 4) || (argc > 4)) {
|
@@ -5035,7 +5083,6 @@ _wrap_pathtable_m_add_entry(int argc, VALUE *argv, VALUE self) {
|
|
5035
5083
|
char *arg2 ;
|
5036
5084
|
unsigned int arg3 ;
|
5037
5085
|
unsigned int arg4 ;
|
5038
|
-
unsigned int result;
|
5039
5086
|
int res1 ;
|
5040
5087
|
int res2 ;
|
5041
5088
|
char *buf2 = 0 ;
|
@@ -5044,6 +5091,7 @@ _wrap_pathtable_m_add_entry(int argc, VALUE *argv, VALUE self) {
|
|
5044
5091
|
int ecode3 = 0 ;
|
5045
5092
|
unsigned int val4 ;
|
5046
5093
|
int ecode4 = 0 ;
|
5094
|
+
unsigned int result;
|
5047
5095
|
VALUE vresult = Qnil;
|
5048
5096
|
|
5049
5097
|
if ((argc < 4) || (argc > 4)) {
|
@@ -5118,9 +5166,9 @@ Return true if ISO 9660 image has extended attrributes (XA)..
|
|
5118
5166
|
SWIGINTERN VALUE
|
5119
5167
|
_wrap_xaq___(int argc, VALUE *argv, VALUE self) {
|
5120
5168
|
iso9660_t *arg1 = (iso9660_t *) 0 ;
|
5121
|
-
bool result;
|
5122
5169
|
void *argp1 = 0 ;
|
5123
5170
|
int res1 = 0 ;
|
5171
|
+
bool result;
|
5124
5172
|
VALUE vresult = Qnil;
|
5125
5173
|
|
5126
5174
|
if ((argc < 1) || (argc > 1)) {
|
@@ -5266,7 +5314,7 @@ SWIGRUNTIME void
|
|
5266
5314
|
SWIG_InitializeModule(void *clientdata) {
|
5267
5315
|
size_t i;
|
5268
5316
|
swig_module_info *module_head, *iter;
|
5269
|
-
int found;
|
5317
|
+
int found, init;
|
5270
5318
|
|
5271
5319
|
clientdata = clientdata;
|
5272
5320
|
|
@@ -5276,6 +5324,9 @@ SWIG_InitializeModule(void *clientdata) {
|
|
5276
5324
|
swig_module.type_initial = swig_type_initial;
|
5277
5325
|
swig_module.cast_initial = swig_cast_initial;
|
5278
5326
|
swig_module.next = &swig_module;
|
5327
|
+
init = 1;
|
5328
|
+
} else {
|
5329
|
+
init = 0;
|
5279
5330
|
}
|
5280
5331
|
|
5281
5332
|
/* Try and load any already created modules */
|
@@ -5304,6 +5355,12 @@ SWIG_InitializeModule(void *clientdata) {
|
|
5304
5355
|
module_head->next = &swig_module;
|
5305
5356
|
}
|
5306
5357
|
|
5358
|
+
/* When multiple interpeters are used, a module could have already been initialized in
|
5359
|
+
a different interpreter, but not yet have a pointer in this interpreter.
|
5360
|
+
In this case, we do not want to continue adding types... everything should be
|
5361
|
+
set up already */
|
5362
|
+
if (init == 0) return;
|
5363
|
+
|
5307
5364
|
/* Now work on filling in swig_module.types */
|
5308
5365
|
#ifdef SWIGRUNTIME_DEBUG
|
5309
5366
|
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
|