Exemple #1
0
    public static bool writeToStream(PortWriter portable, SWIGTYPE_p_yarp__os__OutputStream os)
    {
        bool ret = yarpPINVOKE.ConnectionWriter_writeToStream(PortWriter.getCPtr(portable), SWIGTYPE_p_yarp__os__OutputStream.getCPtr(os));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_yarp__os__OutputStream obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public static bool writeToStream(PortWriter portable, SWIGTYPE_p_yarp__os__OutputStream os)
 {
     bool ret = yarpPINVOKE.ConnectionWriter_writeToStream(PortWriter.getCPtr(portable), SWIGTYPE_p_yarp__os__OutputStream.getCPtr(os));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_yarp__os__OutputStream obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }