Add mechanism to disable temporary compiler warnings in a sequence of code.
This commit is contained in:
1 parent
a36752b8ce
commit
f2a06ede62
14 files changed
+149
-1
No files matched your search
@@ -28,6 +28,8 @@
|
||||
#include "m-core.h"
|
||||
#include "m-string.h"
|
||||
|
||||
M_BEGIN_PROTECTED_CODE
|
||||
|
||||
/* Write the boolean 'data' into the serial stream 'serial'.
|
||||
Return M_SERIAL_OK_DONE if it succeeds, M_SERIAL_FAIL otherwise */
|
||||
static inline m_serial_return_code_t
|
||||
@@ -562,4 +564,6 @@ typedef m_serial_read_t m_serial_json_read_t;
|
||||
#define M_OPL_m_serial_json_read_t() \
|
||||
(INIT_WITH(m_serial_json_read_init), CLEAR(m_serial_json_read_clear), TYPE(m_serial_json_read_t) )
|
||||
|
||||
M_END_PROTECTED_CODE
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user