aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Printable.h
AgeCommit message (Collapse)Author
2014-09-06Printable.h doesn't need new.h but only stdlib.h for size_t.Cristian Maglie
Probalby new.h may be removed completely.
2011-08-27Merge branch 'new-extension' of https://github.com/arduino/Arduinoamcewen
2011-08-26Moving write errors out of return value into separate API methods.David A. Mellis
write(), print(), println() now return size_t (and don't use negative values to signal errors). Print adds writeError() for checking for write errors, clearWriteError() to reset the flag to false, and a protected setWriteError() for signalling errors. http://code.google.com/p/arduino/issues/detail?id=598
2011-08-26Changing from long to ssize_t (int) for write(), print(), println() return.David A. Mellis
2011-08-23write(), print(), and println() now return number of bytes written.David A. Mellis
The type is long, and negative values indicate errors. Needs more testing. http://code.google.com/p/arduino/issues/detail?id=551
2011-06-04Added Printable interface class to allow printing of classes such as IPAddressDavid A. Mellis
2011-04-10Added virtual destructor to Printable, which also requires new and delete ↵amcewen
operators to be added
2011-04-02Added a brief explanation of how you'd use Printableamcewen
2011-04-01Added Printable interface class to allow printing of classes such as IPAddressamcewen