We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bbef28 commit a1d470aCopy full SHA for a1d470a
2 files changed
src/CodecZlib.jl
@@ -39,6 +39,11 @@ function splitkwargs(kwargs, keys)
39
return hits, others
40
end
41
42
+# For compatibility.
43
+if !isdefined(Base, :Cvoid)
44
+ const Cvoid = Void
45
+end
46
+
47
include("libz.jl")
48
include("compression.jl")
49
include("decompression.jl")
src/libz.jl
@@ -11,11 +11,11 @@ mutable struct ZStream
11
total_out::Culong
12
13
msg::Ptr{UInt8}
14
- state::Ptr{Void}
+ state::Ptr{Cvoid}
15
16
- zalloc::Ptr{Void}
17
- zfree::Ptr{Void}
18
- opaque::Ptr{Void}
+ zalloc::Ptr{Cvoid}
+ zfree::Ptr{Cvoid}
+ opaque::Ptr{Cvoid}
19
20
data_type::Cint
21
0 commit comments