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.
Dependents: Smart-WiFly-WebServer SignalGenerator WattEye X10Svr
Diff: IniManager.cpp
- Revision:
- 24:ba5fa9548f59
- Parent:
- 23:18b5f3d7ef14
- Child:
- 25:1362b843de86
diff -r 18b5f3d7ef14 -r ba5fa9548f59 IniManager.cpp
--- a/IniManager.cpp Sat Mar 31 23:36:47 2018 +0000
+++ b/IniManager.cpp Wed Apr 11 00:28:03 2018 +0000
@@ -313,6 +313,14 @@
return true;
}
+INI::INI_Return INI::WriteLongInt(const char * section, const char * key, long int value)
+{
+ char buf[20];
+ snprintf(buf, 20, "%ld", value);
+ return WriteString(section, key, buf);
+}
+
+
// Create the new version as .new
// once complete, if something actually changed, then rename the .ini to .bak and rename the .new to .ini
// once complete, if nothing actually changed, then delete the .new