taglib-ruby 0.7.1 → 1.0.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.
Files changed (66) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES.md +7 -0
  3. data/README.md +25 -10
  4. data/Rakefile +11 -1
  5. data/docs/taglib/aiff.rb +35 -3
  6. data/docs/taglib/base.rb +8 -1
  7. data/docs/taglib/flac.rb +60 -4
  8. data/docs/taglib/id3v1.rb +29 -0
  9. data/docs/taglib/id3v2.rb +1 -1
  10. data/docs/taglib/mp4.rb +124 -13
  11. data/docs/taglib/mpeg.rb +30 -1
  12. data/docs/taglib/ogg.rb +47 -5
  13. data/docs/taglib/vorbis.rb +1 -1
  14. data/docs/taglib/wav.rb +56 -3
  15. data/ext/extconf_common.rb +9 -2
  16. data/ext/taglib_aiff/taglib_aiff.i +16 -0
  17. data/ext/taglib_aiff/taglib_aiff_wrap.cxx +228 -58
  18. data/ext/taglib_base/includes.i +4 -4
  19. data/ext/taglib_base/taglib_base.i +24 -2
  20. data/ext/taglib_base/taglib_base_wrap.cxx +76 -51
  21. data/ext/taglib_flac/taglib_flac.i +14 -18
  22. data/ext/taglib_flac/taglib_flac_wrap.cxx +341 -799
  23. data/ext/taglib_flac_picture/extconf.rb +4 -0
  24. data/ext/taglib_flac_picture/includes.i +15 -0
  25. data/ext/taglib_flac_picture/taglib_flac_picture.i +15 -0
  26. data/ext/taglib_flac_picture/taglib_flac_picture_wrap.cxx +3087 -0
  27. data/ext/taglib_id3v1/taglib_id3v1.i +19 -0
  28. data/ext/taglib_id3v1/taglib_id3v1_wrap.cxx +241 -58
  29. data/ext/taglib_id3v2/taglib_id3v2.i +52 -1
  30. data/ext/taglib_id3v2/taglib_id3v2_wrap.cxx +152 -155
  31. data/ext/taglib_mp4/taglib_mp4.i +100 -19
  32. data/ext/taglib_mp4/taglib_mp4_wrap.cxx +939 -148
  33. data/ext/taglib_mpeg/taglib_mpeg.i +11 -16
  34. data/ext/taglib_mpeg/taglib_mpeg_wrap.cxx +522 -208
  35. data/ext/taglib_ogg/taglib_ogg.i +11 -0
  36. data/ext/taglib_ogg/taglib_ogg_wrap.cxx +328 -57
  37. data/ext/taglib_vorbis/taglib_vorbis.i +8 -0
  38. data/ext/taglib_vorbis/taglib_vorbis_wrap.cxx +53 -22
  39. data/ext/taglib_wav/taglib_wav.i +24 -0
  40. data/ext/taglib_wav/taglib_wav_wrap.cxx +543 -198
  41. data/lib/taglib/mp4.rb +2 -1
  42. data/lib/taglib/version.rb +3 -3
  43. data/lib/taglib/wav.rb +4 -0
  44. data/taglib-ruby.gemspec +15 -9
  45. data/tasks/ext.rake +36 -15
  46. data/tasks/swig.rake +26 -2
  47. data/test/aiff_examples_test.rb +1 -1
  48. data/test/aiff_file_test.rb +12 -3
  49. data/test/data/vorbis-create.cpp +20 -1
  50. data/test/data/vorbis.oga +0 -0
  51. data/test/fileref_properties_test.rb +1 -1
  52. data/test/flac_file_test.rb +45 -30
  53. data/test/id3v1_genres_test.rb +23 -0
  54. data/test/id3v1_tag_test.rb +1 -0
  55. data/test/id3v2_tag_test.rb +6 -6
  56. data/test/id3v2_write_test.rb +10 -13
  57. data/test/mp4_file_test.rb +33 -4
  58. data/test/mp4_file_write_test.rb +5 -5
  59. data/test/mp4_items_test.rb +83 -29
  60. data/test/mpeg_file_test.rb +120 -7
  61. data/test/vorbis_file_test.rb +2 -2
  62. data/test/vorbis_tag_test.rb +61 -7
  63. data/test/wav_examples_test.rb +1 -1
  64. data/test/wav_file_test.rb +53 -41
  65. data/test/wav_file_write_test.rb +25 -0
  66. metadata +19 -9
@@ -75,7 +75,15 @@ VALUE taglib_id3v2_framelist_to_ruby_array(TagLib::ID3v2::FrameList *list) {
75
75
 
76
76
  %include <taglib/id3v2header.h>
77
77
 
78
+ // Only useful internally.
79
+ %ignore TagLib::ID3v2::Frame::instrumentPrefix;
80
+ %ignore TagLib::ID3v2::Frame::commentPrefix;
81
+ %ignore TagLib::ID3v2::Frame::lyricsPrefix;
82
+ %ignore TagLib::ID3v2::Frame::urlPrefix;
83
+
78
84
  %ignore TagLib::ID3v2::Frame::Header;
85
+ %ignore TagLib::ID3v2::Frame::headerSize; // Deprecated
86
+ %ignore TagLib::ID3v2::Frame::createTextualFrame;
79
87
  %include <taglib/id3v2frame.h>
80
88
 
81
89
  %typemap(out) TagLib::ID3v2::FrameList & {
@@ -84,27 +92,70 @@ VALUE taglib_id3v2_framelist_to_ruby_array(TagLib::ID3v2::FrameList *list) {
84
92
  %apply TagLib::ID3v2::FrameList & { const TagLib::ID3v2::FrameList & };
85
93
 
86
94
  %apply SWIGTYPE *DISOWN { TagLib::ID3v2::Frame *frame };
87
- %ignore TagLib::ID3v2::Tag::removeFrame(Frame *, bool);
95
+ %ignore TagLib::ID3v2::Tag::removeFrame(Frame *, bool); // Dont expose second parameter.
96
+ %ignore TagLib::ID3v2::Tag::render; // Only useful internally.
97
+ %ignore TagLib::ID3v2::Latin1StringHandler;
98
+ %ignore TagLib::ID3v2::Tag::latin1StringHandler;
99
+ %ignore TagLib::ID3v2::Tag::setLatin1StringHandler;
88
100
  %include <taglib/id3v2tag.h>
89
101
  %clear TagLib::ID3v2::Frame *;
90
102
 
103
+ // Deprecated
104
+ %ignore TagLib::ID3v2::FrameFactory::createFrame(const ByteVector &, bool);
105
+ %ignore TagLib::ID3v2::FrameFactory::createFrame(const ByteVector &, unsigned int version);
106
+ %ignore TagLib::ID3v2::FrameFactory::createFrame(const ByteVector &);
107
+
108
+ %ignore TagLib::ID3v2::FrameFactory::rebuildAggregateFrames; // Only useful internally
91
109
  %include <taglib/id3v2framefactory.h>
92
110
 
93
111
  // Resolve overloading conflict with setText(String)
94
112
  %rename("field_list=") TagLib::ID3v2::TextIdentificationFrame::setText(const StringList &);
95
113
  %rename("from_data") TagLib::ID3v2::TextIdentificationFrame::TextIdentificationFrame(const ByteVector &);
114
+ // Appear to be only useful internally.
115
+ %ignore TagLib::ID3v2::TextIdentificationFrame::involvedPeopleMap;
116
+
117
+ // Ignore the unified property interface.
118
+ %ignore TagLib::ID3v2::TextIdentificationFrame::asProperties;
119
+
120
+ %ignore TagLib::ID3v2::TextIdentificationFrame::createTIPLFrame;
121
+ %ignore TagLib::ID3v2::TextIdentificationFrame::createTMCLFrame;
122
+ %ignore TagLib::ID3v2::KeyConversionMap;
96
123
 
97
124
  %include "relativevolumeframe.i"
98
125
 
99
126
  %include <taglib/attachedpictureframe.h>
127
+
128
+ // Ignore the unified property interface.
129
+ %ignore TagLib::ID3v2::CommentsFrame::asProperties;
130
+
100
131
  %include <taglib/commentsframe.h>
101
132
  %include <taglib/generalencapsulatedobjectframe.h>
102
133
  %include <taglib/popularimeterframe.h>
103
134
  %include <taglib/privateframe.h>
104
135
  %include <taglib/textidentificationframe.h>
136
+
137
+ // Ignore the unified property interface.
138
+ %ignore TagLib::ID3v2::UniqueFileIdentifierFrame::asProperties;
139
+
140
+ %ignore TagLib::ID3v2::UniqueFileIdentifierFrame::findByOwner;
141
+
105
142
  %include <taglib/uniquefileidentifierframe.h>
143
+
106
144
  %include <taglib/unknownframe.h>
145
+
146
+ // Ignore the unified property interface.
147
+ %ignore TagLib::ID3v2::UnsynchronizedLyricsFrame::asProperties;
148
+
149
+ %ignore TagLib::ID3v2::UnsynchronizedLyricsFrame::findByDescription;
150
+
107
151
  %include <taglib/unsynchronizedlyricsframe.h>
152
+
153
+ // Ignore the unified property interface.
154
+ %ignore TagLib::ID3v2::UrlLinkFrame::asProperties;
155
+ %ignore TagLib::ID3v2::UserUrlLinkFrame::asProperties;
156
+
157
+ %ignore TagLib::ID3v2::UserUrlLinkFrame::find;
158
+
108
159
  %include <taglib/urllinkframe.h>
109
160
 
110
161
  // vim: set filetype=cpp sw=2 ts=2 expandtab:
@@ -1923,7 +1923,7 @@ VALUE taglib_bytevector_to_ruby_string(const TagLib::ByteVector &byteVector) {
1923
1923
  if (byteVector.isNull()) {
1924
1924
  return Qnil;
1925
1925
  } else {
1926
- return rb_tainted_str_new(byteVector.data(), byteVector.size());
1926
+ return rb_str_new(byteVector.data(), byteVector.size());
1927
1927
  }
1928
1928
  }
1929
1929
 
@@ -1939,7 +1939,7 @@ VALUE taglib_string_to_ruby_string(const TagLib::String & string) {
1939
1939
  if (string.isNull()) {
1940
1940
  return Qnil;
1941
1941
  } else {
1942
- VALUE result = rb_tainted_str_new2(string.toCString(true));
1942
+ VALUE result = rb_str_new2(string.toCString(true));
1943
1943
  ASSOCIATE_UTF8_ENCODING(result);
1944
1944
  return result;
1945
1945
  }
@@ -1979,9 +1979,9 @@ VALUE taglib_filename_to_ruby_string(TagLib::FileName filename) {
1979
1979
  VALUE result;
1980
1980
  #ifdef _WIN32
1981
1981
  const char *s = (const char *) filename;
1982
- result = rb_tainted_str_new2(s);
1982
+ result = rb_str_new2(s);
1983
1983
  #else
1984
- result = rb_tainted_str_new2(filename);
1984
+ result = rb_str_new2(filename);
1985
1985
  #endif
1986
1986
  ASSOCIATE_FILESYSTEM_ENCODING(result);
1987
1987
  return result;
@@ -2495,7 +2495,7 @@ _wrap_Header_major_version(int argc, VALUE *argv, VALUE self) {
2495
2495
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2496
2496
  void *argp1 = 0 ;
2497
2497
  int res1 = 0 ;
2498
- TagLib::uint result;
2498
+ unsigned int result;
2499
2499
  VALUE vresult = Qnil;
2500
2500
 
2501
2501
  if ((argc < 0) || (argc > 0)) {
@@ -2506,7 +2506,7 @@ _wrap_Header_major_version(int argc, VALUE *argv, VALUE self) {
2506
2506
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header const *","majorVersion", 1, self ));
2507
2507
  }
2508
2508
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2509
- result = (TagLib::uint)((TagLib::ID3v2::Header const *)arg1)->majorVersion();
2509
+ result = (unsigned int)((TagLib::ID3v2::Header const *)arg1)->majorVersion();
2510
2510
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2511
2511
  return vresult;
2512
2512
  fail:
@@ -2517,7 +2517,7 @@ fail:
2517
2517
  SWIGINTERN VALUE
2518
2518
  _wrap_Header_major_versione___(int argc, VALUE *argv, VALUE self) {
2519
2519
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2520
- TagLib::uint arg2 ;
2520
+ unsigned int arg2 ;
2521
2521
  void *argp1 = 0 ;
2522
2522
  int res1 = 0 ;
2523
2523
  unsigned int val2 ;
@@ -2533,9 +2533,9 @@ _wrap_Header_major_versione___(int argc, VALUE *argv, VALUE self) {
2533
2533
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2534
2534
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
2535
2535
  if (!SWIG_IsOK(ecode2)) {
2536
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::uint","setMajorVersion", 2, argv[0] ));
2536
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setMajorVersion", 2, argv[0] ));
2537
2537
  }
2538
- arg2 = static_cast< TagLib::uint >(val2);
2538
+ arg2 = static_cast< unsigned int >(val2);
2539
2539
  (arg1)->setMajorVersion(arg2);
2540
2540
  return Qnil;
2541
2541
  fail:
@@ -2548,7 +2548,7 @@ _wrap_Header_revision_number(int argc, VALUE *argv, VALUE self) {
2548
2548
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2549
2549
  void *argp1 = 0 ;
2550
2550
  int res1 = 0 ;
2551
- TagLib::uint result;
2551
+ unsigned int result;
2552
2552
  VALUE vresult = Qnil;
2553
2553
 
2554
2554
  if ((argc < 0) || (argc > 0)) {
@@ -2559,7 +2559,7 @@ _wrap_Header_revision_number(int argc, VALUE *argv, VALUE self) {
2559
2559
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header const *","revisionNumber", 1, self ));
2560
2560
  }
2561
2561
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2562
- result = (TagLib::uint)((TagLib::ID3v2::Header const *)arg1)->revisionNumber();
2562
+ result = (unsigned int)((TagLib::ID3v2::Header const *)arg1)->revisionNumber();
2563
2563
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2564
2564
  return vresult;
2565
2565
  fail:
@@ -2668,7 +2668,7 @@ _wrap_Header_tag_size(int argc, VALUE *argv, VALUE self) {
2668
2668
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2669
2669
  void *argp1 = 0 ;
2670
2670
  int res1 = 0 ;
2671
- TagLib::uint result;
2671
+ unsigned int result;
2672
2672
  VALUE vresult = Qnil;
2673
2673
 
2674
2674
  if ((argc < 0) || (argc > 0)) {
@@ -2679,7 +2679,7 @@ _wrap_Header_tag_size(int argc, VALUE *argv, VALUE self) {
2679
2679
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header const *","tagSize", 1, self ));
2680
2680
  }
2681
2681
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2682
- result = (TagLib::uint)((TagLib::ID3v2::Header const *)arg1)->tagSize();
2682
+ result = (unsigned int)((TagLib::ID3v2::Header const *)arg1)->tagSize();
2683
2683
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2684
2684
  return vresult;
2685
2685
  fail:
@@ -2692,7 +2692,7 @@ _wrap_Header_complete_tag_size(int argc, VALUE *argv, VALUE self) {
2692
2692
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2693
2693
  void *argp1 = 0 ;
2694
2694
  int res1 = 0 ;
2695
- TagLib::uint result;
2695
+ unsigned int result;
2696
2696
  VALUE vresult = Qnil;
2697
2697
 
2698
2698
  if ((argc < 0) || (argc > 0)) {
@@ -2703,7 +2703,7 @@ _wrap_Header_complete_tag_size(int argc, VALUE *argv, VALUE self) {
2703
2703
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Header const *","completeTagSize", 1, self ));
2704
2704
  }
2705
2705
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2706
- result = (TagLib::uint)((TagLib::ID3v2::Header const *)arg1)->completeTagSize();
2706
+ result = (unsigned int)((TagLib::ID3v2::Header const *)arg1)->completeTagSize();
2707
2707
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2708
2708
  return vresult;
2709
2709
  fail:
@@ -2714,7 +2714,7 @@ fail:
2714
2714
  SWIGINTERN VALUE
2715
2715
  _wrap_Header_tag_sizee___(int argc, VALUE *argv, VALUE self) {
2716
2716
  TagLib::ID3v2::Header *arg1 = (TagLib::ID3v2::Header *) 0 ;
2717
- TagLib::uint arg2 ;
2717
+ unsigned int arg2 ;
2718
2718
  void *argp1 = 0 ;
2719
2719
  int res1 = 0 ;
2720
2720
  unsigned int val2 ;
@@ -2730,9 +2730,9 @@ _wrap_Header_tag_sizee___(int argc, VALUE *argv, VALUE self) {
2730
2730
  arg1 = reinterpret_cast< TagLib::ID3v2::Header * >(argp1);
2731
2731
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
2732
2732
  if (!SWIG_IsOK(ecode2)) {
2733
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::uint","setTagSize", 2, argv[0] ));
2733
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setTagSize", 2, argv[0] ));
2734
2734
  }
2735
- arg2 = static_cast< TagLib::uint >(val2);
2735
+ arg2 = static_cast< unsigned int >(val2);
2736
2736
  (arg1)->setTagSize(arg2);
2737
2737
  return Qnil;
2738
2738
  fail:
@@ -2745,19 +2745,19 @@ fail:
2745
2745
  Document-method: TagLib::ID3v2::Header.size
2746
2746
 
2747
2747
  call-seq:
2748
- size -> TagLib::uint
2748
+ size -> unsigned int
2749
2749
 
2750
2750
  Size or Length of the Header.
2751
2751
  */
2752
2752
  SWIGINTERN VALUE
2753
2753
  _wrap_Header_size(int argc, VALUE *argv, VALUE self) {
2754
- TagLib::uint result;
2754
+ unsigned int result;
2755
2755
  VALUE vresult = Qnil;
2756
2756
 
2757
2757
  if ((argc < 0) || (argc > 0)) {
2758
2758
  rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2759
2759
  }
2760
- result = (TagLib::uint)TagLib::ID3v2::Header::size();
2760
+ result = (unsigned int)TagLib::ID3v2::Header::size();
2761
2761
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2762
2762
  return vresult;
2763
2763
  fail:
@@ -2875,7 +2875,7 @@ fail:
2875
2875
  Document-method: TagLib::ID3v2::Frame.size
2876
2876
 
2877
2877
  call-seq:
2878
- size -> TagLib::uint
2878
+ size -> unsigned int
2879
2879
 
2880
2880
  Size or Length of the Frame.
2881
2881
  */
@@ -2884,7 +2884,7 @@ _wrap_Frame_size(int argc, VALUE *argv, VALUE self) {
2884
2884
  TagLib::ID3v2::Frame *arg1 = (TagLib::ID3v2::Frame *) 0 ;
2885
2885
  void *argp1 = 0 ;
2886
2886
  int res1 = 0 ;
2887
- TagLib::uint result;
2887
+ unsigned int result;
2888
2888
  VALUE vresult = Qnil;
2889
2889
 
2890
2890
  if ((argc < 0) || (argc > 0)) {
@@ -2895,7 +2895,7 @@ _wrap_Frame_size(int argc, VALUE *argv, VALUE self) {
2895
2895
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Frame const *","size", 1, self ));
2896
2896
  }
2897
2897
  arg1 = reinterpret_cast< TagLib::ID3v2::Frame * >(argp1);
2898
- result = (TagLib::uint)((TagLib::ID3v2::Frame const *)arg1)->size();
2898
+ result = (unsigned int)((TagLib::ID3v2::Frame const *)arg1)->size();
2899
2899
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2900
2900
  return vresult;
2901
2901
  fail:
@@ -2903,79 +2903,6 @@ fail:
2903
2903
  }
2904
2904
 
2905
2905
 
2906
- SWIGINTERN VALUE
2907
- _wrap_Frame_header_size__SWIG_0(int argc, VALUE *argv, VALUE self) {
2908
- TagLib::uint result;
2909
- VALUE vresult = Qnil;
2910
-
2911
- if ((argc < 0) || (argc > 0)) {
2912
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
2913
- }
2914
- result = (TagLib::uint)TagLib::ID3v2::Frame::headerSize();
2915
- vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2916
- return vresult;
2917
- fail:
2918
- return Qnil;
2919
- }
2920
-
2921
-
2922
- SWIGINTERN VALUE
2923
- _wrap_Frame_header_size__SWIG_1(int argc, VALUE *argv, VALUE self) {
2924
- TagLib::uint arg1 ;
2925
- unsigned int val1 ;
2926
- int ecode1 = 0 ;
2927
- TagLib::uint result;
2928
- VALUE vresult = Qnil;
2929
-
2930
- if ((argc < 1) || (argc > 1)) {
2931
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
2932
- }
2933
- ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
2934
- if (!SWIG_IsOK(ecode1)) {
2935
- SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "TagLib::uint","TagLib::ID3v2::Frame::headerSize", 1, argv[0] ));
2936
- }
2937
- arg1 = static_cast< TagLib::uint >(val1);
2938
- result = (TagLib::uint)TagLib::ID3v2::Frame::headerSize(arg1);
2939
- vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
2940
- return vresult;
2941
- fail:
2942
- return Qnil;
2943
- }
2944
-
2945
-
2946
- SWIGINTERN VALUE _wrap_Frame_header_size(int nargs, VALUE *args, VALUE self) {
2947
- int argc;
2948
- VALUE argv[1];
2949
- int ii;
2950
-
2951
- argc = nargs;
2952
- if (argc > 1) SWIG_fail;
2953
- for (ii = 0; (ii < argc); ++ii) {
2954
- argv[ii] = args[ii];
2955
- }
2956
- if (argc == 0) {
2957
- return _wrap_Frame_header_size__SWIG_0(nargs, args, self);
2958
- }
2959
- if (argc == 1) {
2960
- int _v;
2961
- {
2962
- int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
2963
- _v = SWIG_CheckState(res);
2964
- }
2965
- if (_v) {
2966
- return _wrap_Frame_header_size__SWIG_1(nargs, args, self);
2967
- }
2968
- }
2969
-
2970
- fail:
2971
- Ruby_Format_OverloadedError( argc, 1, "Frame.header_size",
2972
- " TagLib::uint Frame.header_size()\n"
2973
- " TagLib::uint Frame.header_size(TagLib::uint version)\n");
2974
-
2975
- return Qnil;
2976
- }
2977
-
2978
-
2979
2906
  SWIGINTERN VALUE
2980
2907
  _wrap_Frame_datae___(int argc, VALUE *argv, VALUE self) {
2981
2908
  TagLib::ID3v2::Frame *arg1 = (TagLib::ID3v2::Frame *) 0 ;
@@ -3415,7 +3342,7 @@ _wrap_Tag_year(int argc, VALUE *argv, VALUE self) {
3415
3342
  TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3416
3343
  void *argp1 = 0 ;
3417
3344
  int res1 = 0 ;
3418
- TagLib::uint result;
3345
+ unsigned int result;
3419
3346
  VALUE vresult = Qnil;
3420
3347
 
3421
3348
  if ((argc < 0) || (argc > 0)) {
@@ -3426,7 +3353,7 @@ _wrap_Tag_year(int argc, VALUE *argv, VALUE self) {
3426
3353
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","year", 1, self ));
3427
3354
  }
3428
3355
  arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3429
- result = (TagLib::uint)((TagLib::ID3v2::Tag const *)arg1)->year();
3356
+ result = (unsigned int)((TagLib::ID3v2::Tag const *)arg1)->year();
3430
3357
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
3431
3358
  return vresult;
3432
3359
  fail:
@@ -3439,7 +3366,7 @@ _wrap_Tag_track(int argc, VALUE *argv, VALUE self) {
3439
3366
  TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3440
3367
  void *argp1 = 0 ;
3441
3368
  int res1 = 0 ;
3442
- TagLib::uint result;
3369
+ unsigned int result;
3443
3370
  VALUE vresult = Qnil;
3444
3371
 
3445
3372
  if ((argc < 0) || (argc > 0)) {
@@ -3450,7 +3377,7 @@ _wrap_Tag_track(int argc, VALUE *argv, VALUE self) {
3450
3377
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","track", 1, self ));
3451
3378
  }
3452
3379
  arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3453
- result = (TagLib::uint)((TagLib::ID3v2::Tag const *)arg1)->track();
3380
+ result = (unsigned int)((TagLib::ID3v2::Tag const *)arg1)->track();
3454
3381
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
3455
3382
  return vresult;
3456
3383
  fail:
@@ -3596,7 +3523,7 @@ fail:
3596
3523
  SWIGINTERN VALUE
3597
3524
  _wrap_Tag_yeare___(int argc, VALUE *argv, VALUE self) {
3598
3525
  TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3599
- TagLib::uint arg2 ;
3526
+ unsigned int arg2 ;
3600
3527
  void *argp1 = 0 ;
3601
3528
  int res1 = 0 ;
3602
3529
  unsigned int val2 ;
@@ -3612,9 +3539,9 @@ _wrap_Tag_yeare___(int argc, VALUE *argv, VALUE self) {
3612
3539
  arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3613
3540
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
3614
3541
  if (!SWIG_IsOK(ecode2)) {
3615
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::uint","setYear", 2, argv[0] ));
3542
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setYear", 2, argv[0] ));
3616
3543
  }
3617
- arg2 = static_cast< TagLib::uint >(val2);
3544
+ arg2 = static_cast< unsigned int >(val2);
3618
3545
  (arg1)->setYear(arg2);
3619
3546
  return Qnil;
3620
3547
  fail:
@@ -3625,7 +3552,7 @@ fail:
3625
3552
  SWIGINTERN VALUE
3626
3553
  _wrap_Tag_tracke___(int argc, VALUE *argv, VALUE self) {
3627
3554
  TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3628
- TagLib::uint arg2 ;
3555
+ unsigned int arg2 ;
3629
3556
  void *argp1 = 0 ;
3630
3557
  int res1 = 0 ;
3631
3558
  unsigned int val2 ;
@@ -3641,9 +3568,9 @@ _wrap_Tag_tracke___(int argc, VALUE *argv, VALUE self) {
3641
3568
  arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3642
3569
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
3643
3570
  if (!SWIG_IsOK(ecode2)) {
3644
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::uint","setTrack", 2, argv[0] ));
3571
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setTrack", 2, argv[0] ));
3645
3572
  }
3646
- arg2 = static_cast< TagLib::uint >(val2);
3573
+ arg2 = static_cast< unsigned int >(val2);
3647
3574
  (arg1)->setTrack(arg2);
3648
3575
  return Qnil;
3649
3576
  fail:
@@ -3957,32 +3884,6 @@ fail:
3957
3884
  }
3958
3885
 
3959
3886
 
3960
- SWIGINTERN VALUE
3961
- _wrap_Tag_render(int argc, VALUE *argv, VALUE self) {
3962
- TagLib::ID3v2::Tag *arg1 = (TagLib::ID3v2::Tag *) 0 ;
3963
- void *argp1 = 0 ;
3964
- int res1 = 0 ;
3965
- TagLib::ByteVector result;
3966
- VALUE vresult = Qnil;
3967
-
3968
- if ((argc < 0) || (argc > 0)) {
3969
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
3970
- }
3971
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_TagLib__ID3v2__Tag, 0 | 0 );
3972
- if (!SWIG_IsOK(res1)) {
3973
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::Tag const *","render", 1, self ));
3974
- }
3975
- arg1 = reinterpret_cast< TagLib::ID3v2::Tag * >(argp1);
3976
- result = ((TagLib::ID3v2::Tag const *)arg1)->render();
3977
- {
3978
- vresult = taglib_bytevector_to_ruby_string(result);
3979
- }
3980
- return vresult;
3981
- fail:
3982
- return Qnil;
3983
- }
3984
-
3985
-
3986
3887
  static swig_class SwigClassFrameFactory;
3987
3888
 
3988
3889
  SWIGINTERN VALUE
@@ -4043,7 +3944,7 @@ SWIGINTERN VALUE
4043
3944
  _wrap_FrameFactory_create_frame__SWIG_1(int argc, VALUE *argv, VALUE self) {
4044
3945
  TagLib::ID3v2::FrameFactory *arg1 = (TagLib::ID3v2::FrameFactory *) 0 ;
4045
3946
  TagLib::ByteVector *arg2 = 0 ;
4046
- TagLib::uint arg3 ;
3947
+ unsigned int arg3 ;
4047
3948
  void *argp1 = 0 ;
4048
3949
  int res1 = 0 ;
4049
3950
  TagLib::ByteVector tmp2 ;
@@ -4066,9 +3967,9 @@ _wrap_FrameFactory_create_frame__SWIG_1(int argc, VALUE *argv, VALUE self) {
4066
3967
  }
4067
3968
  ecode3 = SWIG_AsVal_unsigned_SS_int(argv[1], &val3);
4068
3969
  if (!SWIG_IsOK(ecode3)) {
4069
- SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "TagLib::uint","createFrame", 3, argv[1] ));
3970
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","createFrame", 3, argv[1] ));
4070
3971
  }
4071
- arg3 = static_cast< TagLib::uint >(val3);
3972
+ arg3 = static_cast< unsigned int >(val3);
4072
3973
  result = (TagLib::ID3v2::Frame *)((TagLib::ID3v2::FrameFactory const *)arg1)->createFrame((TagLib::ByteVector const &)*arg2,arg3);
4073
3974
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TagLib__ID3v2__Frame, 0 | 0 );
4074
3975
  return vresult;
@@ -4229,7 +4130,7 @@ SWIGINTERN VALUE _wrap_FrameFactory_create_frame(int nargs, VALUE *args, VALUE s
4229
4130
  fail:
4230
4131
  Ruby_Format_OverloadedError( argc, 4, "FrameFactory.create_frame",
4231
4132
  " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data, bool synchSafeInts)\n"
4232
- " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data, TagLib::uint version)\n"
4133
+ " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data, unsigned int version)\n"
4233
4134
  " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data)\n"
4234
4135
  " TagLib::ID3v2::Frame * FrameFactory.create_frame(TagLib::ByteVector const &data, TagLib::ID3v2::Header *tagHeader)\n");
4235
4136
 
@@ -6777,7 +6678,7 @@ _wrap_PopularimeterFrame_counter(int argc, VALUE *argv, VALUE self) {
6777
6678
  TagLib::ID3v2::PopularimeterFrame *arg1 = (TagLib::ID3v2::PopularimeterFrame *) 0 ;
6778
6679
  void *argp1 = 0 ;
6779
6680
  int res1 = 0 ;
6780
- TagLib::uint result;
6681
+ unsigned int result;
6781
6682
  VALUE vresult = Qnil;
6782
6683
 
6783
6684
  if ((argc < 0) || (argc > 0)) {
@@ -6788,7 +6689,7 @@ _wrap_PopularimeterFrame_counter(int argc, VALUE *argv, VALUE self) {
6788
6689
  SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "TagLib::ID3v2::PopularimeterFrame const *","counter", 1, self ));
6789
6690
  }
6790
6691
  arg1 = reinterpret_cast< TagLib::ID3v2::PopularimeterFrame * >(argp1);
6791
- result = (TagLib::uint)((TagLib::ID3v2::PopularimeterFrame const *)arg1)->counter();
6692
+ result = (unsigned int)((TagLib::ID3v2::PopularimeterFrame const *)arg1)->counter();
6792
6693
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6793
6694
  return vresult;
6794
6695
  fail:
@@ -6799,7 +6700,7 @@ fail:
6799
6700
  SWIGINTERN VALUE
6800
6701
  _wrap_PopularimeterFrame_countere___(int argc, VALUE *argv, VALUE self) {
6801
6702
  TagLib::ID3v2::PopularimeterFrame *arg1 = (TagLib::ID3v2::PopularimeterFrame *) 0 ;
6802
- TagLib::uint arg2 ;
6703
+ unsigned int arg2 ;
6803
6704
  void *argp1 = 0 ;
6804
6705
  int res1 = 0 ;
6805
6706
  unsigned int val2 ;
@@ -6815,9 +6716,9 @@ _wrap_PopularimeterFrame_countere___(int argc, VALUE *argv, VALUE self) {
6815
6716
  arg1 = reinterpret_cast< TagLib::ID3v2::PopularimeterFrame * >(argp1);
6816
6717
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
6817
6718
  if (!SWIG_IsOK(ecode2)) {
6818
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TagLib::uint","setCounter", 2, argv[0] ));
6719
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setCounter", 2, argv[0] ));
6819
6720
  }
6820
- arg2 = static_cast< TagLib::uint >(val2);
6721
+ arg2 = static_cast< unsigned int >(val2);
6821
6722
  (arg1)->setCounter(arg2);
6822
6723
  return Qnil;
6823
6724
  fail:
@@ -7346,6 +7247,64 @@ fail:
7346
7247
  }
7347
7248
 
7348
7249
 
7250
+ SWIGINTERN VALUE
7251
+ _wrap_new_UserTextIdentificationFrame__SWIG_2(int argc, VALUE *argv, VALUE self) {
7252
+ TagLib::ByteVector *arg1 = 0 ;
7253
+ TagLib::ByteVector tmp1 ;
7254
+ TagLib::ID3v2::UserTextIdentificationFrame *result = 0 ;
7255
+
7256
+ if ((argc < 1) || (argc > 1)) {
7257
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7258
+ }
7259
+ {
7260
+ tmp1 = ruby_string_to_taglib_bytevector(argv[0]);
7261
+ arg1 = &tmp1;
7262
+ }
7263
+ result = (TagLib::ID3v2::UserTextIdentificationFrame *)new TagLib::ID3v2::UserTextIdentificationFrame((TagLib::ByteVector const &)*arg1);
7264
+ DATA_PTR(self) = result;
7265
+ SWIG_RubyAddTracking(result, self);
7266
+ return self;
7267
+ fail:
7268
+ return Qnil;
7269
+ }
7270
+
7271
+
7272
+ SWIGINTERN VALUE
7273
+ _wrap_new_UserTextIdentificationFrame__SWIG_3(int argc, VALUE *argv, VALUE self) {
7274
+ TagLib::String *arg1 = 0 ;
7275
+ TagLib::StringList *arg2 = 0 ;
7276
+ TagLib::String::Type arg3 ;
7277
+ TagLib::String tmp1 ;
7278
+ TagLib::StringList tmp2 ;
7279
+ int val3 ;
7280
+ int ecode3 = 0 ;
7281
+ TagLib::ID3v2::UserTextIdentificationFrame *result = 0 ;
7282
+
7283
+ if ((argc < 3) || (argc > 3)) {
7284
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
7285
+ }
7286
+ {
7287
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
7288
+ arg1 = &tmp1;
7289
+ }
7290
+ {
7291
+ tmp2 = ruby_array_to_taglib_string_list(argv[1]);
7292
+ arg2 = &tmp2;
7293
+ }
7294
+ ecode3 = SWIG_AsVal_int(argv[2], &val3);
7295
+ if (!SWIG_IsOK(ecode3)) {
7296
+ SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "TagLib::String::Type","UserTextIdentificationFrame", 3, argv[2] ));
7297
+ }
7298
+ arg3 = static_cast< TagLib::String::Type >(val3);
7299
+ result = (TagLib::ID3v2::UserTextIdentificationFrame *)new TagLib::ID3v2::UserTextIdentificationFrame((TagLib::String const &)*arg1,(TagLib::StringList const &)*arg2,arg3);
7300
+ DATA_PTR(self) = result;
7301
+ SWIG_RubyAddTracking(result, self);
7302
+ return self;
7303
+ fail:
7304
+ return Qnil;
7305
+ }
7306
+
7307
+
7349
7308
  #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
7350
7309
  SWIGINTERN VALUE
7351
7310
  _wrap_UserTextIdentificationFrame_allocate(VALUE self) {
@@ -7364,19 +7323,25 @@ _wrap_UserTextIdentificationFrame_allocate(VALUE self) {
7364
7323
 
7365
7324
 
7366
7325
  SWIGINTERN VALUE
7367
- _wrap_new_UserTextIdentificationFrame__SWIG_2(int argc, VALUE *argv, VALUE self) {
7368
- TagLib::ByteVector *arg1 = 0 ;
7369
- TagLib::ByteVector tmp1 ;
7326
+ _wrap_new_UserTextIdentificationFrame__SWIG_4(int argc, VALUE *argv, VALUE self) {
7327
+ TagLib::String *arg1 = 0 ;
7328
+ TagLib::StringList *arg2 = 0 ;
7329
+ TagLib::String tmp1 ;
7330
+ TagLib::StringList tmp2 ;
7370
7331
  TagLib::ID3v2::UserTextIdentificationFrame *result = 0 ;
7371
7332
 
7372
- if ((argc < 1) || (argc > 1)) {
7373
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
7333
+ if ((argc < 2) || (argc > 2)) {
7334
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
7374
7335
  }
7375
7336
  {
7376
- tmp1 = ruby_string_to_taglib_bytevector(argv[0]);
7337
+ tmp1 = ruby_string_to_taglib_string(argv[0]);
7377
7338
  arg1 = &tmp1;
7378
7339
  }
7379
- result = (TagLib::ID3v2::UserTextIdentificationFrame *)new TagLib::ID3v2::UserTextIdentificationFrame((TagLib::ByteVector const &)*arg1);
7340
+ {
7341
+ tmp2 = ruby_array_to_taglib_string_list(argv[1]);
7342
+ arg2 = &tmp2;
7343
+ }
7344
+ result = (TagLib::ID3v2::UserTextIdentificationFrame *)new TagLib::ID3v2::UserTextIdentificationFrame((TagLib::String const &)*arg1,(TagLib::StringList const &)*arg2);
7380
7345
  DATA_PTR(self) = result;
7381
7346
  SWIG_RubyAddTracking(result, self);
7382
7347
  return self;
@@ -7387,11 +7352,11 @@ fail:
7387
7352
 
7388
7353
  SWIGINTERN VALUE _wrap_new_UserTextIdentificationFrame(int nargs, VALUE *args, VALUE self) {
7389
7354
  int argc;
7390
- VALUE argv[1];
7355
+ VALUE argv[3];
7391
7356
  int ii;
7392
7357
 
7393
7358
  argc = nargs;
7394
- if (argc > 1) SWIG_fail;
7359
+ if (argc > 3) SWIG_fail;
7395
7360
  for (ii = 0; (ii < argc); ++ii) {
7396
7361
  argv[ii] = args[ii];
7397
7362
  }
@@ -7416,12 +7381,46 @@ SWIGINTERN VALUE _wrap_new_UserTextIdentificationFrame(int nargs, VALUE *args, V
7416
7381
  return _wrap_new_UserTextIdentificationFrame__SWIG_2(nargs, args, self);
7417
7382
  }
7418
7383
  }
7384
+ if (argc == 2) {
7385
+ int _v;
7386
+ int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
7387
+ _v = SWIG_CheckState(res);
7388
+ if (_v) {
7389
+ void *vptr = 0;
7390
+ int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__StringList, 0);
7391
+ _v = SWIG_CheckState(res);
7392
+ if (_v) {
7393
+ return _wrap_new_UserTextIdentificationFrame__SWIG_4(nargs, args, self);
7394
+ }
7395
+ }
7396
+ }
7397
+ if (argc == 3) {
7398
+ int _v;
7399
+ int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
7400
+ _v = SWIG_CheckState(res);
7401
+ if (_v) {
7402
+ void *vptr = 0;
7403
+ int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_TagLib__StringList, 0);
7404
+ _v = SWIG_CheckState(res);
7405
+ if (_v) {
7406
+ {
7407
+ int res = SWIG_AsVal_int(argv[2], NULL);
7408
+ _v = SWIG_CheckState(res);
7409
+ }
7410
+ if (_v) {
7411
+ return _wrap_new_UserTextIdentificationFrame__SWIG_3(nargs, args, self);
7412
+ }
7413
+ }
7414
+ }
7415
+ }
7419
7416
 
7420
7417
  fail:
7421
- Ruby_Format_OverloadedError( argc, 1, "UserTextIdentificationFrame.new",
7418
+ Ruby_Format_OverloadedError( argc, 3, "UserTextIdentificationFrame.new",
7422
7419
  " UserTextIdentificationFrame.new(TagLib::String::Type encoding)\n"
7423
7420
  " UserTextIdentificationFrame.new()\n"
7424
- " UserTextIdentificationFrame.new(TagLib::ByteVector const &data)\n");
7421
+ " UserTextIdentificationFrame.new(TagLib::ByteVector const &data)\n"
7422
+ " UserTextIdentificationFrame.new(TagLib::String const &description, TagLib::StringList const &values, TagLib::String::Type encoding)\n"
7423
+ " UserTextIdentificationFrame.new(TagLib::String const &description, TagLib::StringList const &values)\n");
7425
7424
 
7426
7425
  return Qnil;
7427
7426
  }
@@ -9233,7 +9232,6 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
9233
9232
  rb_undef_alloc_func(SwigClassFrame.klass);
9234
9233
  rb_define_method(SwigClassFrame.klass, "frame_id", VALUEFUNC(_wrap_Frame_frame_id), -1);
9235
9234
  rb_define_method(SwigClassFrame.klass, "size", VALUEFUNC(_wrap_Frame_size), -1);
9236
- rb_define_singleton_method(SwigClassFrame.klass, "header_size", VALUEFUNC(_wrap_Frame_header_size), -1);
9237
9235
  rb_define_method(SwigClassFrame.klass, "data=", VALUEFUNC(_wrap_Frame_datae___), -1);
9238
9236
  rb_define_method(SwigClassFrame.klass, "text=", VALUEFUNC(_wrap_Frame_texte___), -1);
9239
9237
  rb_define_method(SwigClassFrame.klass, "to_string", VALUEFUNC(_wrap_Frame_to_string), -1);
@@ -9270,7 +9268,6 @@ SWIGEXPORT void Init_taglib_id3v2(void) {
9270
9268
  rb_define_method(SwigClassTag.klass, "add_frame", VALUEFUNC(_wrap_Tag_add_frame), -1);
9271
9269
  rb_define_method(SwigClassTag.klass, "remove_frame", VALUEFUNC(_wrap_Tag_remove_frame), -1);
9272
9270
  rb_define_method(SwigClassTag.klass, "remove_frames", VALUEFUNC(_wrap_Tag_remove_frames), -1);
9273
- rb_define_method(SwigClassTag.klass, "render", VALUEFUNC(_wrap_Tag_render), -1);
9274
9271
  SwigClassTag.mark = 0;
9275
9272
  SwigClassTag.destroy = (void (*)(void *)) free_TagLib_ID3v2_Tag;
9276
9273
  SwigClassTag.trackObjects = 1;