Skip to content

Commit 6cd1487

Browse files
committed
Use the cdecl approach and drop the thunk building.
1 parent d378aa2 commit 6cd1487

File tree

4 files changed

+9
-2898
lines changed

4 files changed

+9
-2898
lines changed

+DSS_MATLAB/IDSS.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,13 @@
6666
if libisloaded(DLLfilePath)
6767
return
6868
else
69-
loadlibrary(DLLfilePath, @DSS_MATLAB.dss_capi_v7);
69+
loadlibrary(DLLfilePath, @DSS_MATLAB.dss_capi_v7_no_thunk);
7070
obj.libraryWasLoaded = 1;
7171
end
7272
end
7373
function delete(obj)
7474
if (obj.libraryWasLoaded ~= 0)
75-
MfilePath = fileparts(mfilename('fullpath'));
76-
DLLfilePath = fullfile(MfilePath, 'dss_capi_v7');
77-
unloadlibrary(DLLfilePath);
75+
unloadlibrary('dss_capi_v7');
7876
end
7977
end
8078

+DSS_MATLAB/build.m

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)