Inheritance: IDisposable
Example #1
0
        internal static HandleRef getCPtrAndDisown(SyntaxChecker obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

            if (obj != null)
            {
            ptr             = obj.swigCPtr;
            obj.swigCMemOwn = false;
            }

            return ptr;
        }
Example #2
0
 internal static HandleRef getCPtr(SyntaxChecker obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }