Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode functions moved out of base in 0.7 #89

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/LibExpat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ module LibExpat
using Compat

import Base: getindex, show, parse
import Compat.Unicode: isspace, isalpha, isalnum

if Compat.Sys.iswindows()
if Compat.Sys.iswindows()
const libexpat = "libexpat-1"
elseif Compat.Sys.isunix()
elseif Compat.Sys.isunix()
const libexpat = "libexpat"
end

Expand Down Expand Up @@ -211,7 +212,7 @@ function attrs_in_to_dict(attrs_in::Ptr{Ptr{UInt8}})
v = unsafe_string(attr)

attrs[k] = v

i += 1
attr = unsafe_load(attrs_in, i)
end
Expand Down