diff options
author | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-02-08 19:21:46 +0100 |
---|---|---|
committer | Mimmo La Fauci <mlafauci@metodo2.it> | 2013-02-08 19:21:46 +0100 |
commit | fb1abe737ed23c57a3208d603933dd68138ad022 (patch) | |
tree | 524df5142c6566dd19a0d05c40b37c16705cec06 /cores/arduino/WString.cpp | |
parent | 09b755fb9c3f5c42fa9b38ffeef0dbfa2cfd8315 (diff) |
Added function on WString class to export char ptr
Diffstat (limited to 'cores/arduino/WString.cpp')
-rw-r--r-- | cores/arduino/WString.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cores/arduino/WString.cpp b/cores/arduino/WString.cpp index c6839fc..d05037b 100644 --- a/cores/arduino/WString.cpp +++ b/cores/arduino/WString.cpp @@ -642,4 +642,8 @@ long String::toInt(void) const return 0; } +char* String::c_str() const +{ + return buffer; +} |