Skip to content

Commit

Permalink
require TranscodingStreams.jl 0.5 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 authored Mar 10, 2018
1 parent 0780bee commit 2e3bc98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.6.0
TranscodingStreams 0.3
TranscodingStreams 0.5
Compat 0.55
18 changes: 3 additions & 15 deletions src/CodecZlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,10 @@ import TranscodingStreams:
Memory,
Error,
initialize,
finalize
finalize,
splitkwargs

# TODO: This method will be added in the next version of TranscodingStreams.jl.
function splitkwargs(kwargs, keys)
hits = []
others = []
for kwarg in kwargs
push!(kwarg[1] keys ? hits : others, kwarg)
end
return hits, others
end

# For compatibility.
if !isdefined(Base, :Cvoid)
const Cvoid = Void
end
using Compat: Cvoid

include("libz.jl")
include("compression.jl")
Expand Down

0 comments on commit 2e3bc98

Please sign in to comment.