mbed library sources, mbed-dev only for TYBLE16
Fork of mbed-dev by
Please refer flowing link.
/users/kenjiArai/notebook/tyble16-module-will-become-a-mbed-family--mbedliza/
Diff: platform/mbed_error.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
- Child:
- 178:79309dc6340a
--- a/platform/mbed_error.h Thu Jun 08 15:02:37 2017 +0100 +++ b/platform/mbed_error.h Wed Jun 21 17:46:44 2017 +0100 @@ -19,8 +19,13 @@ #ifndef MBED_ERROR_H #define MBED_ERROR_H + + /** To generate a fatal compile-time error, you can use the pre-processor #error directive. * + * @param format C string that contains data stream to be printed. + * Code snippets below show valid format. + * * @code * #error "That shouldn't have happened!" * @endcode @@ -53,13 +58,14 @@ * if(x >= 5) { * error("expected x to be less than 5, but got %d", x); * } - * #endcode + * @endcode + * + * */ #ifdef __cplusplus extern "C" { #endif - void error(const char* format, ...); #ifdef __cplusplus