Skip to content

Commit e9362db

Browse files
committed
Use swig 4.0.2
1 parent eb6708f commit e9362db

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
MAKEFLAGS: -j2
2626
PLATFORM: x86_64-linux
2727
TAGLIB_VERSION: 1.11.1
28-
SWIG_DIR: .swig-v3.0.7
28+
SWIG_DIR: .swig-v4.0.2
2929

3030
steps:
3131
- uses: actions/checkout@v2
@@ -34,17 +34,17 @@ jobs:
3434
with:
3535
ruby-version: ${{ matrix.ruby }}
3636

37-
- name: Cache SWIG v3.0.7
37+
- name: Cache SWIG v4.0.2
3838
id: cache-swig
3939
uses: actions/cache@v2
4040
with:
4141
path: ~/${{ env.SWIG_DIR }}
42-
key: swig-${{ matrix.os }}-v3.0.7
42+
key: swig-${{ matrix.os }}-v4.0.2
4343

44-
- name: Install SWIG v3.0.7
44+
- name: Install SWIG v4.0.2
4545
run: |
4646
sudo apt install yodl
47-
git clone --depth 1 --branch v3.0.7 https://github.com/swig/swig.git
47+
git clone --depth 1 --branch v4.0.2 https://github.com/swig/swig.git
4848
cd swig
4949
./autogen.sh
5050
./configure --prefix=$HOME/$SWIG_DIR --with-ruby=$(which ruby) --without-alllang

ext/taglib_base/includes.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// Undefine macros we don't need for wrapping
44
#define TAGLIB_EXPORT
55
#define TAGLIB_IGNORE_MISSING_DESTRUCTOR
6+
#define TAGLIB_DEPRECATED
67

78
// Replaces the typemap from swigtype.swg and just adds the line
89
// SWIG_RubyUnlinkObjects. This is done to be safe in the case when a

0 commit comments

Comments
 (0)