|
@@ -7,6 +7,9 @@ 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
|
|
|
|
+ public inline function toString():String return new String(untyped this);
|
|
|
|
+
|
|
@:to @:extern
|
|
@:to @:extern
|
|
public inline function toPointer() return this;
|
|
public inline function toPointer() return this;
|
|
}
|
|
}
|