@@ -538,18 +538,6 @@ function start_timer(t, d, r)
538
538
error (" start_timer is deprecated. Use Timer(callback, delay, repeat) instead." )
539
539
end
540
540
541
- # 11551
542
- function utf16_is_surrogate (chr:: UInt16 )
543
- depwarn (" utf16_is_surrogate was undocumented and unexported, and has been removed" ,
544
- :utf16_is_surrogate )
545
- Base. is_surrogate_codeunit (chr)
546
- end
547
- function utf16_get_supplementary (lead:: UInt16 , trail:: UInt16 )
548
- depwarn (" utf16_get_supplementary was undocumented and unexported, and has been removed" ,
549
- :utf16_get_supplementary )
550
- Base. get_supplementary (lead, trail)
551
- end
552
-
553
541
const UnionType = Union
554
542
export UnionType
555
543
562
550
563
551
export MathConst, @math_const
564
552
553
+ # 11551
554
+ function utf16_is_surrogate (chr:: UInt16 )
555
+ depwarn ("""
556
+ Base.utf16_is_surrogate was undocumented and unexported,
557
+ and has been removed. Use Base.is_surrogate_codeunit(chr::Unsigned) instead,
558
+ however it is also undocumented and unexported, and may change in the future.
559
+ """ ,
560
+ symbol (" utf16_is_surrogate" ))
561
+ Base. is_surrogate_codeunit (chr)
562
+ end
563
+ function utf16_is_lead (chr:: UInt16 )
564
+ depwarn ("""
565
+ Base.utf16_is_lead was undocumented and unexported,
566
+ and has been removed. Use Base.is_surrogate_lead(chr::Unsigned) instead,
567
+ however is is also undocumented and unexported, and may change in the future.
568
+ """ ,
569
+ symbol (" utf16_is_lead" ))
570
+ Base. is_surrogate_lead (chr)
571
+ end
572
+ function utf16_is_trail (chr:: UInt16 )
573
+ depwarn ("""
574
+ Base.utf16_is_trail was undocumented and unexported,
575
+ and has been removed. Use Base.is_surrogate_trail(chr::Unsigned) instead,
576
+ however it is also undocumented and unexported, and may change in the future.
577
+ """ ,
578
+ symbol (" utf16_is_trail" ))
579
+ Base. is_surrogate_trail (chr)
580
+ end
581
+ function utf16_get_supplementary (lead:: UInt16 , trail:: UInt16 )
582
+ depwarn ("""
583
+ Base.utf16_get_supplementary was undocumented and unexported,
584
+ and has been removed. Use Base.get_supplementary(lead::Unsigned, trail::Unsigned) instead,
585
+ however it is also undocumented and unexported, and may change in the future.
586
+ """ ,
587
+ symbol (" utf16_get_supplementary" ))
588
+ Base. get_supplementary (lead, trail)
589
+ end
590
+
565
591
# 11280, mmap
566
592
567
593
export msync
647
673
648
674
@deprecate mmap_bitarray {N} (:: Type{Bool} , dims:: NTuple{N,Integer} , s:: IOStream , offset:: FileOffset = position (s)) mmap (s, BitArray, dims, offset)
649
675
@deprecate mmap_bitarray {N} (dims:: NTuple{N,Integer} , s:: IOStream , offset= position (s)) mmap (s, BitArray, dims, offset)
676
+
0 commit comments