internal static HandleRef getCPtrAndDisown(SBMLInferUnitsConverter obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return ptr; }