Beispiel #1
0
 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();
     }
 }
Beispiel #2
0
    public static ReturnsSharedPtr test_shared_ptr()
    {
        ReturnsSharedPtr ret = new ReturnsSharedPtr(native_wrapPINVOKE.test_shared_ptr(), true);

        return(ret);
    }
Beispiel #3
0
 public ReturnsSharedPtr(ReturnsSharedPtrDelegate callback)
 {
     _director = new ConcreteDirector(callback);
     _proxy    = new ReturnsSharedPtr(_director);
 }
Beispiel #4
0
 public static ReturnsSharedPtr makeNative(ReturnsSharedPtr f)
 {
     return(null == f._director
             ? f
             : f._proxy);
 }
Beispiel #5
0
 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);
 }