Skip to content

Commit

Permalink
Deprecate utf16_is_surrogate and utf16_get_supplementary
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Jul 30, 2015
1 parent 1f7a481 commit 93e4e64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,10 @@ function start_timer(t, d, r)
error("start_timer is deprecated. Use Timer(callback, delay, repeat) instead.")
end

# 11551
@deprecate utf16_is_surrogate(chr::UInt16) Base.is_surrogate_codeunit(chr)
@deprecate utf16_get_supplementary(lead::UInt16, trail::UInt16) Base.get_supplementary(lead, trail)

const UnionType = Union
export UnionType

Expand Down

0 comments on commit 93e4e64

Please sign in to comment.