Преглед на файлове

[std] fix haxe.Utf8 deprecation

(insert "we need typed metadata" discussion)
Jens Fischer преди 6 години
родител
ревизия
706a0309e7
променени са 5 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 1 1
      std/cpp/_std/haxe/Utf8.hx
  2. 1 1
      std/eval/_std/haxe/Utf8.hx
  3. 1 1
      std/haxe/Utf8.hx
  4. 1 1
      std/neko/_std/haxe/Utf8.hx
  5. 1 1
      std/php/_std/haxe/Utf8.hx

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

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

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

@@ -22,7 +22,7 @@
 package haxe;
 
 @:coreApi
-@:deprecate('haxe.Utf8 is deprecated. Use UnicodeString instead.')
+@:deprecated('haxe.Utf8 is deprecated. Use UnicodeString instead.')
 extern class Utf8 {
 	public function new( ?size : 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
 	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 {
 
 	var __b : String;

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

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

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

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