浏览代码

Expose pointer.ptr

hughsando 10 年之前
父节点
当前提交
900ce45699
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/cpp/ConstPointer.hx

+ 1 - 1
std/cpp/ConstPointer.hx

@@ -6,7 +6,7 @@ extern class ConstPointer<T>
 {
    // ptr actually returns the pointer - not strictly a 'T' - for pointers to smart pointers
    // Use value or ref to get dereferenced value
-	private var ptr:T;
+	public var ptr:T;
 
    @:analyzer(no_simplification)
 	public var value(get,never):T;