libsbmlcs.ASTNode.getCPtrAndDisown C# (CSharp) Method

getCPtrAndDisown() static private method

static private getCPtrAndDisown ( ASTNode obj ) : HandleRef
obj ASTNode
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtrAndDisown(ASTNode obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }