Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rpc by
Revision 17:6264f59dcd22, committed 2018-05-01
- Comitter:
- Nydrel
- Date:
- Tue May 01 07:43:52 2018 +0000
- Parent:
- 12:3b049dde55d7
- Commit message:
- Added support for receiving arguments of type *char
Changed in this revision
| Arguments.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Arguments.cpp Tue Mar 08 09:15:16 2016 +0000
+++ b/Arguments.cpp Tue May 01 07:43:52 2018 +0000
@@ -84,6 +84,11 @@
return argv[index];
}
+template<> char* Arguments::getArg<char*>(void) {
+ index++;
+ return argv[index];
+}
+
template<> char Arguments::getArg<char>(void) {
index++;
return *argv[index];
