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: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/CallChainOfFunctionPointersWithContext.h
- Revision:
- 146:543877bb1f52
- Parent:
- 145:a7ded9ad83c8
- Child:
- 198:933961a2ac6f
--- a/public/CallChainOfFunctionPointersWithContext.h Fri Nov 21 09:23:25 2014 +0000
+++ b/public/CallChainOfFunctionPointersWithContext.h Fri Nov 28 14:11:19 2014 +0000
@@ -19,6 +19,7 @@
#include <string.h>
#include "FunctionPointerWithContext.h"
+namespace mbed {
/** Group one or more functions in an instance of a CallChainOfFunctionPointersWithContext, then call them in
* sequence using CallChainOfFunctionPointersWithContext::call(). Used mostly by the interrupt chaining code,
@@ -26,6 +27,7 @@
*
* Example:
* @code
+ * #include "mbed.h"
*
* CallChainOfFunctionPointersWithContext<void *> chain;
*
@@ -146,4 +148,6 @@
CallChainOfFunctionPointersWithContext & operator = (const CallChainOfFunctionPointersWithContext &);
};
-#endif
\ No newline at end of file
+} // namespace mbed
+
+#endif
