package cpp; abstract ConstCharStar( RawConstPointer ) to(RawConstPointer) { inline function new(s:String) this = untyped s.__s; @:from static public inline function fromString(s:String) return new ConstCharStar(s); @:to @:extern public inline function toPointer() return this; }