12#if !defined(_INCLUDE_MM_RESULT_H_)
13#define _INCLUDE_MM_RESULT_H_ 1
83#define MSTR_SUCC(s) ((s) == MStr_Ok)
86#define MSTR_FAILED(s) ((s) != MStr_Ok)
89#define MSTR_AND_THEN(res, then) \
91 mstr_result_t r = (res); \
enum tagMStrResult mstr_result_t
结果类型
tagMStrResult
结果类型
Definition mm_result.h:20
@ MStr_Err_BufferTooSmall
Definition mm_result.h:37
@ MStr_Err_MissingAlignAfterFillChar
Definition mm_result.h:55
@ MStr_Err_MissingArgumentID
Definition mm_result.h:49
@ MStr_Err_UnsupportFormatType
Definition mm_result.h:57
@ MStr_Err_UnsupportQuantBits
Definition mm_result.h:77
@ MStr_Err_MissingArgumentType
Definition mm_result.h:51
@ MStr_Err_UnsupportType
Definition mm_result.h:75
@ MStr_Err_UndefinedParserError
Definition mm_result.h:65
@ MStr_Err_IndexTooLarge
Definition mm_result.h:39
@ MStr_Err_MissingReplacement
Definition mm_result.h:47
@ MStr_Err_HeapTooSmall
Definition mm_result.h:23
@ MStr_Err_WidthTooLarge
Definition mm_result.h:59
@ MStr_Err_UnicodeEncodingError
Definition mm_result.h:27
@ MStr_Err_IteratorOutOfBound
Definition mm_result.h:35
@ MStr_Err_EncodingNotCompleted
Definition mm_result.h:29
@ MStr_Err_InternalBufferTooSmall
Definition mm_result.h:73
@ MStr_Err_UnrecognizedToken
Definition mm_result.h:41
@ MStr_Err_Flag_LastOne
Definition mm_result.h:79
@ MStr_Err_InvaildArgumentType
Definition mm_result.h:71
@ MStr_Ok
Definition mm_result.h:21
@ MStr_Err_UnsupportFillChar
Definition mm_result.h:53
@ MStr_Err_NoImplemention
Definition mm_result.h:25
@ MStr_Err_IndexOutOfBound
Definition mm_result.h:31
@ MStr_Err_InvaildArgumentID
Definition mm_result.h:69
@ MStr_Err_UnusedArgumentID
Definition mm_result.h:67
@ MStr_Err_MissingLeftBrace
Definition mm_result.h:43
@ MStr_Err_MissingRightBrace
Definition mm_result.h:45
@ MStr_Err_MissingChronoItemType
Definition mm_result.h:63
@ MStr_Err_NoSubstrFound
Definition mm_result.h:33
@ MStr_Err_TooMoreChronoItem
Definition mm_result.h:61