From fb1abe737ed23c57a3208d603933dd68138ad022 Mon Sep 17 00:00:00 2001 From: Mimmo La Fauci Date: Fri, 8 Feb 2013 19:21:46 +0100 Subject: Added function on WString class to export char ptr --- cores/arduino/WString.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores/arduino/WString.h') 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 -- cgit v1.2.3-18-g5258