abc

Fork of BLE_API by Bluetooth Low Energy

Revision:
199:6b57874115f6
Parent:
198:933961a2ac6f
Child:
227:5c4cb4553821
diff -r 933961a2ac6f -r 6b57874115f6 public/CallChainOfFunctionPointersWithContext.h
--- a/public/CallChainOfFunctionPointersWithContext.h	Fri Nov 28 14:11:25 2014 +0000
+++ b/public/CallChainOfFunctionPointersWithContext.h	Mon Dec 01 14:31:17 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