aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
authorMimmo La Fauci <mlafauci@metodo2.it>2013-02-08 19:21:46 +0100
committerMimmo La Fauci <mlafauci@metodo2.it>2013-02-08 19:21:46 +0100
commitfb1abe737ed23c57a3208d603933dd68138ad022 (patch)
tree524df5142c6566dd19a0d05c40b37c16705cec06 /cores/arduino/WString.h
parent09b755fb9c3f5c42fa9b38ffeef0dbfa2cfd8315 (diff)
Added function on WString class to export char ptr
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 947325e..ec6cead 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -169,6 +169,7 @@ public:
// parsing/conversion
long toInt(void) const;
+ char* c_str() const;
protected:
char *buffer; // the actual char array