6b3d675f78
I've filed https://github.com/mesonbuild/meson/issues/5462 about the fact that vs_module_defs cannot accept an empty list (the usual way in meson to say "nothing" (like NULL, None, etc). This allows msvc to compile a bz2-1.dll that at least passes the tests provided. The .def file doesn't work for mingw due to (I think) differences in the way msvc and mingw define .def files. I *think*, but I'm not positive, it has to do with stdcall vs cdecl, but I'm just throwing stuff at the wall till it sticks.
28 lines
511 B
Modula-2
28 lines
511 B
Modula-2
LIBRARY bz2-1
|
|
DESCRIPTION "bz2: library for data compression"
|
|
EXPORTS
|
|
BZ2_bzCompressInit
|
|
BZ2_bzCompress
|
|
BZ2_bzCompressEnd
|
|
BZ2_bzDecompressInit
|
|
BZ2_bzDecompress
|
|
BZ2_bzDecompressEnd
|
|
BZ2_bzReadOpen
|
|
BZ2_bzReadClose
|
|
BZ2_bzReadGetUnused
|
|
BZ2_bzRead
|
|
BZ2_bzWriteOpen
|
|
BZ2_bzWrite
|
|
BZ2_bzWriteClose
|
|
BZ2_bzWriteClose64
|
|
BZ2_bzBuffToBuffCompress
|
|
BZ2_bzBuffToBuffDecompress
|
|
BZ2_bzlibVersion
|
|
BZ2_bzopen
|
|
BZ2_bzdopen
|
|
BZ2_bzread
|
|
BZ2_bzwrite
|
|
BZ2_bzflush
|
|
BZ2_bzclose
|
|
BZ2_bzerror
|