File tree 2 files changed +4
-40
lines changed
2 files changed +4
-40
lines changed Original file line number Diff line number Diff line change 54
54
run : |
55
55
meson test -vC builddir
56
56
57
- - if : matrix.os == 'windows-2019'
58
- name : Release (Windows)
59
- uses : ncipollo/release-action@v1
60
- with :
61
- allowUpdates : true
62
- replacesArtifacts : true
63
- tag : latest-win
64
- name : Lastest (Windows)
65
- artifacts : builddir/libDSPatch.a
66
- artifactContentType : application/octet-stream
67
- commit : ${{ github.sha }}
68
-
69
- - if : matrix.os == 'macos-11'
70
- name : Release (MacOS)
71
- uses : ncipollo/release-action@v1
72
- with :
73
- allowUpdates : true
74
- replacesArtifacts : true
75
- tag : latest-mac
76
- name : Lastest (MacOS)
77
- artifacts : builddir/libDSPatch.a
78
- artifactContentType : application/octet-stream
79
- commit : ${{ github.sha }}
80
-
81
- - if : matrix.os == 'ubuntu-20.04'
82
- name : Release (Linux)
83
- uses : ncipollo/release-action@v1
84
- with :
85
- allowUpdates : true
86
- replacesArtifacts : true
87
- tag : latest-linux
88
- name : Lastest (Linux)
89
- artifacts : builddir/libDSPatch.a
90
- artifactContentType : application/octet-stream
91
- commit : ${{ github.sha }}
92
-
93
57
# - if: matrix.os == 'windows-2019'
94
58
# name: Build - Debug (Windows)
95
59
# run: |
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Plugin::Plugin( const std::string& pluginPath )
90
90
{
91
91
// open library
92
92
#ifdef _WIN32
93
- handle = LoadLibrary ( pluginPath.c_str () );
93
+ _handle = LoadLibrary ( pluginPath.c_str () );
94
94
#else
95
95
_handle = dlopen ( pluginPath.c_str (), RTLD_NOW );
96
96
#endif
@@ -99,15 +99,15 @@ Plugin::Plugin( const std::string& pluginPath )
99
99
{
100
100
// load symbols
101
101
#ifdef _WIN32
102
- create = (Create_t)GetProcAddress ( (HMODULE)handle , " Create" );
102
+ _create = (Create_t)GetProcAddress ( (HMODULE)_handle , " Create" );
103
103
#else
104
104
_create = (Create_t)dlsym ( _handle, " Create" );
105
105
#endif
106
106
107
107
if ( !_create )
108
108
{
109
109
#ifdef _WIN32
110
- FreeLibrary ( (HMODULE)handle );
110
+ FreeLibrary ( (HMODULE)_handle );
111
111
#else
112
112
dlclose ( _handle );
113
113
#endif
@@ -123,7 +123,7 @@ Plugin::~Plugin()
123
123
if ( _handle )
124
124
{
125
125
#ifdef _WIN32
126
- FreeLibrary ( (HMODULE)handle );
126
+ FreeLibrary ( (HMODULE)_handle );
127
127
#else
128
128
dlclose ( _handle );
129
129
#endif
You can’t perform that action at this time.
0 commit comments