2
0
Эх сурвалжийг харах

[cpp] Mark toPointer as extern

hughsando 10 жил өмнө
parent
commit
39dc01e058

+ 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 toPointer() return this;
     public inline function toPointer() return this;
 }
 }