[gnoduino: 97/237] Renaming writeError() to getWriteError() in Print (and Stream and friends).



commit 57be2b1082855c12793559dbaf4922517bc1ae54
Author: David A. Mellis <d mellis arduino cc>
Date:   Wed Aug 31 15:39:20 2011 -0400

    Renaming writeError() to getWriteError() in Print (and Stream and friends).
    
    http://code.google.com/p/arduino/issues/detail?id=608

 arduino/cores/arduino/Print.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/arduino/cores/arduino/Print.h b/arduino/cores/arduino/Print.h
index fce302e..8530b03 100755
--- a/arduino/cores/arduino/Print.h
+++ b/arduino/cores/arduino/Print.h
@@ -42,7 +42,7 @@ class Print
   public:
     Print() : write_error(0) {}
   
-    int writeError() { return write_error; }
+    int getWriteError() { return write_error; }
     void clearWriteError() { setWriteError(0); }
   
     virtual size_t write(uint8_t) = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]