Browse Source

[std] fix haxe.Utf8 deprecation

(insert "we need typed metadata" discussion)
Jens Fischer 6 years ago
parent
commit
706a0309e7

+ 1 - 1
std/cpp/_std/haxe/Utf8.hx

@@ -24,7 +24,7 @@ package haxe;
 using cpp.NativeString;
 using cpp.NativeString;
 
 
 @:coreApi
 @:coreApi
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 class Utf8
 class Utf8
 {
 {
    var __s:Array<Int>;
    var __s:Array<Int>;

+ 1 - 1
std/eval/_std/haxe/Utf8.hx

@@ -22,7 +22,7 @@
 package haxe;
 package haxe;
 
 
 @:coreApi
 @:coreApi
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 extern class Utf8 {
 extern class Utf8 {
 	public function new( ?size : Int ):Void;
 	public function new( ?size : Int ):Void;
 	public function addChar( c : Int ) : Void;
 	public function addChar( c : Int ) : Void;

+ 1 - 1
std/haxe/Utf8.hx

@@ -25,7 +25,7 @@ package haxe;
 	Since not all platforms guarantee that `String` always uses UTF-8 encoding, you
 	Since not all platforms guarantee that `String` always uses UTF-8 encoding, you
 	can use this cross-platform API to perform operations on such strings.
 	can use this cross-platform API to perform operations on such strings.
 **/
 **/
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 class Utf8 {
 class Utf8 {
 
 
 	var __b : String;
 	var __b : String;

+ 1 - 1
std/neko/_std/haxe/Utf8.hx

@@ -22,7 +22,7 @@
 package haxe;
 package haxe;
 
 
 @:coreApi
 @:coreApi
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 class Utf8 {
 class Utf8 {
 
 
 	var __b : Dynamic;
 	var __b : Dynamic;

+ 1 - 1
std/php/_std/haxe/Utf8.hx

@@ -24,7 +24,7 @@ package haxe;
 import php.Global;
 import php.Global;
 
 
 @:coreApi
 @:coreApi
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 class Utf8 {
 class Utf8 {
 
 
 	var __b : String;
 	var __b : String;