public ReturnsSharedPtr(ReturnsSharedPtr arg0) : this(native_wrapPINVOKE.new_ReturnsSharedPtr__SWIG_0(ReturnsSharedPtr.getCPtr(arg0)), true) { if (native_wrapPINVOKE.SWIGPendingException.Pending) { throw native_wrapPINVOKE.SWIGPendingException.Retrieve(); } }
public static ReturnsSharedPtr test_shared_ptr() { ReturnsSharedPtr ret = new ReturnsSharedPtr(native_wrapPINVOKE.test_shared_ptr(), true); return(ret); }
public ReturnsSharedPtr(ReturnsSharedPtrDelegate callback) { _director = new ConcreteDirector(callback); _proxy = new ReturnsSharedPtr(_director); }
public static ReturnsSharedPtr makeNative(ReturnsSharedPtr f) { return(null == f._director ? f : f._proxy); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ReturnsSharedPtr obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }