Parcourir la source

Expose pointer.ptr

hughsando il y a 10 ans
Parent
commit
900ce45699
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;