Skip to content

Commit dfae569

Browse files
committed
Globally ignore TagLib::List::operator!=
Ruby parses (a != b) as !(a == b). But unless it is ignored, swig will display a warning.
1 parent 14489f7 commit dfae569

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ext/taglib_base/taglib_base.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ namespace TagLib {
9494

9595
%ignore TagLib::List::operator[];
9696
%ignore TagLib::List::operator=;
97+
%ignore TagLib::List::operator!=;
9798
%include <taglib/tlist.h>
9899

99100
%include <taglib/tag.h>

ext/taglib_mp4/taglib_mp4.i

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <taglib/mp4atom.h>
88
%}
99

10-
%ignore TagLib::List::operator!=;
1110
%include "../taglib_base/includes.i"
1211
%import(module="taglib_base") "../taglib_base/taglib_base.i"
1312

0 commit comments

Comments
 (0)