getCPtr() static private method

static private getCPtr ( UnitDefinition obj ) : HandleRef
obj UnitDefinition
return System.Runtime.InteropServices.HandleRef
        static UnitDefinition divide(UnitDefinition ud1, UnitDefinition ud2)
        {
            IntPtr         cPtr = libsbmlPINVOKE.UnitDefinition_divide(UnitDefinition.getCPtr(ud1), UnitDefinition.getCPtr(ud2));
            UnitDefinition ret  = (cPtr == IntPtr.Zero) ? null : new UnitDefinition(cPtr, false);

            return(ret);
        }
        static UnitDefinition convertToSI(UnitDefinition ud)
        {
            IntPtr         cPtr = libsbmlPINVOKE.UnitDefinition_convertToSI(UnitDefinition.getCPtr(ud));
            UnitDefinition ret  = (cPtr == IntPtr.Zero) ? null : new UnitDefinition(cPtr, true);

            return(ret);
        }
        static UnitDefinition combine(UnitDefinition ud1, UnitDefinition ud2)
        {
            IntPtr         cPtr = libsbmlPINVOKE.UnitDefinition_combine(UnitDefinition.getCPtr(ud1), UnitDefinition.getCPtr(ud2));
            UnitDefinition ret  = (cPtr == IntPtr.Zero) ? null : new UnitDefinition(cPtr, true);

            return(ret);
        }
 static void reorder(UnitDefinition ud)
 {
     libsbmlPINVOKE.UnitDefinition_reorder(UnitDefinition.getCPtr(ud));
 }
 static void simplify(UnitDefinition ud)
 {
     libsbmlPINVOKE.UnitDefinition_simplify(UnitDefinition.getCPtr(ud));
 }
 UnitDefinition(UnitDefinition orig) : this(libsbmlPINVOKE.new_UnitDefinition__SWIG_2(UnitDefinition.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        static string printUnits(UnitDefinition ud)
        {
            string ret = libsbmlPINVOKE.UnitDefinition_printUnits__SWIG_1(UnitDefinition.getCPtr(ud));

            return(ret);
        }
        static string printUnits(UnitDefinition ud, bool compact)
        {
            string ret = libsbmlPINVOKE.UnitDefinition_printUnits__SWIG_0(UnitDefinition.getCPtr(ud), compact);

            return(ret);
        }
        static bool areEquivalent(UnitDefinition ud1, UnitDefinition ud2)
        {
            bool ret = libsbmlPINVOKE.UnitDefinition_areEquivalent(UnitDefinition.getCPtr(ud1), UnitDefinition.getCPtr(ud2));

            return(ret);
        }