taglib-ruby 0.2.1 → 0.3.0
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/CHANGES.md +7 -0
- data/Gemfile +1 -2
- data/Gemfile.lock +9 -8
- data/README.md +22 -7
- data/Rakefile +9 -15
- data/docs/taglib/base.rb +31 -8
- data/docs/taglib/id3v1.rb +5 -0
- data/docs/taglib/mpeg.rb +8 -0
- data/docs/taglib/ogg.rb +77 -0
- data/docs/taglib/vorbis.rb +43 -0
- data/ext/taglib_base/includes.i +25 -1
- data/ext/taglib_base/taglib_base.i +46 -2
- data/ext/taglib_base/taglib_base_wrap.cxx +176 -185
- data/ext/taglib_id3v1/extconf.rb +4 -0
- data/ext/taglib_id3v1/taglib_id3v1.i +11 -0
- data/ext/taglib_id3v1/taglib_id3v1_wrap.cxx +3092 -0
- data/ext/taglib_id3v2/taglib_id3v2.i +0 -8
- data/ext/taglib_id3v2/taglib_id3v2_wrap.cxx +194 -248
- data/ext/taglib_mpeg/taglib_mpeg.i +16 -2
- data/ext/taglib_mpeg/taglib_mpeg_wrap.cxx +157 -149
- data/ext/taglib_ogg/extconf.rb +4 -0
- data/ext/taglib_ogg/taglib_ogg.i +36 -0
- data/ext/taglib_ogg/taglib_ogg_wrap.cxx +3613 -0
- data/ext/taglib_vorbis/extconf.rb +4 -0
- data/ext/taglib_vorbis/taglib_vorbis.i +48 -0
- data/ext/taglib_vorbis/taglib_vorbis_wrap.cxx +3056 -0
- data/ext/win.cmake +6 -0
- data/lib/taglib/id3v1.rb +1 -0
- data/lib/taglib/ogg.rb +1 -0
- data/lib/taglib/version.rb +2 -2
- data/lib/taglib/vorbis.rb +1 -0
- data/lib/taglib.rb +10 -0
- data/taglib-ruby.gemspec +35 -11
- data/tasks/ext.rake +79 -0
- data/tasks/swig.rake +43 -0
- data/test/data/Makefile +15 -0
- data/test/data/id3v1-create.cpp +31 -0
- data/test/data/id3v1.mp3 +0 -0
- data/test/data/vorbis-create.cpp +42 -0
- data/test/data/vorbis.oga +0 -0
- data/test/test_fileref_write.rb +38 -0
- data/test/test_id3v1_tag.rb +36 -0
- data/test/test_id3v2_frames.rb +5 -0
- data/test/test_id3v2_memory.rb +23 -0
- data/test/test_id3v2_relative_volume.rb +5 -0
- data/test/test_id3v2_tag.rb +5 -0
- data/test/test_id3v2_unicode.rb +5 -0
- data/test/test_id3v2_write.rb +6 -1
- data/test/test_mpeg_file.rb +18 -1
- data/test/test_vorbis_file.rb +44 -0
- data/test/test_vorbis_tag.rb +79 -0
- metadata +113 -137
- data/ext/Rakefile +0 -32
@@ -85,14 +85,6 @@ VALUE taglib_id3v2_framelist_to_ruby_array(TagLib::ID3v2::FrameList *list) {
|
|
85
85
|
|
86
86
|
%include <taglib/id3v2framefactory.h>
|
87
87
|
|
88
|
-
%extend TagLib::ID3v2::Tag {
|
89
|
-
// clarify overload resolution
|
90
|
-
const FrameList &frameList(const char *frameID) const {
|
91
|
-
// triggers implicit conversion to ByteVector
|
92
|
-
return $self->frameList(frameID);
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
88
|
// Resolve overloading conflict with setText(String)
|
97
89
|
%rename("field_list=") TagLib::ID3v2::TextIdentificationFrame::setText(const StringList &);
|
98
90
|
%rename("from_data") TagLib::ID3v2::TextIdentificationFrame::TextIdentificationFrame(const ByteVector &);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version 2.0.
|
3
|
+
* Version 2.0.5
|
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
|
@@ -1838,16 +1838,15 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1838
1838
|
#define SWIGTYPE_p_TagLib__ID3v2__UserTextIdentificationFrame swig_types[22]
|
1839
1839
|
#define SWIGTYPE_p_TagLib__ID3v2__UserUrlLinkFrame swig_types[23]
|
1840
1840
|
#define SWIGTYPE_p_TagLib__ListT_TagLib__ID3v2__Frame_p_t swig_types[24]
|
1841
|
-
#define
|
1842
|
-
#define
|
1843
|
-
#define
|
1844
|
-
#define
|
1845
|
-
#define
|
1846
|
-
#define
|
1847
|
-
#define
|
1848
|
-
|
1849
|
-
static
|
1850
|
-
static swig_module_info swig_module = {swig_types, 33, 0, 0, 0, 0};
|
1841
|
+
#define SWIGTYPE_p_TagLib__StringList swig_types[25]
|
1842
|
+
#define SWIGTYPE_p_TagLib__Tag swig_types[26]
|
1843
|
+
#define SWIGTYPE_p_char swig_types[27]
|
1844
|
+
#define SWIGTYPE_p_unsigned_char swig_types[28]
|
1845
|
+
#define SWIGTYPE_p_unsigned_int swig_types[29]
|
1846
|
+
#define SWIGTYPE_p_unsigned_long swig_types[30]
|
1847
|
+
#define SWIGTYPE_p_wchar_t swig_types[31]
|
1848
|
+
static swig_type_info *swig_types[33];
|
1849
|
+
static swig_module_info swig_module = {swig_types, 32, 0, 0, 0, 0};
|
1851
1850
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1852
1851
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1853
1852
|
|
@@ -1862,7 +1861,7 @@ static VALUE mID3v2;
|
|
1862
1861
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1863
1862
|
|
1864
1863
|
|
1865
|
-
#define SWIGVERSION
|
1864
|
+
#define SWIGVERSION 0x020005
|
1866
1865
|
#define SWIG_VERSION SWIGVERSION
|
1867
1866
|
|
1868
1867
|
|
@@ -1890,6 +1889,10 @@ static VALUE mID3v2;
|
|
1890
1889
|
#include <taglib/urllinkframe.h>
|
1891
1890
|
|
1892
1891
|
|
1892
|
+
#include <taglib/tstring.h>
|
1893
|
+
#include <taglib/tstringlist.h>
|
1894
|
+
#include <taglib/tfile.h>
|
1895
|
+
|
1893
1896
|
#if defined(HAVE_RUBY_ENCODING_H) && HAVE_RUBY_ENCODING_H
|
1894
1897
|
# include <ruby/encoding.h>
|
1895
1898
|
# define ASSOCIATE_UTF8_ENCODING(value) rb_enc_associate(value, rb_utf8_encoding());
|
@@ -1944,6 +1947,25 @@ TagLib::StringList ruby_array_to_taglib_string_list(VALUE ary) {
|
|
1944
1947
|
return result;
|
1945
1948
|
}
|
1946
1949
|
|
1950
|
+
VALUE taglib_filename_to_ruby_string(TagLib::FileName filename) {
|
1951
|
+
#ifdef _WIN32
|
1952
|
+
const char *s = (const char *) filename;
|
1953
|
+
return rb_tainted_str_new2(s);
|
1954
|
+
#else
|
1955
|
+
return rb_tainted_str_new2(filename);
|
1956
|
+
#endif
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
TagLib::FileName ruby_string_to_taglib_filename(VALUE s) {
|
1960
|
+
#ifdef _WIN32
|
1961
|
+
const char *filename = StringValuePtr(s);
|
1962
|
+
return TagLib::FileName(filename);
|
1963
|
+
#else
|
1964
|
+
return StringValuePtr(s);
|
1965
|
+
#endif
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
|
1947
1969
|
|
1948
1970
|
VALUE taglib_id3v2_frame_to_ruby_object(const TagLib::ID3v2::Frame *frame) {
|
1949
1971
|
TagLib::ByteVector id = frame->frameID();
|
@@ -2022,7 +2044,7 @@ SWIG_ruby_failed(void)
|
|
2022
2044
|
}
|
2023
2045
|
|
2024
2046
|
|
2025
|
-
/*@SWIG:/usr/share/
|
2047
|
+
/*@SWIG:/usr/local/share/swig/2.0.5/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2026
2048
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
|
2027
2049
|
{
|
2028
2050
|
VALUE obj = args[0];
|
@@ -2067,58 +2089,6 @@ SWIG_AsVal_unsigned_SS_int (VALUE obj, unsigned int *val)
|
|
2067
2089
|
}
|
2068
2090
|
|
2069
2091
|
|
2070
|
-
/*@SWIG:/usr/share/swig2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2071
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2072
|
-
{
|
2073
|
-
VALUE obj = args[0];
|
2074
|
-
VALUE type = TYPE(obj);
|
2075
|
-
long *res = (long *)(args[1]);
|
2076
|
-
*res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
|
2077
|
-
return obj;
|
2078
|
-
}
|
2079
|
-
/*@SWIG@*/
|
2080
|
-
|
2081
|
-
SWIGINTERN int
|
2082
|
-
SWIG_AsVal_long (VALUE obj, long* val)
|
2083
|
-
{
|
2084
|
-
VALUE type = TYPE(obj);
|
2085
|
-
if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
|
2086
|
-
long v;
|
2087
|
-
VALUE a[2];
|
2088
|
-
a[0] = obj;
|
2089
|
-
a[1] = (VALUE)(&v);
|
2090
|
-
if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2091
|
-
if (val) *val = v;
|
2092
|
-
return SWIG_OK;
|
2093
|
-
}
|
2094
|
-
}
|
2095
|
-
return SWIG_TypeError;
|
2096
|
-
}
|
2097
|
-
|
2098
|
-
|
2099
|
-
SWIGINTERN int
|
2100
|
-
SWIG_AsVal_int (VALUE obj, int *val)
|
2101
|
-
{
|
2102
|
-
long v;
|
2103
|
-
int res = SWIG_AsVal_long (obj, &v);
|
2104
|
-
if (SWIG_IsOK(res)) {
|
2105
|
-
if ((v < INT_MIN || v > INT_MAX)) {
|
2106
|
-
return SWIG_OverflowError;
|
2107
|
-
} else {
|
2108
|
-
if (val) *val = static_cast< int >(v);
|
2109
|
-
}
|
2110
|
-
}
|
2111
|
-
return res;
|
2112
|
-
}
|
2113
|
-
|
2114
|
-
|
2115
|
-
SWIGINTERNINLINE VALUE
|
2116
|
-
SWIG_From_bool (bool value)
|
2117
|
-
{
|
2118
|
-
return value ? Qtrue : Qfalse;
|
2119
|
-
}
|
2120
|
-
|
2121
|
-
|
2122
2092
|
SWIGINTERN swig_type_info*
|
2123
2093
|
SWIG_pchar_descriptor(void)
|
2124
2094
|
{
|
@@ -2172,10 +2142,58 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
|
|
2172
2142
|
|
2173
2143
|
|
2174
2144
|
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2145
|
+
|
2146
|
+
/*@SWIG:/usr/local/share/swig/2.0.5/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2147
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2148
|
+
{
|
2149
|
+
VALUE obj = args[0];
|
2150
|
+
VALUE type = TYPE(obj);
|
2151
|
+
long *res = (long *)(args[1]);
|
2152
|
+
*res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
|
2153
|
+
return obj;
|
2154
|
+
}
|
2155
|
+
/*@SWIG@*/
|
2156
|
+
|
2157
|
+
SWIGINTERN int
|
2158
|
+
SWIG_AsVal_long (VALUE obj, long* val)
|
2159
|
+
{
|
2160
|
+
VALUE type = TYPE(obj);
|
2161
|
+
if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
|
2162
|
+
long v;
|
2163
|
+
VALUE a[2];
|
2164
|
+
a[0] = obj;
|
2165
|
+
a[1] = (VALUE)(&v);
|
2166
|
+
if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2167
|
+
if (val) *val = v;
|
2168
|
+
return SWIG_OK;
|
2169
|
+
}
|
2178
2170
|
}
|
2171
|
+
return SWIG_TypeError;
|
2172
|
+
}
|
2173
|
+
|
2174
|
+
|
2175
|
+
SWIGINTERN int
|
2176
|
+
SWIG_AsVal_int (VALUE obj, int *val)
|
2177
|
+
{
|
2178
|
+
long v;
|
2179
|
+
int res = SWIG_AsVal_long (obj, &v);
|
2180
|
+
if (SWIG_IsOK(res)) {
|
2181
|
+
if ((v < INT_MIN || v > INT_MAX)) {
|
2182
|
+
return SWIG_OverflowError;
|
2183
|
+
} else {
|
2184
|
+
if (val) *val = static_cast< int >(v);
|
2185
|
+
}
|
2186
|
+
}
|
2187
|
+
return res;
|
2188
|
+
}
|
2189
|
+
|
2190
|
+
|
2191
|
+
SWIGINTERNINLINE VALUE
|
2192
|
+
SWIG_From_bool (bool value)
|
2193
|
+
{
|
2194
|
+
return value ? Qtrue : Qfalse;
|
2195
|
+
}
|
2196
|
+
|
2179
2197
|
|
2180
2198
|
SWIGINTERN int
|
2181
2199
|
SWIG_AsVal_bool (VALUE obj, bool *val)
|
@@ -2270,7 +2288,7 @@ SWIG_From_float (float value)
|
|
2270
2288
|
#include <float.h>
|
2271
2289
|
|
2272
2290
|
|
2273
|
-
/*@SWIG:/usr/share/
|
2291
|
+
/*@SWIG:/usr/local/share/swig/2.0.5/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2274
2292
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
|
2275
2293
|
{
|
2276
2294
|
VALUE obj = args[0];
|
@@ -2314,7 +2332,7 @@ SWIG_AsVal_float (VALUE obj, float *val)
|
|
2314
2332
|
return res;
|
2315
2333
|
}
|
2316
2334
|
|
2317
|
-
swig_class SwigClassFrame;
|
2335
|
+
static swig_class SwigClassFrame;
|
2318
2336
|
|
2319
2337
|
SWIGINTERN void
|
2320
2338
|
free_TagLib_ID3v2_Frame(TagLib::ID3v2::Frame *arg1) {
|
@@ -2353,7 +2371,7 @@ fail:
|
|
2353
2371
|
Document-method: TagLib::ID3v2::Frame.size
|
2354
2372
|
|
2355
2373
|
call-seq:
|
2356
|
-
size -> uint
|
2374
|
+
size -> TagLib::uint
|
2357
2375
|
|
2358
2376
|
Size or Length of the Frame.
|
2359
2377
|
*/
|
@@ -2586,7 +2604,7 @@ fail:
|
|
2586
2604
|
}
|
2587
2605
|
|
2588
2606
|
|
2589
|
-
swig_class SwigClassTag;
|
2607
|
+
static swig_class SwigClassTag;
|
2590
2608
|
|
2591
2609
|
SWIGINTERN VALUE
|
2592
2610
|
_wrap_new_Tag__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -3307,6 +3325,49 @@ fail:
|
|
3307
3325
|
}
|
3308
3326
|
|
3309
3327
|
|
3328
|
+
SWIGINTERN VALUE _wrap_Tag_frame_list(int nargs, VALUE *args, VALUE self) {
|
3329
|
+
int argc;
|
3330
|
+
VALUE argv[3];
|
3331
|
+
int ii;
|
3332
|
+
|
3333
|
+
argc = nargs + 1;
|
3334
|
+
argv[0] = self;
|
3335
|
+
if (argc > 3) SWIG_fail;
|
3336
|
+
for (ii = 1; (ii < argc); ++ii) {
|
3337
|
+
argv[ii] = args[ii-1];
|
3338
|
+
}
|
3339
|
+
if (argc == 1) {
|
3340
|
+
int _v;
|
3341
|
+
void *vptr = 0;
|
3342
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__Tag, 0);
|
3343
|
+
_v = SWIG_CheckState(res);
|
3344
|
+
if (_v) {
|
3345
|
+
return _wrap_Tag_frame_list__SWIG_0(nargs, args, self);
|
3346
|
+
}
|
3347
|
+
}
|
3348
|
+
if (argc == 2) {
|
3349
|
+
int _v;
|
3350
|
+
void *vptr = 0;
|
3351
|
+
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__Tag, 0);
|
3352
|
+
_v = SWIG_CheckState(res);
|
3353
|
+
if (_v) {
|
3354
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3355
|
+
_v = SWIG_CheckState(res);
|
3356
|
+
if (_v) {
|
3357
|
+
return _wrap_Tag_frame_list__SWIG_1(nargs, args, self);
|
3358
|
+
}
|
3359
|
+
}
|
3360
|
+
}
|
3361
|
+
|
3362
|
+
fail:
|
3363
|
+
Ruby_Format_OverloadedError( argc, 3, "Tag.frame_list",
|
3364
|
+
" TagLib::ID3v2::FrameList const & Tag.frame_list()\n"
|
3365
|
+
" TagLib::ID3v2::FrameList const & Tag.frame_list(TagLib::ByteVector const &frameID)\n");
|
3366
|
+
|
3367
|
+
return Qnil;
|
3368
|
+
}
|
3369
|
+
|
3370
|
+
|
3310
3371
|
SWIGINTERN VALUE
|
3311
3372
|
_wrap_Tag_add_frame(int argc, VALUE *argv, VALUE self) {
|
3312
3373
|
TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
|
@@ -3416,102 +3477,7 @@ fail:
|
|
3416
3477
|
}
|
3417
3478
|
|
3418
3479
|
|
3419
|
-
|
3420
|
-
_wrap_Tag_frame_list__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
3421
|
-
TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
|
3422
|
-
char *arg2 = (char *) 0 ;
|
3423
|
-
void *argp1 = 0 ;
|
3424
|
-
int res1 = 0 ;
|
3425
|
-
int res2 ;
|
3426
|
-
char *buf2 = 0 ;
|
3427
|
-
int alloc2 = 0 ;
|
3428
|
-
TagLib::ID3v2::FrameList *result = 0 ;
|
3429
|
-
VALUE vresult = Qnil;
|
3430
|
-
|
3431
|
-
if ((argc < 1) || (argc > 1)) {
|
3432
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
3433
|
-
}
|
3434
|
-
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__Tag, 0 | 0 );
|
3435
|
-
if (!SWIG_IsOK(res1)) {
|
3436
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","frameList", 1, self ));
|
3437
|
-
}
|
3438
|
-
arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
|
3439
|
-
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
3440
|
-
if (!SWIG_IsOK(res2)) {
|
3441
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","frameList", 2, argv[0] ));
|
3442
|
-
}
|
3443
|
-
arg2 = reinterpret_cast< char * >(buf2);
|
3444
|
-
result = (TagLib::ID3v2::FrameList *) &TagLib_ID3v2_Tag_frameList__SWIG_2((TagLib::ID3v2::Tag const *)arg1,(char const *)arg2);
|
3445
|
-
{
|
3446
|
-
vresult = taglib_id3v2_framelist_to_ruby_array(result);
|
3447
|
-
}
|
3448
|
-
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3449
|
-
return vresult;
|
3450
|
-
fail:
|
3451
|
-
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3452
|
-
return Qnil;
|
3453
|
-
}
|
3454
|
-
|
3455
|
-
|
3456
|
-
SWIGINTERN VALUE _wrap_Tag_frame_list(int nargs, VALUE *args, VALUE self) {
|
3457
|
-
int argc;
|
3458
|
-
VALUE argv[3];
|
3459
|
-
int ii;
|
3460
|
-
|
3461
|
-
argc = nargs + 1;
|
3462
|
-
argv[0] = self;
|
3463
|
-
if (argc > 3) SWIG_fail;
|
3464
|
-
for (ii = 1; (ii < argc); ++ii) {
|
3465
|
-
argv[ii] = args[ii-1];
|
3466
|
-
}
|
3467
|
-
if (argc == 1) {
|
3468
|
-
int _v;
|
3469
|
-
void *vptr = 0;
|
3470
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__Tag, 0);
|
3471
|
-
_v = SWIG_CheckState(res);
|
3472
|
-
if (_v) {
|
3473
|
-
return _wrap_Tag_frame_list__SWIG_0(nargs, args, self);
|
3474
|
-
}
|
3475
|
-
}
|
3476
|
-
if (argc == 2) {
|
3477
|
-
int _v;
|
3478
|
-
void *vptr = 0;
|
3479
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__Tag, 0);
|
3480
|
-
_v = SWIG_CheckState(res);
|
3481
|
-
if (_v) {
|
3482
|
-
void *vptr = 0;
|
3483
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
3484
|
-
_v = SWIG_CheckState(res);
|
3485
|
-
if (_v) {
|
3486
|
-
return _wrap_Tag_frame_list__SWIG_1(nargs, args, self);
|
3487
|
-
}
|
3488
|
-
}
|
3489
|
-
}
|
3490
|
-
if (argc == 2) {
|
3491
|
-
int _v;
|
3492
|
-
void *vptr = 0;
|
3493
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__Tag, 0);
|
3494
|
-
_v = SWIG_CheckState(res);
|
3495
|
-
if (_v) {
|
3496
|
-
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3497
|
-
_v = SWIG_CheckState(res);
|
3498
|
-
if (_v) {
|
3499
|
-
return _wrap_Tag_frame_list__SWIG_2(nargs, args, self);
|
3500
|
-
}
|
3501
|
-
}
|
3502
|
-
}
|
3503
|
-
|
3504
|
-
fail:
|
3505
|
-
Ruby_Format_OverloadedError( argc, 3, "Tag.frame_list",
|
3506
|
-
" TagLib::ID3v2::FrameList const & Tag.frame_list()\n"
|
3507
|
-
" TagLib::ID3v2::FrameList const & Tag.frame_list(TagLib::ByteVector const &frameID)\n"
|
3508
|
-
" TagLib::ID3v2::FrameList const & Tag.frame_list(char const *frameID)\n");
|
3509
|
-
|
3510
|
-
return Qnil;
|
3511
|
-
}
|
3512
|
-
|
3513
|
-
|
3514
|
-
swig_class SwigClassFrameFactory;
|
3480
|
+
static swig_class SwigClassFrameFactory;
|
3515
3481
|
|
3516
3482
|
SWIGINTERN VALUE
|
3517
3483
|
_wrap_FrameFactory_instance(int argc, VALUE *argv, VALUE self) {
|
@@ -3690,8 +3656,7 @@ SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE s
|
|
3690
3656
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
|
3691
3657
|
_v = SWIG_CheckState(res);
|
3692
3658
|
if (_v) {
|
3693
|
-
|
3694
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
3659
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3695
3660
|
_v = SWIG_CheckState(res);
|
3696
3661
|
if (_v) {
|
3697
3662
|
return _wrap_FrameFactory_create_frame__SWIG_2(nargs, args, self);
|
@@ -3704,8 +3669,7 @@ SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE s
|
|
3704
3669
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
|
3705
3670
|
_v = SWIG_CheckState(res);
|
3706
3671
|
if (_v) {
|
3707
|
-
|
3708
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
3672
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3709
3673
|
_v = SWIG_CheckState(res);
|
3710
3674
|
if (_v) {
|
3711
3675
|
void *vptr = 0;
|
@@ -3723,8 +3687,7 @@ SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE s
|
|
3723
3687
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
|
3724
3688
|
_v = SWIG_CheckState(res);
|
3725
3689
|
if (_v) {
|
3726
|
-
|
3727
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
3690
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3728
3691
|
_v = SWIG_CheckState(res);
|
3729
3692
|
if (_v) {
|
3730
3693
|
{
|
@@ -3743,8 +3706,7 @@ SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE s
|
|
3743
3706
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
|
3744
3707
|
_v = SWIG_CheckState(res);
|
3745
3708
|
if (_v) {
|
3746
|
-
|
3747
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
3709
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
3748
3710
|
_v = SWIG_CheckState(res);
|
3749
3711
|
if (_v) {
|
3750
3712
|
{
|
@@ -3822,7 +3784,7 @@ fail:
|
|
3822
3784
|
}
|
3823
3785
|
|
3824
3786
|
|
3825
|
-
swig_class SwigClassPeakVolume;
|
3787
|
+
static swig_class SwigClassPeakVolume;
|
3826
3788
|
|
3827
3789
|
SWIGINTERN VALUE
|
3828
3790
|
_wrap_PeakVolume_bits_representing_peak_set(int argc, VALUE *argv, VALUE self) {
|
@@ -3969,7 +3931,7 @@ free_TagLib_ID3v2_PeakVolume(TagLib::ID3v2::PeakVolume *arg1) {
|
|
3969
3931
|
delete arg1;
|
3970
3932
|
}
|
3971
3933
|
|
3972
|
-
swig_class SwigClassRelativeVolumeFrame;
|
3934
|
+
static swig_class SwigClassRelativeVolumeFrame;
|
3973
3935
|
|
3974
3936
|
SWIGINTERN VALUE
|
3975
3937
|
_wrap_new_RelativeVolumeFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -4041,8 +4003,7 @@ SWIGINTERN VALUE _wrap_new_RelativeVolumeFrame(int nargs, VALUE *args, VALUE sel
|
|
4041
4003
|
}
|
4042
4004
|
if (argc == 1) {
|
4043
4005
|
int _v;
|
4044
|
-
|
4045
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
4006
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
4046
4007
|
_v = SWIG_CheckState(res);
|
4047
4008
|
if (_v) {
|
4048
4009
|
return _wrap_new_RelativeVolumeFrame__SWIG_1(nargs, args, self);
|
@@ -4904,7 +4865,7 @@ fail:
|
|
4904
4865
|
}
|
4905
4866
|
|
4906
4867
|
|
4907
|
-
swig_class SwigClassAttachedPictureFrame;
|
4868
|
+
static swig_class SwigClassAttachedPictureFrame;
|
4908
4869
|
|
4909
4870
|
SWIGINTERN VALUE
|
4910
4871
|
_wrap_new_AttachedPictureFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -4976,8 +4937,7 @@ SWIGINTERN VALUE _wrap_new_AttachedPictureFrame(int nargs, VALUE *args, VALUE se
|
|
4976
4937
|
}
|
4977
4938
|
if (argc == 1) {
|
4978
4939
|
int _v;
|
4979
|
-
|
4980
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
4940
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
4981
4941
|
_v = SWIG_CheckState(res);
|
4982
4942
|
if (_v) {
|
4983
4943
|
return _wrap_new_AttachedPictureFrame__SWIG_1(nargs, args, self);
|
@@ -5290,7 +5250,7 @@ fail:
|
|
5290
5250
|
}
|
5291
5251
|
|
5292
5252
|
|
5293
|
-
swig_class SwigClassAttachedPictureFrameV22;
|
5253
|
+
static swig_class SwigClassAttachedPictureFrameV22;
|
5294
5254
|
|
5295
5255
|
SWIGINTERN void
|
5296
5256
|
free_TagLib_ID3v2_AttachedPictureFrameV22(TagLib::ID3v2::AttachedPictureFrameV22 *arg1) {
|
@@ -5298,7 +5258,7 @@ free_TagLib_ID3v2_AttachedPictureFrameV22(TagLib::ID3v2::AttachedPictureFrameV22
|
|
5298
5258
|
delete arg1;
|
5299
5259
|
}
|
5300
5260
|
|
5301
|
-
swig_class SwigClassCommentsFrame;
|
5261
|
+
static swig_class SwigClassCommentsFrame;
|
5302
5262
|
|
5303
5263
|
SWIGINTERN VALUE
|
5304
5264
|
_wrap_new_CommentsFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -5392,15 +5352,6 @@ SWIGINTERN VALUE _wrap_new_CommentsFrame(int nargs, VALUE *args, VALUE self) {
|
|
5392
5352
|
if (argc == 0) {
|
5393
5353
|
return _wrap_new_CommentsFrame__SWIG_1(nargs, args, self);
|
5394
5354
|
}
|
5395
|
-
if (argc == 1) {
|
5396
|
-
int _v;
|
5397
|
-
void *vptr = 0;
|
5398
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
5399
|
-
_v = SWIG_CheckState(res);
|
5400
|
-
if (_v) {
|
5401
|
-
return _wrap_new_CommentsFrame__SWIG_2(nargs, args, self);
|
5402
|
-
}
|
5403
|
-
}
|
5404
5355
|
if (argc == 1) {
|
5405
5356
|
int _v;
|
5406
5357
|
{
|
@@ -5411,6 +5362,14 @@ SWIGINTERN VALUE _wrap_new_CommentsFrame(int nargs, VALUE *args, VALUE self) {
|
|
5411
5362
|
return _wrap_new_CommentsFrame__SWIG_0(nargs, args, self);
|
5412
5363
|
}
|
5413
5364
|
}
|
5365
|
+
if (argc == 1) {
|
5366
|
+
int _v;
|
5367
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
5368
|
+
_v = SWIG_CheckState(res);
|
5369
|
+
if (_v) {
|
5370
|
+
return _wrap_new_CommentsFrame__SWIG_2(nargs, args, self);
|
5371
|
+
}
|
5372
|
+
}
|
5414
5373
|
|
5415
5374
|
fail:
|
5416
5375
|
Ruby_Format_OverloadedError( argc, 1, "CommentsFrame.new",
|
@@ -5696,7 +5655,7 @@ fail:
|
|
5696
5655
|
}
|
5697
5656
|
|
5698
5657
|
|
5699
|
-
swig_class SwigClassGeneralEncapsulatedObjectFrame;
|
5658
|
+
static swig_class SwigClassGeneralEncapsulatedObjectFrame;
|
5700
5659
|
|
5701
5660
|
SWIGINTERN VALUE
|
5702
5661
|
_wrap_new_GeneralEncapsulatedObjectFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -5768,8 +5727,7 @@ SWIGINTERN VALUE _wrap_new_GeneralEncapsulatedObjectFrame(int nargs, VALUE *args
|
|
5768
5727
|
}
|
5769
5728
|
if (argc == 1) {
|
5770
5729
|
int _v;
|
5771
|
-
|
5772
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
5730
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
5773
5731
|
_v = SWIG_CheckState(res);
|
5774
5732
|
if (_v) {
|
5775
5733
|
return _wrap_new_GeneralEncapsulatedObjectFrame__SWIG_1(nargs, args, self);
|
@@ -6082,7 +6040,7 @@ fail:
|
|
6082
6040
|
}
|
6083
6041
|
|
6084
6042
|
|
6085
|
-
swig_class SwigClassPopularimeterFrame;
|
6043
|
+
static swig_class SwigClassPopularimeterFrame;
|
6086
6044
|
|
6087
6045
|
SWIGINTERN VALUE
|
6088
6046
|
_wrap_new_PopularimeterFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -6154,8 +6112,7 @@ SWIGINTERN VALUE _wrap_new_PopularimeterFrame(int nargs, VALUE *args, VALUE self
|
|
6154
6112
|
}
|
6155
6113
|
if (argc == 1) {
|
6156
6114
|
int _v;
|
6157
|
-
|
6158
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
6115
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
6159
6116
|
_v = SWIG_CheckState(res);
|
6160
6117
|
if (_v) {
|
6161
6118
|
return _wrap_new_PopularimeterFrame__SWIG_1(nargs, args, self);
|
@@ -6362,7 +6319,7 @@ fail:
|
|
6362
6319
|
}
|
6363
6320
|
|
6364
6321
|
|
6365
|
-
swig_class SwigClassPrivateFrame;
|
6322
|
+
static swig_class SwigClassPrivateFrame;
|
6366
6323
|
|
6367
6324
|
SWIGINTERN VALUE
|
6368
6325
|
_wrap_new_PrivateFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -6434,8 +6391,7 @@ SWIGINTERN VALUE _wrap_new_PrivateFrame(int nargs, VALUE *args, VALUE self) {
|
|
6434
6391
|
}
|
6435
6392
|
if (argc == 1) {
|
6436
6393
|
int _v;
|
6437
|
-
|
6438
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
6394
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
6439
6395
|
_v = SWIG_CheckState(res);
|
6440
6396
|
if (_v) {
|
6441
6397
|
return _wrap_new_PrivateFrame__SWIG_1(nargs, args, self);
|
@@ -6589,7 +6545,7 @@ fail:
|
|
6589
6545
|
}
|
6590
6546
|
|
6591
6547
|
|
6592
|
-
swig_class SwigClassTextIdentificationFrame;
|
6548
|
+
static swig_class SwigClassTextIdentificationFrame;
|
6593
6549
|
|
6594
6550
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
6595
6551
|
SWIGINTERN VALUE
|
@@ -6842,7 +6798,7 @@ fail:
|
|
6842
6798
|
}
|
6843
6799
|
|
6844
6800
|
|
6845
|
-
swig_class SwigClassUserTextIdentificationFrame;
|
6801
|
+
static swig_class SwigClassUserTextIdentificationFrame;
|
6846
6802
|
|
6847
6803
|
SWIGINTERN VALUE
|
6848
6804
|
_wrap_new_UserTextIdentificationFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -6936,15 +6892,6 @@ SWIGINTERN VALUE _wrap_new_UserTextIdentificationFrame(int nargs, VALUE *args, V
|
|
6936
6892
|
if (argc == 0) {
|
6937
6893
|
return _wrap_new_UserTextIdentificationFrame__SWIG_1(nargs, args, self);
|
6938
6894
|
}
|
6939
|
-
if (argc == 1) {
|
6940
|
-
int _v;
|
6941
|
-
void *vptr = 0;
|
6942
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
6943
|
-
_v = SWIG_CheckState(res);
|
6944
|
-
if (_v) {
|
6945
|
-
return _wrap_new_UserTextIdentificationFrame__SWIG_2(nargs, args, self);
|
6946
|
-
}
|
6947
|
-
}
|
6948
6895
|
if (argc == 1) {
|
6949
6896
|
int _v;
|
6950
6897
|
{
|
@@ -6955,6 +6902,14 @@ SWIGINTERN VALUE _wrap_new_UserTextIdentificationFrame(int nargs, VALUE *args, V
|
|
6955
6902
|
return _wrap_new_UserTextIdentificationFrame__SWIG_0(nargs, args, self);
|
6956
6903
|
}
|
6957
6904
|
}
|
6905
|
+
if (argc == 1) {
|
6906
|
+
int _v;
|
6907
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
6908
|
+
_v = SWIG_CheckState(res);
|
6909
|
+
if (_v) {
|
6910
|
+
return _wrap_new_UserTextIdentificationFrame__SWIG_2(nargs, args, self);
|
6911
|
+
}
|
6912
|
+
}
|
6958
6913
|
|
6959
6914
|
fail:
|
6960
6915
|
Ruby_Format_OverloadedError( argc, 1, "UserTextIdentificationFrame.new",
|
@@ -7170,7 +7125,7 @@ free_TagLib_ID3v2_UserTextIdentificationFrame(TagLib::ID3v2::UserTextIdentificat
|
|
7170
7125
|
delete arg1;
|
7171
7126
|
}
|
7172
7127
|
|
7173
|
-
swig_class SwigClassUniqueFileIdentifierFrame;
|
7128
|
+
static swig_class SwigClassUniqueFileIdentifierFrame;
|
7174
7129
|
|
7175
7130
|
SWIGINTERN VALUE
|
7176
7131
|
_wrap_new_UniqueFileIdentifierFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -7251,8 +7206,7 @@ SWIGINTERN VALUE _wrap_new_UniqueFileIdentifierFrame(int nargs, VALUE *args, VAL
|
|
7251
7206
|
}
|
7252
7207
|
if (argc == 1) {
|
7253
7208
|
int _v;
|
7254
|
-
|
7255
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
7209
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
7256
7210
|
_v = SWIG_CheckState(res);
|
7257
7211
|
if (_v) {
|
7258
7212
|
return _wrap_new_UniqueFileIdentifierFrame__SWIG_0(nargs, args, self);
|
@@ -7260,12 +7214,10 @@ SWIGINTERN VALUE _wrap_new_UniqueFileIdentifierFrame(int nargs, VALUE *args, VAL
|
|
7260
7214
|
}
|
7261
7215
|
if (argc == 2) {
|
7262
7216
|
int _v;
|
7263
|
-
|
7264
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__String, 0);
|
7217
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
7265
7218
|
_v = SWIG_CheckState(res);
|
7266
7219
|
if (_v) {
|
7267
|
-
|
7268
|
-
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
7220
|
+
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
|
7269
7221
|
_v = SWIG_CheckState(res);
|
7270
7222
|
if (_v) {
|
7271
7223
|
return _wrap_new_UniqueFileIdentifierFrame__SWIG_1(nargs, args, self);
|
@@ -7420,7 +7372,7 @@ fail:
|
|
7420
7372
|
}
|
7421
7373
|
|
7422
7374
|
|
7423
|
-
swig_class SwigClassUnknownFrame;
|
7375
|
+
static swig_class SwigClassUnknownFrame;
|
7424
7376
|
|
7425
7377
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
7426
7378
|
SWIGINTERN VALUE
|
@@ -7519,7 +7471,7 @@ fail:
|
|
7519
7471
|
}
|
7520
7472
|
|
7521
7473
|
|
7522
|
-
swig_class SwigClassUnsynchronizedLyricsFrame;
|
7474
|
+
static swig_class SwigClassUnsynchronizedLyricsFrame;
|
7523
7475
|
|
7524
7476
|
SWIGINTERN VALUE
|
7525
7477
|
_wrap_new_UnsynchronizedLyricsFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -7613,15 +7565,6 @@ SWIGINTERN VALUE _wrap_new_UnsynchronizedLyricsFrame(int nargs, VALUE *args, VAL
|
|
7613
7565
|
if (argc == 0) {
|
7614
7566
|
return _wrap_new_UnsynchronizedLyricsFrame__SWIG_1(nargs, args, self);
|
7615
7567
|
}
|
7616
|
-
if (argc == 1) {
|
7617
|
-
int _v;
|
7618
|
-
void *vptr = 0;
|
7619
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
7620
|
-
_v = SWIG_CheckState(res);
|
7621
|
-
if (_v) {
|
7622
|
-
return _wrap_new_UnsynchronizedLyricsFrame__SWIG_2(nargs, args, self);
|
7623
|
-
}
|
7624
|
-
}
|
7625
7568
|
if (argc == 1) {
|
7626
7569
|
int _v;
|
7627
7570
|
{
|
@@ -7632,6 +7575,14 @@ SWIGINTERN VALUE _wrap_new_UnsynchronizedLyricsFrame(int nargs, VALUE *args, VAL
|
|
7632
7575
|
return _wrap_new_UnsynchronizedLyricsFrame__SWIG_0(nargs, args, self);
|
7633
7576
|
}
|
7634
7577
|
}
|
7578
|
+
if (argc == 1) {
|
7579
|
+
int _v;
|
7580
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
7581
|
+
_v = SWIG_CheckState(res);
|
7582
|
+
if (_v) {
|
7583
|
+
return _wrap_new_UnsynchronizedLyricsFrame__SWIG_2(nargs, args, self);
|
7584
|
+
}
|
7585
|
+
}
|
7635
7586
|
|
7636
7587
|
fail:
|
7637
7588
|
Ruby_Format_OverloadedError( argc, 1, "UnsynchronizedLyricsFrame.new",
|
@@ -7887,7 +7838,7 @@ fail:
|
|
7887
7838
|
}
|
7888
7839
|
|
7889
7840
|
|
7890
|
-
swig_class SwigClassUrlLinkFrame;
|
7841
|
+
static swig_class SwigClassUrlLinkFrame;
|
7891
7842
|
|
7892
7843
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
7893
7844
|
SWIGINTERN VALUE
|
@@ -8040,7 +7991,7 @@ fail:
|
|
8040
7991
|
}
|
8041
7992
|
|
8042
7993
|
|
8043
|
-
swig_class SwigClassUserUrlLinkFrame;
|
7994
|
+
static swig_class SwigClassUserUrlLinkFrame;
|
8044
7995
|
|
8045
7996
|
SWIGINTERN VALUE
|
8046
7997
|
_wrap_new_UserUrlLinkFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
@@ -8134,15 +8085,6 @@ SWIGINTERN VALUE _wrap_new_UserUrlLinkFrame(int nargs, VALUE *args, VALUE self)
|
|
8134
8085
|
if (argc == 0) {
|
8135
8086
|
return _wrap_new_UserUrlLinkFrame__SWIG_1(nargs, args, self);
|
8136
8087
|
}
|
8137
|
-
if (argc == 1) {
|
8138
|
-
int _v;
|
8139
|
-
void *vptr = 0;
|
8140
|
-
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ByteVector, 0);
|
8141
|
-
_v = SWIG_CheckState(res);
|
8142
|
-
if (_v) {
|
8143
|
-
return _wrap_new_UserUrlLinkFrame__SWIG_2(nargs, args, self);
|
8144
|
-
}
|
8145
|
-
}
|
8146
8088
|
if (argc == 1) {
|
8147
8089
|
int _v;
|
8148
8090
|
{
|
@@ -8153,6 +8095,14 @@ SWIGINTERN VALUE _wrap_new_UserUrlLinkFrame(int nargs, VALUE *args, VALUE self)
|
|
8153
8095
|
return _wrap_new_UserUrlLinkFrame__SWIG_0(nargs, args, self);
|
8154
8096
|
}
|
8155
8097
|
}
|
8098
|
+
if (argc == 1) {
|
8099
|
+
int _v;
|
8100
|
+
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
8101
|
+
_v = SWIG_CheckState(res);
|
8102
|
+
if (_v) {
|
8103
|
+
return _wrap_new_UserUrlLinkFrame__SWIG_2(nargs, args, self);
|
8104
|
+
}
|
8105
|
+
}
|
8156
8106
|
|
8157
8107
|
fail:
|
8158
8108
|
Ruby_Format_OverloadedError( argc, 1, "UserUrlLinkFrame.new",
|
@@ -8384,7 +8334,6 @@ static swig_type_info _swigt__p_TagLib__ID3v2__UrlLinkFrame = {"_p_TagLib__ID3v2
|
|
8384
8334
|
static swig_type_info _swigt__p_TagLib__ID3v2__UserTextIdentificationFrame = {"_p_TagLib__ID3v2__UserTextIdentificationFrame", "TagLib::ID3v2::UserTextIdentificationFrame *", 0, 0, (void*)0, 0};
|
8385
8335
|
static swig_type_info _swigt__p_TagLib__ID3v2__UserUrlLinkFrame = {"_p_TagLib__ID3v2__UserUrlLinkFrame", "TagLib::ID3v2::UserUrlLinkFrame *", 0, 0, (void*)0, 0};
|
8386
8336
|
static swig_type_info _swigt__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t = {"_p_TagLib__ListT_TagLib__ID3v2__Frame_p_t", "TagLib::ID3v2::FrameList *|TagLib::List< TagLib::ID3v2::Frame * > *", 0, 0, (void*)0, 0};
|
8387
|
-
static swig_type_info _swigt__p_TagLib__String = {"_p_TagLib__String", "TagLib::String *", 0, 0, (void*)0, 0};
|
8388
8337
|
static swig_type_info _swigt__p_TagLib__StringList = {"_p_TagLib__StringList", "TagLib::StringList *", 0, 0, (void*)0, 0};
|
8389
8338
|
static swig_type_info _swigt__p_TagLib__Tag = {"_p_TagLib__Tag", "TagLib::Tag *", 0, 0, (void*)0, 0};
|
8390
8339
|
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
|
@@ -8419,7 +8368,6 @@ static swig_type_info *swig_type_initial[] = {
|
|
8419
8368
|
&_swigt__p_TagLib__ID3v2__UserTextIdentificationFrame,
|
8420
8369
|
&_swigt__p_TagLib__ID3v2__UserUrlLinkFrame,
|
8421
8370
|
&_swigt__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t,
|
8422
|
-
&_swigt__p_TagLib__String,
|
8423
8371
|
&_swigt__p_TagLib__StringList,
|
8424
8372
|
&_swigt__p_TagLib__Tag,
|
8425
8373
|
&_swigt__p_char,
|
@@ -8454,7 +8402,6 @@ static swig_cast_info _swigc__p_TagLib__ID3v2__UrlLinkFrame[] = { {&_swigt__p_T
|
|
8454
8402
|
static swig_cast_info _swigc__p_TagLib__ID3v2__UserTextIdentificationFrame[] = { {&_swigt__p_TagLib__ID3v2__UserTextIdentificationFrame, 0, 0, 0},{0, 0, 0, 0}};
|
8455
8403
|
static swig_cast_info _swigc__p_TagLib__ID3v2__UserUrlLinkFrame[] = { {&_swigt__p_TagLib__ID3v2__UserUrlLinkFrame, 0, 0, 0},{0, 0, 0, 0}};
|
8456
8404
|
static swig_cast_info _swigc__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t[] = { {&_swigt__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t, 0, 0, 0},{0, 0, 0, 0}};
|
8457
|
-
static swig_cast_info _swigc__p_TagLib__String[] = { {&_swigt__p_TagLib__String, 0, 0, 0},{0, 0, 0, 0}};
|
8458
8405
|
static swig_cast_info _swigc__p_TagLib__StringList[] = { {&_swigt__p_TagLib__StringList, 0, 0, 0},{0, 0, 0, 0}};
|
8459
8406
|
static swig_cast_info _swigc__p_TagLib__Tag[] = { {&_swigt__p_TagLib__ID3v2__Tag, _p_TagLib__ID3v2__TagTo_p_TagLib__Tag, 0, 0}, {&_swigt__p_TagLib__Tag, 0, 0, 0},{0, 0, 0, 0}};
|
8460
8407
|
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -8489,7 +8436,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
8489
8436
|
_swigc__p_TagLib__ID3v2__UserTextIdentificationFrame,
|
8490
8437
|
_swigc__p_TagLib__ID3v2__UserUrlLinkFrame,
|
8491
8438
|
_swigc__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t,
|
8492
|
-
_swigc__p_TagLib__String,
|
8493
8439
|
_swigc__p_TagLib__StringList,
|
8494
8440
|
_swigc__p_TagLib__Tag,
|
8495
8441
|
_swigc__p_char,
|
@@ -8798,11 +8744,11 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
|
|
8798
8744
|
rb_define_method(SwigClassTag.klass, "extended_header", VALUEFUNC(_wrap_Tag_extended_header), -1);
|
8799
8745
|
rb_define_method(SwigClassTag.klass, "footer", VALUEFUNC(_wrap_Tag_footer), -1);
|
8800
8746
|
rb_define_method(SwigClassTag.klass, "frame_list_map", VALUEFUNC(_wrap_Tag_frame_list_map), -1);
|
8747
|
+
rb_define_method(SwigClassTag.klass, "frame_list", VALUEFUNC(_wrap_Tag_frame_list), -1);
|
8801
8748
|
rb_define_method(SwigClassTag.klass, "add_frame", VALUEFUNC(_wrap_Tag_add_frame), -1);
|
8802
8749
|
rb_define_method(SwigClassTag.klass, "remove_frame", VALUEFUNC(_wrap_Tag_remove_frame), -1);
|
8803
8750
|
rb_define_method(SwigClassTag.klass, "remove_frames", VALUEFUNC(_wrap_Tag_remove_frames), -1);
|
8804
8751
|
rb_define_method(SwigClassTag.klass, "render", VALUEFUNC(_wrap_Tag_render), -1);
|
8805
|
-
rb_define_method(SwigClassTag.klass, "frame_list", VALUEFUNC(_wrap_Tag_frame_list), -1);
|
8806
8752
|
SwigClassTag.mark = 0;
|
8807
8753
|
SwigClassTag.destroy = (void (*)(void *)) free_TagLib_ID3v2_Tag;
|
8808
8754
|
SwigClassTag.trackObjects = 1;
|