Add m_core_serial_fail for make debugging easier for serialization
Fix issue in saving size_t for 32 bits system
This commit is contained in:
1 parent
b27f490acb
commit
18bf06ff5f
3 files changed
+73
-62
No files matched your search
@@ -3100,4 +3100,13 @@ m_core_out_serial_strlen(const char s[])
|
||||
return strlen(s);
|
||||
}
|
||||
|
||||
/* Encapsulation of returning error,
|
||||
* so that a breakpoint can be put on this function for debugging purpose.
|
||||
*/
|
||||
static inline m_serial_return_code_t
|
||||
m_core_serial_fail(void)
|
||||
{
|
||||
return M_SERIAL_FAIL;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user