Exemple #1
0
 public FileStreamDataStream(SWIGTYPE_p_std__fstream s) : this(OgrePINVOKE.new_FileStreamDataStream__SWIG_3(SWIGTYPE_p_std__fstream.getCPtr(s)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public FileStreamDataStream(string name, SWIGTYPE_p_std__fstream s, bool freeOnClose) : this(OgrePINVOKE.new_FileStreamDataStream__SWIG_6(name, SWIGTYPE_p_std__fstream.getCPtr(s), freeOnClose), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__fstream obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }