Пример #1
0
 public RefPtr(RefPtr src) : this(VixenLibPINVOKE.new_RefPtr__SWIG_1(RefPtr.getCPtr(src)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public bool Equal(RefPtr p)
        {
            bool ret = VixenLibPINVOKE.RefPtr_Equal__SWIG_0(swigCPtr, RefPtr.getCPtr(p));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public RefPtr Assign(RefPtr src)
        {
            RefPtr ret = new RefPtr(VixenLibPINVOKE.RefPtr_Assign__SWIG_1(swigCPtr, RefPtr.getCPtr(src)), false);

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
        public RefPtr Assign(RefObj arg0)
        {
            RefPtr ret = new RefPtr(VixenLibPINVOKE.RefPtr_Assign__SWIG_0(swigCPtr, RefObj.getCPtr(arg0)), false);

            return(ret);
        }
Пример #5
0
 internal static HandleRef getCPtr(RefPtr obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }