Browse Source

Expose pointer.ptr

hughsando 10 years ago
parent
commit
900ce45699
1 changed files with 1 additions and 1 deletions
  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
    // ptr actually returns the pointer - not strictly a 'T' - for pointers to smart pointers
    // Use value or ref to get dereferenced value
    // Use value or ref to get dereferenced value
-	private var ptr:T;
+	public var ptr:T;
 
 
    @:analyzer(no_simplification)
    @:analyzer(no_simplification)
 	public var value(get,never):T;
 	public var value(get,never):T;