Skip to content

Commit

Permalink
Add a missing compat for escape_string for 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Jun 22, 2016
1 parent f8826a2 commit 8b43c4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CSV.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if Base.VERSION < v"0.5.0-dev+4631"
unsafe_wrap{A<:Array}(::Type{A}, ptr, len) = pointer_to_array(ptr, len)
unsafe_string(ptr, len) = utf8(ptr, len)
unsafe_wrap(::Type{String}, ptr, len) = unsafe_string(ptr, len)
escape_string(io, str1, str2) = print_escaped(io, str1, str2)
end

immutable CSVError <: Exception
Expand Down

0 comments on commit 8b43c4d

Please sign in to comment.