From 4aa6582504b72c0eeb674ed07c56c12645404a29 Mon Sep 17 00:00:00 2001 From: Jay Krell Date: Fri, 5 Jan 2018 03:33:01 -0800 Subject: [PATCH] Add initial ERROR_DECL for easier to read history. --- mono/utils/mono-error-internals.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mono/utils/mono-error-internals.h b/mono/utils/mono-error-internals.h index cbb452c4ca1..55cdfd05c3c 100644 --- a/mono/utils/mono-error-internals.h +++ b/mono/utils/mono-error-internals.h @@ -43,6 +43,10 @@ struct _MonoErrorBoxed { MonoImage *image; }; +// Initial version for easier to read history. +#define ERROR_DECL(name) \ + MonoError name + #define error_init(error) do { \ ((MonoErrorInternal*)(error))->error_code = MONO_ERROR_NONE; \ ((MonoErrorInternal*)(error))->flags = 0; \ -- 2.11.4.GIT