libsbmlcs.ModelHistory.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( ModelHistory obj ) : HandleRef
obj ModelHistory
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(ModelHistory obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

Example #1
0
 ModelHistory(ModelHistory orig) : this(libsbmlPINVOKE.new_ModelHistory__SWIG_1(ModelHistory.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }