BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

Revision:
140:407d134c179d
Parent:
139:baaf1c5f0db2
Child:
144:c025c8839682
--- a/public/CallChainOfFunctionPointersWithContext.h	Fri Nov 21 09:23:24 2014 +0000
+++ b/public/CallChainOfFunctionPointersWithContext.h	Fri Nov 21 09:23:24 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;
  *
@@ -145,4 +147,6 @@
     CallChainOfFunctionPointersWithContext & operator = (const CallChainOfFunctionPointersWithContext &);
 };
 
-#endif
\ No newline at end of file
+} // namespace mbed
+
+#endif