taglib-ruby 1.1.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1859,9 +1859,9 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1859
1859
  #define SWIGTYPE_p_TagLib__ID3v2__ChapterFrame swig_types[6]
1860
1860
  #define SWIGTYPE_p_TagLib__ID3v2__CommentsFrame swig_types[7]
1861
1861
  #define SWIGTYPE_p_TagLib__ID3v2__ExtendedHeader swig_types[8]
1862
- #define SWIGTYPE_p_TagLib__ID3v2__Footer swig_types[9]
1863
- #define SWIGTYPE_p_TagLib__ID3v2__Frame swig_types[10]
1864
- #define SWIGTYPE_p_TagLib__ID3v2__FrameFactory swig_types[11]
1862
+ #define SWIGTYPE_p_TagLib__ID3v2__Frame swig_types[9]
1863
+ #define SWIGTYPE_p_TagLib__ID3v2__FrameFactory swig_types[10]
1864
+ #define SWIGTYPE_p_TagLib__ID3v2__Frame__Header swig_types[11]
1865
1865
  #define SWIGTYPE_p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame swig_types[12]
1866
1866
  #define SWIGTYPE_p_TagLib__ID3v2__Header swig_types[13]
1867
1867
  #define SWIGTYPE_p_TagLib__ID3v2__PopularimeterFrame swig_types[14]
@@ -1880,12 +1880,13 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
1880
1880
  #define SWIGTYPE_p_TagLib__ListT_TagLib__ID3v2__Frame_p_t swig_types[27]
1881
1881
  #define SWIGTYPE_p_TagLib__Tag swig_types[28]
1882
1882
  #define SWIGTYPE_p_char swig_types[29]
1883
- #define SWIGTYPE_p_unsigned_char swig_types[30]
1884
- #define SWIGTYPE_p_unsigned_int swig_types[31]
1885
- #define SWIGTYPE_p_unsigned_long swig_types[32]
1886
- #define SWIGTYPE_p_wchar_t swig_types[33]
1887
- static swig_type_info *swig_types[35];
1888
- static swig_module_info swig_module = {swig_types, 34, 0, 0, 0, 0};
1883
+ #define SWIGTYPE_p_long_long swig_types[30]
1884
+ #define SWIGTYPE_p_unsigned_char swig_types[31]
1885
+ #define SWIGTYPE_p_unsigned_int swig_types[32]
1886
+ #define SWIGTYPE_p_unsigned_long swig_types[33]
1887
+ #define SWIGTYPE_p_wchar_t swig_types[34]
1888
+ static swig_type_info *swig_types[36];
1889
+ static swig_module_info swig_module = {swig_types, 35, 0, 0, 0, 0};
1889
1890
  #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1890
1891
  #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1891
1892
 
@@ -1995,34 +1996,26 @@ template <typename T> T SwigValueInit() {
1995
1996
  #endif
1996
1997
 
1997
1998
  VALUE taglib_bytevector_to_ruby_string(const TagLib::ByteVector &byteVector) {
1998
- if (byteVector.isNull()) {
1999
- return Qnil;
2000
- } else {
2001
- return rb_str_new(byteVector.data(), byteVector.size());
2002
- }
1999
+ return rb_str_new(byteVector.data(), byteVector.size());
2003
2000
  }
2004
2001
 
2005
2002
  TagLib::ByteVector ruby_string_to_taglib_bytevector(VALUE s) {
2006
2003
  if (NIL_P(s)) {
2007
- return TagLib::ByteVector::null;
2004
+ return TagLib::ByteVector();
2008
2005
  } else {
2009
2006
  return TagLib::ByteVector(RSTRING_PTR(StringValue(s)), RSTRING_LEN(s));
2010
2007
  }
2011
2008
  }
2012
2009
 
2013
2010
  VALUE taglib_string_to_ruby_string(const TagLib::String & string) {
2014
- if (string.isNull()) {
2015
- return Qnil;
2016
- } else {
2017
- VALUE result = rb_str_new2(string.toCString(true));
2018
- ASSOCIATE_UTF8_ENCODING(result);
2019
- return result;
2020
- }
2011
+ VALUE result = rb_str_new2(string.toCString(true));
2012
+ ASSOCIATE_UTF8_ENCODING(result);
2013
+ return result;
2021
2014
  }
2022
2015
 
2023
2016
  TagLib::String ruby_string_to_taglib_string(VALUE s) {
2024
2017
  if (NIL_P(s)) {
2025
- return TagLib::String::null;
2018
+ return TagLib::String();
2026
2019
  } else {
2027
2020
  return TagLib::String(RSTRING_PTR(CONVERT_TO_UTF8(StringValue(s))), TagLib::String::UTF8);
2028
2021
  }
@@ -2111,6 +2104,13 @@ TagLib::FileName ruby_string_to_taglib_filename(VALUE s) {
2111
2104
  #endif
2112
2105
  }
2113
2106
 
2107
+ VALUE taglib_offset_t_to_ruby_int(TagLib::offset_t off) {
2108
+ #ifdef _WIN32
2109
+ return LL2NUM(off);
2110
+ #else
2111
+ return OFFT2NUM(off);
2112
+ #endif
2113
+ }
2114
2114
 
2115
2115
 
2116
2116
  VALUE taglib_id3v2_frame_to_ruby_object(const TagLib::ID3v2::Frame *frame) {
@@ -2162,6 +2162,26 @@ VALUE taglib_id3v2_framelist_to_ruby_array(TagLib::ID3v2::FrameList *list) {
2162
2162
  }
2163
2163
 
2164
2164
 
2165
+ #include <limits.h>
2166
+ #if !defined(SWIG_NO_LLONG_MAX)
2167
+ # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2168
+ # define LLONG_MAX __LONG_LONG_MAX__
2169
+ # define LLONG_MIN (-LLONG_MAX - 1LL)
2170
+ # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2171
+ # endif
2172
+ #endif
2173
+
2174
+
2175
+ #define SWIG_From_long LONG2NUM
2176
+
2177
+
2178
+ SWIGINTERNINLINE VALUE
2179
+ SWIG_From_int (int value)
2180
+ {
2181
+ return SWIG_From_long (value);
2182
+ }
2183
+
2184
+
2165
2185
  SWIGINTERN swig_type_info*
2166
2186
  SWIG_pchar_descriptor(void)
2167
2187
  {
@@ -2212,19 +2232,6 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
2212
2232
 
2213
2233
 
2214
2234
 
2215
- #include <limits.h>
2216
- #if !defined(SWIG_NO_LLONG_MAX)
2217
- # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2218
- # define LLONG_MAX __LONG_LONG_MAX__
2219
- # define LLONG_MIN (-LLONG_MAX - 1LL)
2220
- # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2221
- # endif
2222
- #endif
2223
-
2224
-
2225
- #define SWIG_From_long LONG2NUM
2226
-
2227
-
2228
2235
  SWIGINTERNINLINE VALUE
2229
2236
  SWIG_From_unsigned_SS_long (unsigned long value)
2230
2237
  {
@@ -2246,7 +2253,7 @@ SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
2246
2253
  }
2247
2254
 
2248
2255
 
2249
- /*@SWIG:/usr/local/Cellar/swig/4.1.1/share/swig/4.1.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2256
+ /*@SWIG:/swig/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2250
2257
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE arg)
2251
2258
  {
2252
2259
  VALUE *args = (VALUE *)arg;
@@ -2299,7 +2306,7 @@ SWIG_From_bool (bool value)
2299
2306
  }
2300
2307
 
2301
2308
 
2302
- /*@SWIG:/usr/local/Cellar/swig/4.1.1/share/swig/4.1.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2309
+ /*@SWIG:/swig/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2303
2310
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE arg)
2304
2311
  {
2305
2312
  VALUE *args = (VALUE *)arg;
@@ -2345,31 +2352,41 @@ SWIG_AsVal_int (VALUE obj, int *val)
2345
2352
  }
2346
2353
 
2347
2354
 
2355
+ #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2356
+ # define SWIG_LONG_LONG_AVAILABLE
2357
+ #endif
2358
+
2359
+
2360
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2361
+ /*@SWIG:/swig/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2362
+ SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE arg)
2363
+ {
2364
+ VALUE *args = (VALUE *)arg;
2365
+ VALUE obj = args[0];
2366
+ VALUE type = TYPE(obj);
2367
+ long long *res = (long long *)(args[1]);
2368
+ *res = type == T_FIXNUM ? NUM2LL(obj) : rb_big2ll(obj);
2369
+ return obj;
2370
+ }
2371
+ /*@SWIG@*/
2372
+
2348
2373
  SWIGINTERN int
2349
- SWIG_AsVal_bool (VALUE obj, bool *val)
2374
+ SWIG_AsVal_long_SS_long (VALUE obj, long long *val)
2350
2375
  {
2351
- if (obj == Qtrue) {
2352
- if (val) *val = true;
2353
- return SWIG_OK;
2354
- } else if (obj == Qfalse) {
2355
- if (val) *val = false;
2356
- return SWIG_OK;
2357
- } else {
2358
- int res = 0;
2359
- if (SWIG_AsVal_int (obj, &res) == SWIG_OK) {
2360
- if (val) *val = res ? true : false;
2376
+ VALUE type = TYPE(obj);
2377
+ if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2378
+ long long v;
2379
+ VALUE a[2];
2380
+ a[0] = obj;
2381
+ a[1] = (VALUE)(&v);
2382
+ if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
2383
+ if (val) *val = v;
2361
2384
  return SWIG_OK;
2362
2385
  }
2363
- }
2386
+ }
2364
2387
  return SWIG_TypeError;
2365
2388
  }
2366
-
2367
-
2368
- SWIGINTERNINLINE VALUE
2369
- SWIG_From_int (int value)
2370
- {
2371
- return SWIG_From_long (value);
2372
- }
2389
+ #endif
2373
2390
 
2374
2391
 
2375
2392
  SWIGINTERNINLINE VALUE
@@ -2451,7 +2468,7 @@ inline int SWIG_isfinite_func(T x) {
2451
2468
  #endif
2452
2469
 
2453
2470
 
2454
- /*@SWIG:/usr/local/Cellar/swig/4.1.1/share/swig/4.1.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2471
+ /*@SWIG:/swig/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2455
2472
  SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
2456
2473
  {
2457
2474
  VALUE *args = (VALUE *)arg;
@@ -2519,6 +2536,26 @@ SWIG_From_unsigned_SS_char (unsigned char value)
2519
2536
  return SWIG_From_unsigned_SS_long (value);
2520
2537
  }
2521
2538
 
2539
+
2540
+ SWIGINTERN int
2541
+ SWIG_AsVal_bool (VALUE obj, bool *val)
2542
+ {
2543
+ if (obj == Qtrue) {
2544
+ if (val) *val = true;
2545
+ return SWIG_OK;
2546
+ } else if (obj == Qfalse) {
2547
+ if (val) *val = false;
2548
+ return SWIG_OK;
2549
+ } else {
2550
+ int res = 0;
2551
+ if (SWIG_AsVal_int (obj, &res) == SWIG_OK) {
2552
+ if (val) *val = res ? true : false;
2553
+ return SWIG_OK;
2554
+ }
2555
+ }
2556
+ return SWIG_TypeError;
2557
+ }
2558
+
2522
2559
  static swig_class SwigClassHeader;
2523
2560
 
2524
2561
  SWIGINTERN VALUE
@@ -3104,6 +3141,32 @@ fail:
3104
3141
  }
3105
3142
 
3106
3143
 
3144
+ SWIGINTERN VALUE
3145
+ _wrap_Frame_to_string_list(int argc, VALUE *argv, VALUE self) {
3146
+ TagLib::ID3v2::Frame *arg1 = (TagLib::ID3v2::Frame *) 0 ;
3147
+ void *argp1 = 0 ;
3148
+ int res1 = 0 ;
3149
+ TagLib::StringList result;
3150
+ VALUE vresult = Qnil;
3151
+
3152
+ if ((argc < 0) || (argc > 0)) {
3153
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3154
+ }
3155
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
3156
+ if (!SWIG_IsOK(res1)) {
3157
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Frame const *","toStringList", 1, self ));
3158
+ }
3159
+ arg1 = reinterpret_cast< TagLib::ID3v2::Frame * >(argp1);
3160
+ result = ((TagLib::ID3v2::Frame const *)arg1)->toStringList();
3161
+ {
3162
+ vresult = taglib_string_list_to_ruby_array(result);
3163
+ }
3164
+ return vresult;
3165
+ fail:
3166
+ return Qnil;
3167
+ }
3168
+
3169
+
3107
3170
  SWIGINTERN VALUE
3108
3171
  _wrap_Frame_render(int argc, VALUE *argv, VALUE self) {
3109
3172
  TagLib::ID3v2::Frame *arg1 = (TagLib::ID3v2::Frame *) 0 ;
@@ -3130,6 +3193,30 @@ fail:
3130
3193
  }
3131
3194
 
3132
3195
 
3196
+ SWIGINTERN VALUE
3197
+ _wrap_Frame_header(int argc, VALUE *argv, VALUE self) {
3198
+ TagLib::ID3v2::Frame *arg1 = (TagLib::ID3v2::Frame *) 0 ;
3199
+ void *argp1 = 0 ;
3200
+ int res1 = 0 ;
3201
+ TagLib::ID3v2::Frame::Header *result = 0 ;
3202
+ VALUE vresult = Qnil;
3203
+
3204
+ if ((argc < 0) || (argc > 0)) {
3205
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3206
+ }
3207
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
3208
+ if (!SWIG_IsOK(res1)) {
3209
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Frame const *","header", 1, self ));
3210
+ }
3211
+ arg1 = reinterpret_cast< TagLib::ID3v2::Frame * >(argp1);
3212
+ result = (TagLib::ID3v2::Frame::Header *)((TagLib::ID3v2::Frame const *)arg1)->header();
3213
+ vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame__Header, 0 | 0 );
3214
+ return vresult;
3215
+ fail:
3216
+ return Qnil;
3217
+ }
3218
+
3219
+
3133
3220
  SWIGINTERN VALUE
3134
3221
  _wrap_Frame_text_delimiter(int argc, VALUE *argv, VALUE self) {
3135
3222
  TagLib::String::Type arg1 ;
@@ -3156,6 +3243,54 @@ fail:
3156
3243
  }
3157
3244
 
3158
3245
 
3246
+ SWIGINTERN VALUE
3247
+ _wrap_Frame_key_to_frame_id(int argc, VALUE *argv, VALUE self) {
3248
+ TagLib::String *arg1 = 0 ;
3249
+ TagLib::String tmp1 ;
3250
+ TagLib::ByteVector result;
3251
+ VALUE vresult = Qnil;
3252
+
3253
+ if ((argc < 1) || (argc > 1)) {
3254
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3255
+ }
3256
+ {
3257
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
3258
+ arg1 = &tmp1;
3259
+ }
3260
+ result = TagLib::ID3v2::Frame::keyToFrameID((TagLib::String const &)*arg1);
3261
+ {
3262
+ vresult = taglib_bytevector_to_ruby_string(result);
3263
+ }
3264
+ return vresult;
3265
+ fail:
3266
+ return Qnil;
3267
+ }
3268
+
3269
+
3270
+ SWIGINTERN VALUE
3271
+ _wrap_Frame_frame_idto_key(int argc, VALUE *argv, VALUE self) {
3272
+ TagLib::ByteVector *arg1 = 0 ;
3273
+ TagLib::ByteVector tmp1 ;
3274
+ TagLib::String result;
3275
+ VALUE vresult = Qnil;
3276
+
3277
+ if ((argc < 1) || (argc > 1)) {
3278
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
3279
+ }
3280
+ {
3281
+ tmp1 = ruby_string_to_taglib_bytevector(argv[0]);
3282
+ arg1 = &tmp1;
3283
+ }
3284
+ result = TagLib::ID3v2::Frame::frameIDToKey((TagLib::ByteVector const &)*arg1);
3285
+ {
3286
+ vresult = taglib_string_to_ruby_string(result);
3287
+ }
3288
+ return vresult;
3289
+ fail:
3290
+ return Qnil;
3291
+ }
3292
+
3293
+
3159
3294
  static swig_class SwigClassTag;
3160
3295
 
3161
3296
  SWIGINTERN VALUE
@@ -3177,11 +3312,11 @@ fail:
3177
3312
  SWIGINTERN VALUE
3178
3313
  _wrap_new_Tag__SWIG_1(int argc, VALUE *argv, VALUE self) {
3179
3314
  TagLib::File *arg1 = (TagLib::File *) 0 ;
3180
- long arg2 ;
3315
+ TagLib::offset_t arg2 ;
3181
3316
  TagLib::ID3v2::FrameFactory *arg3 = (TagLib::ID3v2::FrameFactory *) 0 ;
3182
3317
  void *argp1 = 0 ;
3183
3318
  int res1 = 0 ;
3184
- long val2 ;
3319
+ long long val2 ;
3185
3320
  int ecode2 = 0 ;
3186
3321
  void *argp3 = 0 ;
3187
3322
  int res3 = 0 ;
@@ -3195,11 +3330,11 @@ _wrap_new_Tag__SWIG_1(int argc, VALUE *argv, VALUE self) {
3195
3330
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::File *","Tag", 1, argv[0] ));
3196
3331
  }
3197
3332
  arg1 = reinterpret_cast< TagLib::File * >(argp1);
3198
- ecode2 = SWIG_AsVal_long(argv[1], &val2);
3333
+ ecode2 = SWIG_AsVal_long_SS_long(argv[1], &val2);
3199
3334
  if (!SWIG_IsOK(ecode2)) {
3200
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","Tag", 2, argv[1] ));
3335
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::offset_t","Tag", 2, argv[1] ));
3201
3336
  }
3202
- arg2 = static_cast< long >(val2);
3337
+ arg2 = static_cast< TagLib::offset_t >(val2);
3203
3338
  res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0 | 0 );
3204
3339
  if (!SWIG_IsOK(res3)) {
3205
3340
  SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","Tag", 3, argv[2] ));
@@ -3232,10 +3367,10 @@ _wrap_Tag_allocate(int argc, VALUE *argv, VALUE self)
3232
3367
  SWIGINTERN VALUE
3233
3368
  _wrap_new_Tag__SWIG_2(int argc, VALUE *argv, VALUE self) {
3234
3369
  TagLib::File *arg1 = (TagLib::File *) 0 ;
3235
- long arg2 ;
3370
+ TagLib::offset_t arg2 ;
3236
3371
  void *argp1 = 0 ;
3237
3372
  int res1 = 0 ;
3238
- long val2 ;
3373
+ long long val2 ;
3239
3374
  int ecode2 = 0 ;
3240
3375
  TagLib::ID3v2::Tag *result = 0 ;
3241
3376
 
@@ -3247,11 +3382,11 @@ _wrap_new_Tag__SWIG_2(int argc, VALUE *argv, VALUE self) {
3247
3382
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::File *","Tag", 1, argv[0] ));
3248
3383
  }
3249
3384
  arg1 = reinterpret_cast< TagLib::File * >(argp1);
3250
- ecode2 = SWIG_AsVal_long(argv[1], &val2);
3385
+ ecode2 = SWIG_AsVal_long_SS_long(argv[1], &val2);
3251
3386
  if (!SWIG_IsOK(ecode2)) {
3252
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","Tag", 2, argv[1] ));
3387
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::offset_t","Tag", 2, argv[1] ));
3253
3388
  }
3254
- arg2 = static_cast< long >(val2);
3389
+ arg2 = static_cast< TagLib::offset_t >(val2);
3255
3390
  result = (TagLib::ID3v2::Tag *)new TagLib::ID3v2::Tag(arg1,arg2);
3256
3391
  DATA_PTR(self) = result;
3257
3392
  SWIG_RubyAddTracking(result, self);
@@ -3281,7 +3416,7 @@ SWIGINTERN VALUE _wrap_new_Tag(int nargs, VALUE *args, VALUE self) {
3281
3416
  _v = SWIG_CheckState(res);
3282
3417
  if (_v) {
3283
3418
  {
3284
- int res = SWIG_AsVal_long(argv[1], NULL);
3419
+ int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
3285
3420
  _v = SWIG_CheckState(res);
3286
3421
  }
3287
3422
  if (_v) {
@@ -3296,7 +3431,7 @@ SWIGINTERN VALUE _wrap_new_Tag(int nargs, VALUE *args, VALUE self) {
3296
3431
  _v = SWIG_CheckState(res);
3297
3432
  if (_v) {
3298
3433
  {
3299
- int res = SWIG_AsVal_long(argv[1], NULL);
3434
+ int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
3300
3435
  _v = SWIG_CheckState(res);
3301
3436
  }
3302
3437
  if (_v) {
@@ -3313,8 +3448,8 @@ SWIGINTERN VALUE _wrap_new_Tag(int nargs, VALUE *args, VALUE self) {
3313
3448
  fail:
3314
3449
  Ruby_Format_OverloadedError( argc, 3, "Tag.new",
3315
3450
  " Tag.new()\n"
3316
- " Tag.new(TagLib::File *file, long tagOffset, TagLib::ID3v2::FrameFactory const *factory)\n"
3317
- " Tag.new(TagLib::File *file, long tagOffset)\n");
3451
+ " Tag.new(TagLib::File *file, TagLib::offset_t tagOffset, TagLib::ID3v2::FrameFactory const *factory)\n"
3452
+ " Tag.new(TagLib::File *file, TagLib::offset_t tagOffset)\n");
3318
3453
 
3319
3454
  return Qnil;
3320
3455
  }
@@ -3770,30 +3905,6 @@ fail:
3770
3905
  }
3771
3906
 
3772
3907
 
3773
- SWIGINTERN VALUE
3774
- _wrap_Tag_footer(int argc, VALUE *argv, VALUE self) {
3775
- TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3776
- void *argp1 = 0 ;
3777
- int res1 = 0 ;
3778
- TagLib::ID3v2::Footer *result = 0 ;
3779
- VALUE vresult = Qnil;
3780
-
3781
- if ((argc < 0) || (argc > 0)) {
3782
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3783
- }
3784
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__Tag, 0 | 0 );
3785
- if (!SWIG_IsOK(res1)) {
3786
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","footer", 1, self ));
3787
- }
3788
- arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3789
- result = (TagLib::ID3v2::Footer *)((TagLib::ID3v2::Tag const *)arg1)->footer();
3790
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Footer, 0 | 0 );
3791
- return vresult;
3792
- fail:
3793
- return Qnil;
3794
- }
3795
-
3796
-
3797
3908
  SWIGINTERN VALUE
3798
3909
  _wrap_Tag_frame_list_map(int argc, VALUE *argv, VALUE self) {
3799
3910
  TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
@@ -4023,53 +4134,15 @@ fail:
4023
4134
 
4024
4135
 
4025
4136
  SWIGINTERN VALUE
4026
- _wrap_FrameFactory_create_frame__SWIG_0(int argc, VALUE *argv, VALUE self) {
4137
+ _wrap_FrameFactory_create_frame(int argc, VALUE *argv, VALUE self) {
4027
4138
  TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4028
4139
  TagLib::ByteVector *arg2 = 0 ;
4029
- bool arg3 ;
4030
- void *argp1 = 0 ;
4031
- int res1 = 0 ;
4032
- TagLib::ByteVector tmp2 ;
4033
- bool val3 ;
4034
- int ecode3 = 0 ;
4035
- TagLib::ID3v2::Frame *result = 0 ;
4036
- VALUE vresult = Qnil;
4037
-
4038
- if ((argc < 2) || (argc > 2)) {
4039
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
4040
- }
4041
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0 | 0 );
4042
- if (!SWIG_IsOK(res1)) {
4043
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","createFrame", 1, self ));
4044
- }
4045
- arg1 = reinterpret_cast< TagLib::ID3v2::FrameFactory * >(argp1);
4046
- {
4047
- tmp2 = ruby_string_to_taglib_bytevector(argv[0]);
4048
- arg2 = &tmp2;
4049
- }
4050
- ecode3 = SWIG_AsVal_bool(argv[1], &val3);
4051
- if (!SWIG_IsOK(ecode3)) {
4052
- SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","createFrame", 3, argv[1] ));
4053
- }
4054
- arg3 = static_cast< bool >(val3);
4055
- result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2,arg3);
4056
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
4057
- return vresult;
4058
- fail:
4059
- return Qnil;
4060
- }
4061
-
4062
-
4063
- SWIGINTERN VALUE
4064
- _wrap_FrameFactory_create_frame__SWIG_1(int argc, VALUE *argv, VALUE self) {
4065
- TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4066
- TagLib::ByteVector *arg2 = 0 ;
4067
- unsigned int arg3 ;
4140
+ TagLib::ID3v2::Header *arg3 = (TagLib::ID3v2::Header *) 0 ;
4068
4141
  void *argp1 = 0 ;
4069
4142
  int res1 = 0 ;
4070
4143
  TagLib::ByteVector tmp2 ;
4071
- unsigned int val3 ;
4072
- int ecode3 = 0 ;
4144
+ void *argp3 = 0 ;
4145
+ int res3 = 0 ;
4073
4146
  TagLib::ID3v2::Frame *result = 0 ;
4074
4147
  VALUE vresult = Qnil;
4075
4148
 
@@ -4085,42 +4158,12 @@ _wrap_FrameFactory_create_frame__SWIG_1(int argc, VALUE *argv, VALUE self) {
4085
4158
  tmp2 = ruby_string_to_taglib_bytevector(argv[0]);
4086
4159
  arg2 = &tmp2;
4087
4160
  }
4088
- ecode3 = SWIG_AsVal_unsigned_SS_int(argv[1], &val3);
4089
- if (!SWIG_IsOK(ecode3)) {
4090
- SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","createFrame", 3, argv[1] ));
4091
- }
4092
- arg3 = static_cast< unsigned int >(val3);
4093
- result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2,arg3);
4094
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
4095
- return vresult;
4096
- fail:
4097
- return Qnil;
4098
- }
4099
-
4100
-
4101
- SWIGINTERN VALUE
4102
- _wrap_FrameFactory_create_frame__SWIG_2(int argc, VALUE *argv, VALUE self) {
4103
- TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4104
- TagLib::ByteVector *arg2 = 0 ;
4105
- void *argp1 = 0 ;
4106
- int res1 = 0 ;
4107
- TagLib::ByteVector tmp2 ;
4108
- TagLib::ID3v2::Frame *result = 0 ;
4109
- VALUE vresult = Qnil;
4110
-
4111
- if ((argc < 1) || (argc > 1)) {
4112
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4113
- }
4114
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0 | 0 );
4115
- if (!SWIG_IsOK(res1)) {
4116
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","createFrame", 1, self ));
4117
- }
4118
- arg1 = reinterpret_cast< TagLib::ID3v2::FrameFactory * >(argp1);
4119
- {
4120
- tmp2 = ruby_string_to_taglib_bytevector(argv[0]);
4121
- arg2 = &tmp2;
4161
+ res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_TagLib__ID3v2__Header, 0 | 0 );
4162
+ if (!SWIG_IsOK(res3)) {
4163
+ SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header const *","createFrame", 3, argv[1] ));
4122
4164
  }
4123
- result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2);
4165
+ arg3 = reinterpret_cast< TagLib::ID3v2::Header * >(argp3);
4166
+ result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2,(TagLib::ID3v2::Header const *)arg3);
4124
4167
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
4125
4168
  return vresult;
4126
4169
  fail:
@@ -4129,15 +4172,14 @@ fail:
4129
4172
 
4130
4173
 
4131
4174
  SWIGINTERN VALUE
4132
- _wrap_FrameFactory_create_frame__SWIG_3(int argc, VALUE *argv, VALUE self) {
4175
+ _wrap_FrameFactory_create_frame_for_property(int argc, VALUE *argv, VALUE self) {
4133
4176
  TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4134
- TagLib::ByteVector *arg2 = 0 ;
4135
- TagLib::ID3v2::Header *arg3 = (TagLib::ID3v2::Header *) 0 ;
4177
+ TagLib::String *arg2 = 0 ;
4178
+ TagLib::StringList *arg3 = 0 ;
4136
4179
  void *argp1 = 0 ;
4137
4180
  int res1 = 0 ;
4138
- TagLib::ByteVector tmp2 ;
4139
- void *argp3 = 0 ;
4140
- int res3 = 0 ;
4181
+ TagLib::String tmp2 ;
4182
+ TagLib::StringList tmp3 ;
4141
4183
  TagLib::ID3v2::Frame *result = 0 ;
4142
4184
  VALUE vresult = Qnil;
4143
4185
 
@@ -4146,19 +4188,18 @@ _wrap_FrameFactory_create_frame__SWIG_3(int argc, VALUE *argv, VALUE self) {
4146
4188
  }
4147
4189
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0 | 0 );
4148
4190
  if (!SWIG_IsOK(res1)) {
4149
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","createFrame", 1, self ));
4191
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","createFrameForProperty", 1, self ));
4150
4192
  }
4151
4193
  arg1 = reinterpret_cast< TagLib::ID3v2::FrameFactory * >(argp1);
4152
4194
  {
4153
- tmp2 = ruby_string_to_taglib_bytevector(argv[0]);
4195
+ tmp2 = ruby_string_to_taglib_string(argv[0]);
4154
4196
  arg2 = &tmp2;
4155
4197
  }
4156
- res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_TagLib__ID3v2__Header, 0 | 0 );
4157
- if (!SWIG_IsOK(res3)) {
4158
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header *","createFrame", 3, argv[1] ));
4198
+ {
4199
+ tmp3 = ruby_array_to_taglib_string_list(argv[1]);
4200
+ arg3 = &tmp3;
4159
4201
  }
4160
- arg3 = reinterpret_cast< TagLib::ID3v2::Header * >(argp3);
4161
- result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2,arg3);
4202
+ result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrameForProperty((TagLib::String const &)*arg2,(TagLib::StringList const &)*arg3);
4162
4203
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
4163
4204
  return vresult;
4164
4205
  fail:
@@ -4166,98 +4207,6 @@ fail:
4166
4207
  }
4167
4208
 
4168
4209
 
4169
- SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE self) {
4170
- int argc;
4171
- VALUE argv[4];
4172
- int ii;
4173
-
4174
- argc = nargs + 1;
4175
- argv[0] = self;
4176
- if (argc > 4) SWIG_fail;
4177
- for (ii = 1; (ii < argc); ++ii) {
4178
- argv[ii] = args[ii-1];
4179
- }
4180
- if (argc == 2) {
4181
- int _v = 0;
4182
- void *vptr = 0;
4183
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
4184
- _v = SWIG_CheckState(res);
4185
- if (_v) {
4186
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4187
- _v = SWIG_CheckState(res);
4188
- if (_v) {
4189
- return _wrap_FrameFactory_create_frame__SWIG_2(nargs, args, self);
4190
- }
4191
- }
4192
- }
4193
- if (argc == 3) {
4194
- int _v = 0;
4195
- void *vptr = 0;
4196
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
4197
- _v = SWIG_CheckState(res);
4198
- if (_v) {
4199
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4200
- _v = SWIG_CheckState(res);
4201
- if (_v) {
4202
- void *vptr = 0;
4203
- int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_TagLib__ID3v2__Header, 0);
4204
- _v = SWIG_CheckState(res);
4205
- if (_v) {
4206
- return _wrap_FrameFactory_create_frame__SWIG_3(nargs, args, self);
4207
- }
4208
- }
4209
- }
4210
- }
4211
- if (argc == 3) {
4212
- int _v = 0;
4213
- void *vptr = 0;
4214
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
4215
- _v = SWIG_CheckState(res);
4216
- if (_v) {
4217
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4218
- _v = SWIG_CheckState(res);
4219
- if (_v) {
4220
- {
4221
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
4222
- _v = SWIG_CheckState(res);
4223
- }
4224
- if (_v) {
4225
- return _wrap_FrameFactory_create_frame__SWIG_1(nargs, args, self);
4226
- }
4227
- }
4228
- }
4229
- }
4230
- if (argc == 3) {
4231
- int _v = 0;
4232
- void *vptr = 0;
4233
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0);
4234
- _v = SWIG_CheckState(res);
4235
- if (_v) {
4236
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4237
- _v = SWIG_CheckState(res);
4238
- if (_v) {
4239
- {
4240
- int res = SWIG_AsVal_bool(argv[2], NULL);
4241
- _v = SWIG_CheckState(res);
4242
- }
4243
- if (_v) {
4244
- return _wrap_FrameFactory_create_frame__SWIG_0(nargs, args, self);
4245
- }
4246
- }
4247
- }
4248
- }
4249
-
4250
- fail:
4251
- Ruby_Format_OverloadedError( argc, 4, "FrameFactory.create_frame",
4252
- " TagLib::ID3v2::Frame FrameFactory.create_frame(TagLib::ByteVector const &data, bool synchSafeInts)\n"
4253
- " TagLib::ID3v2::Frame FrameFactory.create_frame(TagLib::ByteVector const &data, unsigned int version)\n"
4254
- " TagLib::ID3v2::Frame FrameFactory.create_frame(TagLib::ByteVector const &data)\n"
4255
- " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data, TagLib::ID3v2::Header *tagHeader)\n");
4256
-
4257
- return Qnil;
4258
- }
4259
-
4260
-
4261
4210
  SWIGINTERN VALUE
4262
4211
  _wrap_FrameFactory_default_text_encoding(int argc, VALUE *argv, VALUE self) {
4263
4212
  TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
@@ -4311,6 +4260,30 @@ fail:
4311
4260
  }
4312
4261
 
4313
4262
 
4263
+ SWIGINTERN VALUE
4264
+ _wrap_FrameFactory_is_using_default_text_encoding(int argc, VALUE *argv, VALUE self) {
4265
+ TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4266
+ void *argp1 = 0 ;
4267
+ int res1 = 0 ;
4268
+ bool result;
4269
+ VALUE vresult = Qnil;
4270
+
4271
+ if ((argc < 0) || (argc > 0)) {
4272
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4273
+ }
4274
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__FrameFactory, 0 | 0 );
4275
+ if (!SWIG_IsOK(res1)) {
4276
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::FrameFactory const *","isUsingDefaultTextEncoding", 1, self ));
4277
+ }
4278
+ arg1 = reinterpret_cast< TagLib::ID3v2::FrameFactory * >(argp1);
4279
+ result = (bool)((TagLib::ID3v2::FrameFactory const *)arg1)->isUsingDefaultTextEncoding();
4280
+ vresult = SWIG_From_bool(static_cast< bool >(result));
4281
+ return vresult;
4282
+ fail:
4283
+ return Qnil;
4284
+ }
4285
+
4286
+
4314
4287
  static swig_class SwigClassRelativeVolumeFrame;
4315
4288
 
4316
4289
  SWIGINTERN VALUE
@@ -4462,59 +4435,6 @@ fail:
4462
4435
  }
4463
4436
 
4464
4437
 
4465
- SWIGINTERN VALUE
4466
- _wrap_RelativeVolumeFrame_channel_type(int argc, VALUE *argv, VALUE self) {
4467
- TagLib::ID3v2::RelativeVolumeFrame *arg1 = (TagLib::ID3v2::RelativeVolumeFrame *) 0 ;
4468
- void *argp1 = 0 ;
4469
- int res1 = 0 ;
4470
- TagLib::ID3v2::RelativeVolumeFrame::ChannelType result;
4471
- VALUE vresult = Qnil;
4472
-
4473
- if ((argc < 0) || (argc > 0)) {
4474
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
4475
- }
4476
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__RelativeVolumeFrame, 0 | 0 );
4477
- if (!SWIG_IsOK(res1)) {
4478
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::RelativeVolumeFrame const *","channelType", 1, self ));
4479
- }
4480
- arg1 = reinterpret_cast< TagLib::ID3v2::RelativeVolumeFrame * >(argp1);
4481
- result = (TagLib::ID3v2::RelativeVolumeFrame::ChannelType)((TagLib::ID3v2::RelativeVolumeFrame const *)arg1)->channelType();
4482
- vresult = SWIG_From_int(static_cast< int >(result));
4483
- return vresult;
4484
- fail:
4485
- return Qnil;
4486
- }
4487
-
4488
-
4489
- SWIGINTERN VALUE
4490
- _wrap_RelativeVolumeFrame_channel_typee___(int argc, VALUE *argv, VALUE self) {
4491
- TagLib::ID3v2::RelativeVolumeFrame *arg1 = (TagLib::ID3v2::RelativeVolumeFrame *) 0 ;
4492
- TagLib::ID3v2::RelativeVolumeFrame::ChannelType arg2 ;
4493
- void *argp1 = 0 ;
4494
- int res1 = 0 ;
4495
- int val2 ;
4496
- int ecode2 = 0 ;
4497
-
4498
- if ((argc < 1) || (argc > 1)) {
4499
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
4500
- }
4501
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__RelativeVolumeFrame, 0 | 0 );
4502
- if (!SWIG_IsOK(res1)) {
4503
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::RelativeVolumeFrame *","setChannelType", 1, self ));
4504
- }
4505
- arg1 = reinterpret_cast< TagLib::ID3v2::RelativeVolumeFrame * >(argp1);
4506
- ecode2 = SWIG_AsVal_int(argv[0], &val2);
4507
- if (!SWIG_IsOK(ecode2)) {
4508
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::ID3v2::RelativeVolumeFrame::ChannelType","setChannelType", 2, argv[0] ));
4509
- }
4510
- arg2 = static_cast< TagLib::ID3v2::RelativeVolumeFrame::ChannelType >(val2);
4511
- (arg1)->setChannelType(arg2);
4512
- return Qnil;
4513
- fail:
4514
- return Qnil;
4515
- }
4516
-
4517
-
4518
4438
  SWIGINTERN VALUE
4519
4439
  _wrap_RelativeVolumeFrame_volume_adjustment_index__SWIG_0(int argc, VALUE *argv, VALUE self) {
4520
4440
  TagLib::ID3v2::RelativeVolumeFrame *arg1 = (TagLib::ID3v2::RelativeVolumeFrame *) 0 ;
@@ -5229,54 +5149,23 @@ _wrap_RelativeVolumeFrame_identificatione___(int argc, VALUE *argv, VALUE self)
5229
5149
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5230
5150
  }
5231
5151
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__RelativeVolumeFrame, 0 | 0 );
5232
- if (!SWIG_IsOK(res1)) {
5233
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::RelativeVolumeFrame *","setIdentification", 1, self ));
5234
- }
5235
- arg1 = reinterpret_cast< TagLib::ID3v2::RelativeVolumeFrame * >(argp1);
5236
- {
5237
- tmp2 = ruby_string_to_taglib_string(argv[0]);
5238
- arg2 = &tmp2;
5239
- }
5240
- (arg1)->setIdentification((TagLib::String const &)*arg2);
5241
- return Qnil;
5242
- fail:
5243
- return Qnil;
5244
- }
5245
-
5246
-
5247
- static swig_class SwigClassPeakVolume;
5248
-
5249
- SWIGINTERN VALUE
5250
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5251
- _wrap_PeakVolume_allocate(VALUE self)
5252
- #else
5253
- _wrap_PeakVolume_allocate(int argc, VALUE *argv, VALUE self)
5254
- #endif
5255
- {
5256
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_TagLib__ID3v2__RelativeVolumeFrame__PeakVolume);
5257
- #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5258
- rb_obj_call_init(vresult, argc, argv);
5259
- #endif
5260
- return vresult;
5261
- }
5262
-
5263
-
5264
- SWIGINTERN VALUE
5265
- _wrap_new_PeakVolume(int argc, VALUE *argv, VALUE self) {
5266
- TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *result = 0 ;
5267
-
5268
- if ((argc < 0) || (argc > 0)) {
5269
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5152
+ if (!SWIG_IsOK(res1)) {
5153
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::RelativeVolumeFrame *","setIdentification", 1, self ));
5270
5154
  }
5271
- result = (TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *)new TagLib::ID3v2::RelativeVolumeFrame::PeakVolume();
5272
- DATA_PTR(self) = result;
5273
- SWIG_RubyAddTracking(result, self);
5274
- return self;
5155
+ arg1 = reinterpret_cast< TagLib::ID3v2::RelativeVolumeFrame * >(argp1);
5156
+ {
5157
+ tmp2 = ruby_string_to_taglib_string(argv[0]);
5158
+ arg2 = &tmp2;
5159
+ }
5160
+ (arg1)->setIdentification((TagLib::String const &)*arg2);
5161
+ return Qnil;
5275
5162
  fail:
5276
5163
  return Qnil;
5277
5164
  }
5278
5165
 
5279
5166
 
5167
+ static swig_class SwigClassPeakVolume;
5168
+
5280
5169
  SWIGINTERN VALUE
5281
5170
  _wrap_PeakVolume_bits_representing_peak_set(int argc, VALUE *argv, VALUE self) {
5282
5171
  TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *arg1 = (TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *) 0 ;
@@ -5383,6 +5272,37 @@ fail:
5383
5272
  }
5384
5273
 
5385
5274
 
5275
+ SWIGINTERN VALUE
5276
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5277
+ _wrap_PeakVolume_allocate(VALUE self)
5278
+ #else
5279
+ _wrap_PeakVolume_allocate(int argc, VALUE *argv, VALUE self)
5280
+ #endif
5281
+ {
5282
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_TagLib__ID3v2__RelativeVolumeFrame__PeakVolume);
5283
+ #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5284
+ rb_obj_call_init(vresult, argc, argv);
5285
+ #endif
5286
+ return vresult;
5287
+ }
5288
+
5289
+
5290
+ SWIGINTERN VALUE
5291
+ _wrap_new_PeakVolume(int argc, VALUE *argv, VALUE self) {
5292
+ TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *result = 0 ;
5293
+
5294
+ if ((argc < 0) || (argc > 0)) {
5295
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5296
+ }
5297
+ result = (TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *)new TagLib::ID3v2::RelativeVolumeFrame::PeakVolume();
5298
+ DATA_PTR(self) = result;
5299
+ SWIG_RubyAddTracking(result, self);
5300
+ return self;
5301
+ fail:
5302
+ return Qnil;
5303
+ }
5304
+
5305
+
5386
5306
  SWIGINTERN void
5387
5307
  free_TagLib_ID3v2_RelativeVolumeFrame_PeakVolume(void *self) {
5388
5308
  TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *arg1 = (TagLib::ID3v2::RelativeVolumeFrame::PeakVolume *)self;
@@ -5392,6 +5312,54 @@ free_TagLib_ID3v2_RelativeVolumeFrame_PeakVolume(void *self) {
5392
5312
 
5393
5313
  static swig_class SwigClassAttachedPictureFrame;
5394
5314
 
5315
+ SWIGINTERN VALUE
5316
+ _wrap_AttachedPictureFrame_type_to_string(int argc, VALUE *argv, VALUE self) {
5317
+ TagLib::ID3v2::AttachedPictureFrame::Type arg1 ;
5318
+ int val1 ;
5319
+ int ecode1 = 0 ;
5320
+ TagLib::String result;
5321
+ VALUE vresult = Qnil;
5322
+
5323
+ if ((argc < 1) || (argc > 1)) {
5324
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5325
+ }
5326
+ ecode1 = SWIG_AsVal_int(argv[0], &val1);
5327
+ if (!SWIG_IsOK(ecode1)) {
5328
+ SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "TagLib::ID3v2::AttachedPictureFrame::Type","TagLib::ID3v2::AttachedPictureFrame::typeToString", 1, argv[0] ));
5329
+ }
5330
+ arg1 = static_cast< TagLib::ID3v2::AttachedPictureFrame::Type >(val1);
5331
+ result = TagLib::ID3v2::AttachedPictureFrame::typeToString(arg1);
5332
+ {
5333
+ vresult = taglib_string_to_ruby_string(result);
5334
+ }
5335
+ return vresult;
5336
+ fail:
5337
+ return Qnil;
5338
+ }
5339
+
5340
+
5341
+ SWIGINTERN VALUE
5342
+ _wrap_AttachedPictureFrame_type_from_string(int argc, VALUE *argv, VALUE self) {
5343
+ TagLib::String *arg1 = 0 ;
5344
+ TagLib::String tmp1 ;
5345
+ TagLib::ID3v2::AttachedPictureFrame::Type result;
5346
+ VALUE vresult = Qnil;
5347
+
5348
+ if ((argc < 1) || (argc > 1)) {
5349
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
5350
+ }
5351
+ {
5352
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
5353
+ arg1 = &tmp1;
5354
+ }
5355
+ result = (TagLib::ID3v2::AttachedPictureFrame::Type)TagLib::ID3v2::AttachedPictureFrame::typeFromString((TagLib::String const &)*arg1);
5356
+ vresult = SWIG_From_int(static_cast< int >(result));
5357
+ return vresult;
5358
+ fail:
5359
+ return Qnil;
5360
+ }
5361
+
5362
+
5395
5363
  SWIGINTERN VALUE
5396
5364
  _wrap_new_AttachedPictureFrame__SWIG_0(int argc, VALUE *argv, VALUE self) {
5397
5365
  TagLib::ID3v2::AttachedPictureFrame *result = 0 ;
@@ -5509,6 +5477,32 @@ fail:
5509
5477
  }
5510
5478
 
5511
5479
 
5480
+ SWIGINTERN VALUE
5481
+ _wrap_AttachedPictureFrame_to_string_list(int argc, VALUE *argv, VALUE self) {
5482
+ TagLib::ID3v2::AttachedPictureFrame *arg1 = (TagLib::ID3v2::AttachedPictureFrame *) 0 ;
5483
+ void *argp1 = 0 ;
5484
+ int res1 = 0 ;
5485
+ TagLib::StringList result;
5486
+ VALUE vresult = Qnil;
5487
+
5488
+ if ((argc < 0) || (argc > 0)) {
5489
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
5490
+ }
5491
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__AttachedPictureFrame, 0 | 0 );
5492
+ if (!SWIG_IsOK(res1)) {
5493
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::AttachedPictureFrame const *","toStringList", 1, self ));
5494
+ }
5495
+ arg1 = reinterpret_cast< TagLib::ID3v2::AttachedPictureFrame * >(argp1);
5496
+ result = ((TagLib::ID3v2::AttachedPictureFrame const *)arg1)->toStringList();
5497
+ {
5498
+ vresult = taglib_string_list_to_ruby_array(result);
5499
+ }
5500
+ return vresult;
5501
+ fail:
5502
+ return Qnil;
5503
+ }
5504
+
5505
+
5512
5506
  SWIGINTERN VALUE
5513
5507
  _wrap_AttachedPictureFrame_text_encoding(int argc, VALUE *argv, VALUE self) {
5514
5508
  TagLib::ID3v2::AttachedPictureFrame *arg1 = (TagLib::ID3v2::AttachedPictureFrame *) 0 ;
@@ -7205,6 +7199,32 @@ fail:
7205
7199
  }
7206
7200
 
7207
7201
 
7202
+ SWIGINTERN VALUE
7203
+ _wrap_GeneralEncapsulatedObjectFrame_to_string_list(int argc, VALUE *argv, VALUE self) {
7204
+ TagLib::ID3v2::GeneralEncapsulatedObjectFrame *arg1 = (TagLib::ID3v2::GeneralEncapsulatedObjectFrame *) 0 ;
7205
+ void *argp1 = 0 ;
7206
+ int res1 = 0 ;
7207
+ TagLib::StringList result;
7208
+ VALUE vresult = Qnil;
7209
+
7210
+ if ((argc < 0) || (argc > 0)) {
7211
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7212
+ }
7213
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame, 0 | 0 );
7214
+ if (!SWIG_IsOK(res1)) {
7215
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::GeneralEncapsulatedObjectFrame const *","toStringList", 1, self ));
7216
+ }
7217
+ arg1 = reinterpret_cast< TagLib::ID3v2::GeneralEncapsulatedObjectFrame * >(argp1);
7218
+ result = ((TagLib::ID3v2::GeneralEncapsulatedObjectFrame const *)arg1)->toStringList();
7219
+ {
7220
+ vresult = taglib_string_list_to_ruby_array(result);
7221
+ }
7222
+ return vresult;
7223
+ fail:
7224
+ return Qnil;
7225
+ }
7226
+
7227
+
7208
7228
  SWIGINTERN VALUE
7209
7229
  _wrap_GeneralEncapsulatedObjectFrame_text_encoding(int argc, VALUE *argv, VALUE self) {
7210
7230
  TagLib::ID3v2::GeneralEncapsulatedObjectFrame *arg1 = (TagLib::ID3v2::GeneralEncapsulatedObjectFrame *) 0 ;
@@ -7589,6 +7609,32 @@ fail:
7589
7609
  }
7590
7610
 
7591
7611
 
7612
+ SWIGINTERN VALUE
7613
+ _wrap_PopularimeterFrame_to_string_list(int argc, VALUE *argv, VALUE self) {
7614
+ TagLib::ID3v2::PopularimeterFrame *arg1 = (TagLib::ID3v2::PopularimeterFrame *) 0 ;
7615
+ void *argp1 = 0 ;
7616
+ int res1 = 0 ;
7617
+ TagLib::StringList result;
7618
+ VALUE vresult = Qnil;
7619
+
7620
+ if ((argc < 0) || (argc > 0)) {
7621
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
7622
+ }
7623
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__PopularimeterFrame, 0 | 0 );
7624
+ if (!SWIG_IsOK(res1)) {
7625
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::PopularimeterFrame const *","toStringList", 1, self ));
7626
+ }
7627
+ arg1 = reinterpret_cast< TagLib::ID3v2::PopularimeterFrame * >(argp1);
7628
+ result = ((TagLib::ID3v2::PopularimeterFrame const *)arg1)->toStringList();
7629
+ {
7630
+ vresult = taglib_string_list_to_ruby_array(result);
7631
+ }
7632
+ return vresult;
7633
+ fail:
7634
+ return Qnil;
7635
+ }
7636
+
7637
+
7592
7638
  SWIGINTERN VALUE
7593
7639
  _wrap_PopularimeterFrame_email(int argc, VALUE *argv, VALUE self) {
7594
7640
  TagLib::ID3v2::PopularimeterFrame *arg1 = (TagLib::ID3v2::PopularimeterFrame *) 0 ;
@@ -9037,6 +9083,32 @@ fail:
9037
9083
  }
9038
9084
 
9039
9085
 
9086
+ SWIGINTERN VALUE
9087
+ _wrap_TextIdentificationFrame_to_string_list(int argc, VALUE *argv, VALUE self) {
9088
+ TagLib::ID3v2::TextIdentificationFrame *arg1 = (TagLib::ID3v2::TextIdentificationFrame *) 0 ;
9089
+ void *argp1 = 0 ;
9090
+ int res1 = 0 ;
9091
+ TagLib::StringList result;
9092
+ VALUE vresult = Qnil;
9093
+
9094
+ if ((argc < 0) || (argc > 0)) {
9095
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9096
+ }
9097
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__TextIdentificationFrame, 0 | 0 );
9098
+ if (!SWIG_IsOK(res1)) {
9099
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::TextIdentificationFrame const *","toStringList", 1, self ));
9100
+ }
9101
+ arg1 = reinterpret_cast< TagLib::ID3v2::TextIdentificationFrame * >(argp1);
9102
+ result = ((TagLib::ID3v2::TextIdentificationFrame const *)arg1)->toStringList();
9103
+ {
9104
+ vresult = taglib_string_list_to_ruby_array(result);
9105
+ }
9106
+ return vresult;
9107
+ fail:
9108
+ return Qnil;
9109
+ }
9110
+
9111
+
9040
9112
  SWIGINTERN VALUE
9041
9113
  _wrap_TextIdentificationFrame_text_encoding(int argc, VALUE *argv, VALUE self) {
9042
9114
  TagLib::ID3v2::TextIdentificationFrame *arg1 = (TagLib::ID3v2::TextIdentificationFrame *) 0 ;
@@ -9335,6 +9407,13 @@ fail:
9335
9407
  }
9336
9408
 
9337
9409
 
9410
+ SWIGINTERN void
9411
+ free_TagLib_ID3v2_UserTextIdentificationFrame(void *self) {
9412
+ TagLib::ID3v2::UserTextIdentificationFrame *arg1 = (TagLib::ID3v2::UserTextIdentificationFrame *)self;
9413
+ SWIG_RubyRemoveTracking(arg1);
9414
+ delete arg1;
9415
+ }
9416
+
9338
9417
  SWIGINTERN VALUE
9339
9418
  _wrap_UserTextIdentificationFrame_to_string(int argc, VALUE *argv, VALUE self) {
9340
9419
  TagLib::ID3v2::UserTextIdentificationFrame *arg1 = (TagLib::ID3v2::UserTextIdentificationFrame *) 0 ;
@@ -9414,32 +9493,6 @@ fail:
9414
9493
  }
9415
9494
 
9416
9495
 
9417
- SWIGINTERN VALUE
9418
- _wrap_UserTextIdentificationFrame_field_list(int argc, VALUE *argv, VALUE self) {
9419
- TagLib::ID3v2::UserTextIdentificationFrame *arg1 = (TagLib::ID3v2::UserTextIdentificationFrame *) 0 ;
9420
- void *argp1 = 0 ;
9421
- int res1 = 0 ;
9422
- TagLib::StringList result;
9423
- VALUE vresult = Qnil;
9424
-
9425
- if ((argc < 0) || (argc > 0)) {
9426
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
9427
- }
9428
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__UserTextIdentificationFrame, 0 | 0 );
9429
- if (!SWIG_IsOK(res1)) {
9430
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::UserTextIdentificationFrame const *","fieldList", 1, self ));
9431
- }
9432
- arg1 = reinterpret_cast< TagLib::ID3v2::UserTextIdentificationFrame * >(argp1);
9433
- result = ((TagLib::ID3v2::UserTextIdentificationFrame const *)arg1)->fieldList();
9434
- {
9435
- vresult = taglib_string_list_to_ruby_array(result);
9436
- }
9437
- return vresult;
9438
- fail:
9439
- return Qnil;
9440
- }
9441
-
9442
-
9443
9496
  SWIGINTERN VALUE
9444
9497
  _wrap_UserTextIdentificationFrame_texte___(int argc, VALUE *argv, VALUE self) {
9445
9498
  TagLib::ID3v2::UserTextIdentificationFrame *arg1 = (TagLib::ID3v2::UserTextIdentificationFrame *) 0 ;
@@ -9517,14 +9570,14 @@ _wrap_UserTextIdentificationFrame_find(int argc, VALUE *argv, VALUE self) {
9517
9570
  }
9518
9571
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_TagLib__ID3v2__Tag, 0 | 0 );
9519
9572
  if (!SWIG_IsOK(res1)) {
9520
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag *","TagLib::ID3v2::UserTextIdentificationFrame::find", 1, argv[0] ));
9573
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","TagLib::ID3v2::UserTextIdentificationFrame::find", 1, argv[0] ));
9521
9574
  }
9522
9575
  arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
9523
9576
  {
9524
9577
  tmp2 = ruby_string_to_taglib_string(argv[1]);
9525
9578
  arg2 = &tmp2;
9526
9579
  }
9527
- result = (TagLib::ID3v2::UserTextIdentificationFrame *)TagLib::ID3v2::UserTextIdentificationFrame::find(arg1,(TagLib::String const &)*arg2);
9580
+ result = (TagLib::ID3v2::UserTextIdentificationFrame *)TagLib::ID3v2::UserTextIdentificationFrame::find((TagLib::ID3v2::Tag const *)arg1,(TagLib::String const &)*arg2);
9528
9581
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__UserTextIdentificationFrame, 0 | 0 );
9529
9582
  return vresult;
9530
9583
  fail:
@@ -9532,13 +9585,54 @@ fail:
9532
9585
  }
9533
9586
 
9534
9587
 
9535
- SWIGINTERN void
9536
- free_TagLib_ID3v2_UserTextIdentificationFrame(void *self) {
9537
- TagLib::ID3v2::UserTextIdentificationFrame *arg1 = (TagLib::ID3v2::UserTextIdentificationFrame *)self;
9538
- SWIG_RubyRemoveTracking(arg1);
9539
- delete arg1;
9588
+ SWIGINTERN VALUE
9589
+ _wrap_UserTextIdentificationFrame_key_to_txxx(int argc, VALUE *argv, VALUE self) {
9590
+ TagLib::String *arg1 = 0 ;
9591
+ TagLib::String tmp1 ;
9592
+ TagLib::String result;
9593
+ VALUE vresult = Qnil;
9594
+
9595
+ if ((argc < 1) || (argc > 1)) {
9596
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9597
+ }
9598
+ {
9599
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
9600
+ arg1 = &tmp1;
9601
+ }
9602
+ result = TagLib::ID3v2::UserTextIdentificationFrame::keyToTXXX((TagLib::String const &)*arg1);
9603
+ {
9604
+ vresult = taglib_string_to_ruby_string(result);
9605
+ }
9606
+ return vresult;
9607
+ fail:
9608
+ return Qnil;
9609
+ }
9610
+
9611
+
9612
+ SWIGINTERN VALUE
9613
+ _wrap_UserTextIdentificationFrame_txxx_to_key(int argc, VALUE *argv, VALUE self) {
9614
+ TagLib::String *arg1 = 0 ;
9615
+ TagLib::String tmp1 ;
9616
+ TagLib::String result;
9617
+ VALUE vresult = Qnil;
9618
+
9619
+ if ((argc < 1) || (argc > 1)) {
9620
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
9621
+ }
9622
+ {
9623
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
9624
+ arg1 = &tmp1;
9625
+ }
9626
+ result = TagLib::ID3v2::UserTextIdentificationFrame::txxxToKey((TagLib::String const &)*arg1);
9627
+ {
9628
+ vresult = taglib_string_to_ruby_string(result);
9629
+ }
9630
+ return vresult;
9631
+ fail:
9632
+ return Qnil;
9540
9633
  }
9541
9634
 
9635
+
9542
9636
  static swig_class SwigClassUniqueFileIdentifierFrame;
9543
9637
 
9544
9638
  SWIGINTERN VALUE
@@ -10733,9 +10827,9 @@ static swig_type_info _swigt__p_TagLib__ID3v2__AttachedPictureFrameV22 = {"_p_Ta
10733
10827
  static swig_type_info _swigt__p_TagLib__ID3v2__ChapterFrame = {"_p_TagLib__ID3v2__ChapterFrame", "TagLib::ID3v2::ChapterFrame *", 0, 0, (void*)0, 0};
10734
10828
  static swig_type_info _swigt__p_TagLib__ID3v2__CommentsFrame = {"_p_TagLib__ID3v2__CommentsFrame", "TagLib::ID3v2::CommentsFrame *", 0, 0, (void*)0, 0};
10735
10829
  static swig_type_info _swigt__p_TagLib__ID3v2__ExtendedHeader = {"_p_TagLib__ID3v2__ExtendedHeader", "TagLib::ID3v2::ExtendedHeader *", 0, 0, (void*)0, 0};
10736
- static swig_type_info _swigt__p_TagLib__ID3v2__Footer = {"_p_TagLib__ID3v2__Footer", "TagLib::ID3v2::Footer *", 0, 0, (void*)0, 0};
10737
10830
  static swig_type_info _swigt__p_TagLib__ID3v2__Frame = {"_p_TagLib__ID3v2__Frame", "TagLib::ID3v2::Frame *", 0, 0, (void*)0, 0};
10738
10831
  static swig_type_info _swigt__p_TagLib__ID3v2__FrameFactory = {"_p_TagLib__ID3v2__FrameFactory", "TagLib::ID3v2::FrameFactory *", 0, 0, (void*)0, 0};
10832
+ static swig_type_info _swigt__p_TagLib__ID3v2__Frame__Header = {"_p_TagLib__ID3v2__Frame__Header", "TagLib::ID3v2::Frame::Header *", 0, 0, (void*)0, 0};
10739
10833
  static swig_type_info _swigt__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame = {"_p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame", "TagLib::ID3v2::GeneralEncapsulatedObjectFrame *", 0, 0, (void*)0, 0};
10740
10834
  static swig_type_info _swigt__p_TagLib__ID3v2__Header = {"_p_TagLib__ID3v2__Header", "TagLib::ID3v2::Header *", 0, 0, (void*)0, 0};
10741
10835
  static swig_type_info _swigt__p_TagLib__ID3v2__PopularimeterFrame = {"_p_TagLib__ID3v2__PopularimeterFrame", "TagLib::ID3v2::PopularimeterFrame *", 0, 0, (void*)0, 0};
@@ -10754,6 +10848,7 @@ static swig_type_info _swigt__p_TagLib__ID3v2__UserUrlLinkFrame = {"_p_TagLib__I
10754
10848
  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};
10755
10849
  static swig_type_info _swigt__p_TagLib__Tag = {"_p_TagLib__Tag", "TagLib::Tag *", 0, 0, (void*)0, 0};
10756
10850
  static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
10851
+ static swig_type_info _swigt__p_long_long = {"_p_long_long", "TagLib::offset_t *|long long *", 0, 0, (void*)0, 0};
10757
10852
  static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "TagLib::uchar *|unsigned char *", 0, 0, (void*)0, 0};
10758
10853
  static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "TagLib::uint *|unsigned int *", 0, 0, (void*)0, 0};
10759
10854
  static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "TagLib::ulong *|unsigned long *", 0, 0, (void*)0, 0};
@@ -10769,9 +10864,9 @@ static swig_type_info *swig_type_initial[] = {
10769
10864
  &_swigt__p_TagLib__ID3v2__ChapterFrame,
10770
10865
  &_swigt__p_TagLib__ID3v2__CommentsFrame,
10771
10866
  &_swigt__p_TagLib__ID3v2__ExtendedHeader,
10772
- &_swigt__p_TagLib__ID3v2__Footer,
10773
10867
  &_swigt__p_TagLib__ID3v2__Frame,
10774
10868
  &_swigt__p_TagLib__ID3v2__FrameFactory,
10869
+ &_swigt__p_TagLib__ID3v2__Frame__Header,
10775
10870
  &_swigt__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame,
10776
10871
  &_swigt__p_TagLib__ID3v2__Header,
10777
10872
  &_swigt__p_TagLib__ID3v2__PopularimeterFrame,
@@ -10790,6 +10885,7 @@ static swig_type_info *swig_type_initial[] = {
10790
10885
  &_swigt__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t,
10791
10886
  &_swigt__p_TagLib__Tag,
10792
10887
  &_swigt__p_char,
10888
+ &_swigt__p_long_long,
10793
10889
  &_swigt__p_unsigned_char,
10794
10890
  &_swigt__p_unsigned_int,
10795
10891
  &_swigt__p_unsigned_long,
@@ -10805,9 +10901,9 @@ static swig_cast_info _swigc__p_TagLib__ID3v2__AttachedPictureFrameV22[] = { {&
10805
10901
  static swig_cast_info _swigc__p_TagLib__ID3v2__ChapterFrame[] = { {&_swigt__p_TagLib__ID3v2__ChapterFrame, 0, 0, 0},{0, 0, 0, 0}};
10806
10902
  static swig_cast_info _swigc__p_TagLib__ID3v2__CommentsFrame[] = { {&_swigt__p_TagLib__ID3v2__CommentsFrame, 0, 0, 0},{0, 0, 0, 0}};
10807
10903
  static swig_cast_info _swigc__p_TagLib__ID3v2__ExtendedHeader[] = { {&_swigt__p_TagLib__ID3v2__ExtendedHeader, 0, 0, 0},{0, 0, 0, 0}};
10808
- static swig_cast_info _swigc__p_TagLib__ID3v2__Footer[] = { {&_swigt__p_TagLib__ID3v2__Footer, 0, 0, 0},{0, 0, 0, 0}};
10809
10904
  static swig_cast_info _swigc__p_TagLib__ID3v2__Frame[] = { {&_swigt__p_TagLib__ID3v2__Frame, 0, 0, 0}, {&_swigt__p_TagLib__ID3v2__AttachedPictureFrame, _p_TagLib__ID3v2__AttachedPictureFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__AttachedPictureFrameV22, _p_TagLib__ID3v2__AttachedPictureFrameV22To_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__ChapterFrame, _p_TagLib__ID3v2__ChapterFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__CommentsFrame, _p_TagLib__ID3v2__CommentsFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame, _p_TagLib__ID3v2__GeneralEncapsulatedObjectFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__PopularimeterFrame, _p_TagLib__ID3v2__PopularimeterFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__PrivateFrame, _p_TagLib__ID3v2__PrivateFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__RelativeVolumeFrame, _p_TagLib__ID3v2__RelativeVolumeFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__TableOfContentsFrame, _p_TagLib__ID3v2__TableOfContentsFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__TextIdentificationFrame, _p_TagLib__ID3v2__TextIdentificationFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UniqueFileIdentifierFrame, _p_TagLib__ID3v2__UniqueFileIdentifierFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UnknownFrame, _p_TagLib__ID3v2__UnknownFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UnsynchronizedLyricsFrame, _p_TagLib__ID3v2__UnsynchronizedLyricsFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UrlLinkFrame, _p_TagLib__ID3v2__UrlLinkFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UserTextIdentificationFrame, _p_TagLib__ID3v2__UserTextIdentificationFrameTo_p_TagLib__ID3v2__Frame, 0, 0}, {&_swigt__p_TagLib__ID3v2__UserUrlLinkFrame, _p_TagLib__ID3v2__UserUrlLinkFrameTo_p_TagLib__ID3v2__Frame, 0, 0},{0, 0, 0, 0}};
10810
10905
  static swig_cast_info _swigc__p_TagLib__ID3v2__FrameFactory[] = { {&_swigt__p_TagLib__ID3v2__FrameFactory, 0, 0, 0},{0, 0, 0, 0}};
10906
+ static swig_cast_info _swigc__p_TagLib__ID3v2__Frame__Header[] = { {&_swigt__p_TagLib__ID3v2__Frame__Header, 0, 0, 0},{0, 0, 0, 0}};
10811
10907
  static swig_cast_info _swigc__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame[] = { {&_swigt__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame, 0, 0, 0},{0, 0, 0, 0}};
10812
10908
  static swig_cast_info _swigc__p_TagLib__ID3v2__Header[] = { {&_swigt__p_TagLib__ID3v2__Header, 0, 0, 0},{0, 0, 0, 0}};
10813
10909
  static swig_cast_info _swigc__p_TagLib__ID3v2__PopularimeterFrame[] = { {&_swigt__p_TagLib__ID3v2__PopularimeterFrame, 0, 0, 0},{0, 0, 0, 0}};
@@ -10826,6 +10922,7 @@ static swig_cast_info _swigc__p_TagLib__ID3v2__UserUrlLinkFrame[] = { {&_swigt_
10826
10922
  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}};
10827
10923
  static swig_cast_info _swigc__p_TagLib__Tag[] = { {&_swigt__p_TagLib__Tag, 0, 0, 0}, {&_swigt__p_TagLib__ID3v2__Tag, _p_TagLib__ID3v2__TagTo_p_TagLib__Tag, 0, 0},{0, 0, 0, 0}};
10828
10924
  static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
10925
+ static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
10829
10926
  static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
10830
10927
  static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
10831
10928
  static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
@@ -10841,9 +10938,9 @@ static swig_cast_info *swig_cast_initial[] = {
10841
10938
  _swigc__p_TagLib__ID3v2__ChapterFrame,
10842
10939
  _swigc__p_TagLib__ID3v2__CommentsFrame,
10843
10940
  _swigc__p_TagLib__ID3v2__ExtendedHeader,
10844
- _swigc__p_TagLib__ID3v2__Footer,
10845
10941
  _swigc__p_TagLib__ID3v2__Frame,
10846
10942
  _swigc__p_TagLib__ID3v2__FrameFactory,
10943
+ _swigc__p_TagLib__ID3v2__Frame__Header,
10847
10944
  _swigc__p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame,
10848
10945
  _swigc__p_TagLib__ID3v2__Header,
10849
10946
  _swigc__p_TagLib__ID3v2__PopularimeterFrame,
@@ -10862,6 +10959,7 @@ static swig_cast_info *swig_cast_initial[] = {
10862
10959
  _swigc__p_TagLib__ListT_TagLib__ID3v2__Frame_p_t,
10863
10960
  _swigc__p_TagLib__Tag,
10864
10961
  _swigc__p_char,
10962
+ _swigc__p_long_long,
10865
10963
  _swigc__p_unsigned_char,
10866
10964
  _swigc__p_unsigned_int,
10867
10965
  _swigc__p_unsigned_long,
@@ -11125,6 +11223,8 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11125
11223
 
11126
11224
  SWIG_RubyInitializeTrackings();
11127
11225
  rb_require("taglib_base");
11226
+ rb_define_const(mID3v2, "V3", SWIG_From_int(static_cast< int >(TagLib::ID3v2::v3)));
11227
+ rb_define_const(mID3v2, "V4", SWIG_From_int(static_cast< int >(TagLib::ID3v2::v4)));
11128
11228
 
11129
11229
  SwigClassHeader.klass = rb_define_class_under(mID3v2, "Header", rb_cObject);
11130
11230
  SWIG_TypeClientData(SWIGTYPE_p_TagLib__ID3v2__Header, (void *) &SwigClassHeader);
@@ -11156,8 +11256,12 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11156
11256
  rb_define_method(SwigClassFrame.klass, "data=", VALUEFUNC(_wrap_Frame_datae___), -1);
11157
11257
  rb_define_method(SwigClassFrame.klass, "text=", VALUEFUNC(_wrap_Frame_texte___), -1);
11158
11258
  rb_define_method(SwigClassFrame.klass, "to_string", VALUEFUNC(_wrap_Frame_to_string), -1);
11259
+ rb_define_method(SwigClassFrame.klass, "to_string_list", VALUEFUNC(_wrap_Frame_to_string_list), -1);
11159
11260
  rb_define_method(SwigClassFrame.klass, "render", VALUEFUNC(_wrap_Frame_render), -1);
11261
+ rb_define_method(SwigClassFrame.klass, "header", VALUEFUNC(_wrap_Frame_header), -1);
11160
11262
  rb_define_singleton_method(SwigClassFrame.klass, "text_delimiter", VALUEFUNC(_wrap_Frame_text_delimiter), -1);
11263
+ rb_define_singleton_method(SwigClassFrame.klass, "key_to_frame_id", VALUEFUNC(_wrap_Frame_key_to_frame_id), -1);
11264
+ rb_define_singleton_method(SwigClassFrame.klass, "frame_idto_key", VALUEFUNC(_wrap_Frame_frame_idto_key), -1);
11161
11265
  SwigClassFrame.mark = 0;
11162
11266
  SwigClassFrame.destroy = (void (*)(void *)) free_TagLib_ID3v2_Frame;
11163
11267
  SwigClassFrame.trackObjects = 1;
@@ -11183,7 +11287,6 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11183
11287
  rb_define_method(SwigClassTag.klass, "empty?", VALUEFUNC(_wrap_Tag_emptyq___), -1);
11184
11288
  rb_define_method(SwigClassTag.klass, "header", VALUEFUNC(_wrap_Tag_header), -1);
11185
11289
  rb_define_method(SwigClassTag.klass, "extended_header", VALUEFUNC(_wrap_Tag_extended_header), -1);
11186
- rb_define_method(SwigClassTag.klass, "footer", VALUEFUNC(_wrap_Tag_footer), -1);
11187
11290
  rb_define_method(SwigClassTag.klass, "frame_list_map", VALUEFUNC(_wrap_Tag_frame_list_map), -1);
11188
11291
  rb_define_method(SwigClassTag.klass, "frame_list", VALUEFUNC(_wrap_Tag_frame_list), -1);
11189
11292
  rb_define_method(SwigClassTag.klass, "add_frame", VALUEFUNC(_wrap_Tag_add_frame), -1);
@@ -11198,8 +11301,10 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11198
11301
  rb_undef_alloc_func(SwigClassFrameFactory.klass);
11199
11302
  rb_define_singleton_method(SwigClassFrameFactory.klass, "instance", VALUEFUNC(_wrap_FrameFactory_instance), -1);
11200
11303
  rb_define_method(SwigClassFrameFactory.klass, "create_frame", VALUEFUNC(_wrap_FrameFactory_create_frame), -1);
11304
+ rb_define_method(SwigClassFrameFactory.klass, "create_frame_for_property", VALUEFUNC(_wrap_FrameFactory_create_frame_for_property), -1);
11201
11305
  rb_define_method(SwigClassFrameFactory.klass, "default_text_encoding", VALUEFUNC(_wrap_FrameFactory_default_text_encoding), -1);
11202
11306
  rb_define_method(SwigClassFrameFactory.klass, "default_text_encoding=", VALUEFUNC(_wrap_FrameFactory_default_text_encodinge___), -1);
11307
+ rb_define_method(SwigClassFrameFactory.klass, "is_using_default_text_encoding", VALUEFUNC(_wrap_FrameFactory_is_using_default_text_encoding), -1);
11203
11308
  SwigClassFrameFactory.mark = 0;
11204
11309
  SwigClassFrameFactory.trackObjects = 1;
11205
11310
 
@@ -11218,8 +11323,6 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11218
11323
  rb_define_const(SwigClassRelativeVolumeFrame.klass, "Subwoofer", SWIG_From_int(static_cast< int >(TagLib::ID3v2::RelativeVolumeFrame::Subwoofer)));
11219
11324
  rb_define_method(SwigClassRelativeVolumeFrame.klass, "to_string", VALUEFUNC(_wrap_RelativeVolumeFrame_to_string), -1);
11220
11325
  rb_define_method(SwigClassRelativeVolumeFrame.klass, "channels", VALUEFUNC(_wrap_RelativeVolumeFrame_channels), -1);
11221
- rb_define_method(SwigClassRelativeVolumeFrame.klass, "channel_type", VALUEFUNC(_wrap_RelativeVolumeFrame_channel_type), -1);
11222
- rb_define_method(SwigClassRelativeVolumeFrame.klass, "channel_type=", VALUEFUNC(_wrap_RelativeVolumeFrame_channel_typee___), -1);
11223
11326
  rb_define_method(SwigClassRelativeVolumeFrame.klass, "volume_adjustment_index", VALUEFUNC(_wrap_RelativeVolumeFrame_volume_adjustment_index), -1);
11224
11327
  rb_define_method(SwigClassRelativeVolumeFrame.klass, "set_volume_adjustment_index", VALUEFUNC(_wrap_RelativeVolumeFrame_set_volume_adjustment_index), -1);
11225
11328
  rb_define_method(SwigClassRelativeVolumeFrame.klass, "volume_adjustment", VALUEFUNC(_wrap_RelativeVolumeFrame_volume_adjustment), -1);
@@ -11269,7 +11372,10 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11269
11372
  rb_define_const(SwigClassAttachedPictureFrame.klass, "Illustration", SWIG_From_int(static_cast< int >(TagLib::ID3v2::AttachedPictureFrame::Illustration)));
11270
11373
  rb_define_const(SwigClassAttachedPictureFrame.klass, "BandLogo", SWIG_From_int(static_cast< int >(TagLib::ID3v2::AttachedPictureFrame::BandLogo)));
11271
11374
  rb_define_const(SwigClassAttachedPictureFrame.klass, "PublisherLogo", SWIG_From_int(static_cast< int >(TagLib::ID3v2::AttachedPictureFrame::PublisherLogo)));
11375
+ rb_define_singleton_method(SwigClassAttachedPictureFrame.klass, "type_to_string", VALUEFUNC(_wrap_AttachedPictureFrame_type_to_string), -1);
11376
+ rb_define_singleton_method(SwigClassAttachedPictureFrame.klass, "type_from_string", VALUEFUNC(_wrap_AttachedPictureFrame_type_from_string), -1);
11272
11377
  rb_define_method(SwigClassAttachedPictureFrame.klass, "to_string", VALUEFUNC(_wrap_AttachedPictureFrame_to_string), -1);
11378
+ rb_define_method(SwigClassAttachedPictureFrame.klass, "to_string_list", VALUEFUNC(_wrap_AttachedPictureFrame_to_string_list), -1);
11273
11379
  rb_define_method(SwigClassAttachedPictureFrame.klass, "text_encoding", VALUEFUNC(_wrap_AttachedPictureFrame_text_encoding), -1);
11274
11380
  rb_define_method(SwigClassAttachedPictureFrame.klass, "text_encoding=", VALUEFUNC(_wrap_AttachedPictureFrame_text_encodinge___), -1);
11275
11381
  rb_define_method(SwigClassAttachedPictureFrame.klass, "mime_type", VALUEFUNC(_wrap_AttachedPictureFrame_mime_type), -1);
@@ -11339,6 +11445,7 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11339
11445
  rb_define_alloc_func(SwigClassGeneralEncapsulatedObjectFrame.klass, _wrap_GeneralEncapsulatedObjectFrame_allocate);
11340
11446
  rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "initialize", VALUEFUNC(_wrap_new_GeneralEncapsulatedObjectFrame), -1);
11341
11447
  rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "to_string", VALUEFUNC(_wrap_GeneralEncapsulatedObjectFrame_to_string), -1);
11448
+ rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "to_string_list", VALUEFUNC(_wrap_GeneralEncapsulatedObjectFrame_to_string_list), -1);
11342
11449
  rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "text_encoding", VALUEFUNC(_wrap_GeneralEncapsulatedObjectFrame_text_encoding), -1);
11343
11450
  rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "text_encoding=", VALUEFUNC(_wrap_GeneralEncapsulatedObjectFrame_text_encodinge___), -1);
11344
11451
  rb_define_method(SwigClassGeneralEncapsulatedObjectFrame.klass, "mime_type", VALUEFUNC(_wrap_GeneralEncapsulatedObjectFrame_mime_type), -1);
@@ -11358,6 +11465,7 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11358
11465
  rb_define_alloc_func(SwigClassPopularimeterFrame.klass, _wrap_PopularimeterFrame_allocate);
11359
11466
  rb_define_method(SwigClassPopularimeterFrame.klass, "initialize", VALUEFUNC(_wrap_new_PopularimeterFrame), -1);
11360
11467
  rb_define_method(SwigClassPopularimeterFrame.klass, "to_string", VALUEFUNC(_wrap_PopularimeterFrame_to_string), -1);
11468
+ rb_define_method(SwigClassPopularimeterFrame.klass, "to_string_list", VALUEFUNC(_wrap_PopularimeterFrame_to_string_list), -1);
11361
11469
  rb_define_method(SwigClassPopularimeterFrame.klass, "email", VALUEFUNC(_wrap_PopularimeterFrame_email), -1);
11362
11470
  rb_define_method(SwigClassPopularimeterFrame.klass, "email=", VALUEFUNC(_wrap_PopularimeterFrame_emaile___), -1);
11363
11471
  rb_define_method(SwigClassPopularimeterFrame.klass, "rating", VALUEFUNC(_wrap_PopularimeterFrame_rating), -1);
@@ -11415,6 +11523,7 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11415
11523
  rb_define_method(SwigClassTextIdentificationFrame.klass, "field_list=", VALUEFUNC(_wrap_TextIdentificationFrame_field_liste___), -1);
11416
11524
  rb_define_method(SwigClassTextIdentificationFrame.klass, "text=", VALUEFUNC(_wrap_TextIdentificationFrame_texte___), -1);
11417
11525
  rb_define_method(SwigClassTextIdentificationFrame.klass, "to_string", VALUEFUNC(_wrap_TextIdentificationFrame_to_string), -1);
11526
+ rb_define_method(SwigClassTextIdentificationFrame.klass, "to_string_list", VALUEFUNC(_wrap_TextIdentificationFrame_to_string_list), -1);
11418
11527
  rb_define_method(SwigClassTextIdentificationFrame.klass, "text_encoding", VALUEFUNC(_wrap_TextIdentificationFrame_text_encoding), -1);
11419
11528
  rb_define_method(SwigClassTextIdentificationFrame.klass, "text_encoding=", VALUEFUNC(_wrap_TextIdentificationFrame_text_encodinge___), -1);
11420
11529
  rb_define_method(SwigClassTextIdentificationFrame.klass, "field_list", VALUEFUNC(_wrap_TextIdentificationFrame_field_list), -1);
@@ -11429,10 +11538,11 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
11429
11538
  rb_define_method(SwigClassUserTextIdentificationFrame.klass, "to_string", VALUEFUNC(_wrap_UserTextIdentificationFrame_to_string), -1);
11430
11539
  rb_define_method(SwigClassUserTextIdentificationFrame.klass, "description", VALUEFUNC(_wrap_UserTextIdentificationFrame_description), -1);
11431
11540
  rb_define_method(SwigClassUserTextIdentificationFrame.klass, "description=", VALUEFUNC(_wrap_UserTextIdentificationFrame_descriptione___), -1);
11432
- rb_define_method(SwigClassUserTextIdentificationFrame.klass, "field_list", VALUEFUNC(_wrap_UserTextIdentificationFrame_field_list), -1);
11433
11541
  rb_define_method(SwigClassUserTextIdentificationFrame.klass, "text=", VALUEFUNC(_wrap_UserTextIdentificationFrame_texte___), -1);
11434
11542
  rb_define_method(SwigClassUserTextIdentificationFrame.klass, "field_list=", VALUEFUNC(_wrap_UserTextIdentificationFrame_field_liste___), -1);
11435
11543
  rb_define_singleton_method(SwigClassUserTextIdentificationFrame.klass, "find", VALUEFUNC(_wrap_UserTextIdentificationFrame_find), -1);
11544
+ rb_define_singleton_method(SwigClassUserTextIdentificationFrame.klass, "key_to_txxx", VALUEFUNC(_wrap_UserTextIdentificationFrame_key_to_txxx), -1);
11545
+ rb_define_singleton_method(SwigClassUserTextIdentificationFrame.klass, "txxx_to_key", VALUEFUNC(_wrap_UserTextIdentificationFrame_txxx_to_key), -1);
11436
11546
  SwigClassUserTextIdentificationFrame.mark = 0;
11437
11547
  SwigClassUserTextIdentificationFrame.destroy = (void (*)(void *)) free_TagLib_ID3v2_UserTextIdentificationFrame;
11438
11548
  SwigClassUserTextIdentificationFrame.trackObjects = 1;