Beispiel #1
0
    public static SWIGTYPE_p_ssize_t getline(SWIGTYPE_p_p_char lineptr, SWIGTYPE_p_size_t n, SWIGTYPE_p_FILE stream)
    {
        SWIGTYPE_p_ssize_t ret = new SWIGTYPE_p_ssize_t(modshogunPINVOKE.AsciiFile_getline(SWIGTYPE_p_p_char.getCPtr(lineptr), SWIGTYPE_p_size_t.getCPtr(n), SWIGTYPE_p_FILE.getCPtr(stream)), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_ssize_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #3
0
 public static SWIGTYPE_p_ssize_t getline(SWIGTYPE_p_p_char lineptr, SWIGTYPE_p_size_t n, SWIGTYPE_p_FILE stream) {
   SWIGTYPE_p_ssize_t ret = new SWIGTYPE_p_ssize_t(modshogunPINVOKE.AsciiFile_getline(SWIGTYPE_p_p_char.getCPtr(lineptr), SWIGTYPE_p_size_t.getCPtr(n), SWIGTYPE_p_FILE.getCPtr(stream)), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #4
0
 internal static HandleRef getCPtr(SWIGTYPE_p_ssize_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }