Browse Source

Mark ConstCharStart.toString as extern too

Hugh 10 years ago
parent
commit
3937ecbfa7
1 changed files with 1 additions and 1 deletions
  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
    @:from
    static public inline function fromString(s:String) return new ConstCharStar(s);
    static public inline function fromString(s:String) return new ConstCharStar(s);
 
 
-   @:to
+   @:to @:extern
    public inline function toString():String return new String(untyped this);
    public inline function toString():String return new String(untyped this);
 
 
     @:to @:extern
     @:to @:extern