aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-03-19 11:14:17 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-03-19 11:14:17 -0400
commit58d04ab3a3a0b13524a862168bed1c3d0708766e (patch)
treeb4f63ebe6373c08ffa93002f263fa71a2177879d /cores/arduino/WString.h
parent7dea0522f48641106f92b1511b9e62ee46f8e2dc (diff)
Return an invalid string (not a partial one) when operator+() fails.
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r--cores/arduino/WString.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index 18b6541..d707309 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -153,6 +153,7 @@ protected:
unsigned char flags; // unused, for future features
protected:
void init(void);
+ void invalidate(void);
unsigned char changeBuffer(unsigned int maxStrLen);
unsigned char concat(const char *cstr, unsigned int length);