Parcourir la source

Mark ConstCharStart.toString as extern too

Hugh il y a 10 ans
Parent
commit
3937ecbfa7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      std/cpp/ConstCharStar.hx

+ 1 - 1
std/cpp/ConstCharStar.hx

@@ -7,7 +7,7 @@ abstract ConstCharStar( RawConstPointer<Char> ) to(RawConstPointer<Char>)
    @:from
    static public inline function fromString(s:String) return new ConstCharStar(s);
 
-   @:to
+   @:to @:extern
    public inline function toString():String return new String(untyped this);
 
     @:to @:extern