summaryrefslogtreecommitdiff
path: root/src/gmutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmutil.h')
-rw-r--r--src/gmutil.h3
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}
77iLocalDef iBool isSuccess_GmStatusCode(enum iGmStatusCode code) {
78 return category_GmStatusCode(code) == categorySuccess_GmStatusCode;
79}
77 80
78struct Impl_GmError { 81struct Impl_GmError {
79 iChar icon; 82 iChar icon;