diff options
-rw-r--r-- | src/gmutil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmutil.h b/src/gmutil.h index 2c017af4..88572f22 100644 --- a/src/gmutil.h +++ b/src/gmutil.h | |||
@@ -74,6 +74,9 @@ iLocalDef enum iGmStatusCode category_GmStatusCode(enum iGmStatusCode code) { | |||
74 | if (code < 10) return code; | 74 | if (code < 10) return code; |
75 | return code / 10; | 75 | return code / 10; |
76 | } | 76 | } |
77 | iLocalDef iBool isSuccess_GmStatusCode(enum iGmStatusCode code) { | ||
78 | return category_GmStatusCode(code) == categorySuccess_GmStatusCode; | ||
79 | } | ||
77 | 80 | ||
78 | struct Impl_GmError { | 81 | struct Impl_GmError { |
79 | iChar icon; | 82 | iChar icon; |