mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: platform/FunctionPointer.h
- Revision:
- 167:e84263d55307
- Parent:
- 160:d5399cc887bb
- Child:
- 178:79309dc6340a
--- a/platform/FunctionPointer.h Thu Jun 08 15:02:37 2017 +0100 +++ b/platform/FunctionPointer.h Wed Jun 21 17:46:44 2017 +0100 @@ -23,11 +23,13 @@ namespace mbed { /** \addtogroup platform */ -/** @{*/ // Declarations for backwards compatibility // To be foward compatible, code should adopt the Callback class +/** + * @ingroup platform + */ template <typename R, typename A1> class FunctionPointerArg1 : public Callback<R(A1)> { public: @@ -59,6 +61,9 @@ } }; +/** + * @ingroup platform + */ template <typename R> class FunctionPointerArg1<R, void> : public Callback<R()> { public: @@ -96,5 +101,3 @@ } // namespace mbed #endif - -/** @}*/