[runtime] Move `mono_error_assert_ok` to mono-error-internals.h.
authorJoão Matos <joao@tritao.eu>
Tue, 28 Apr 2015 14:57:52 +0000 (15:57 +0100)
committerJoão Matos <joao@tritao.eu>
Tue, 28 Apr 2015 14:58:10 +0000 (15:58 +0100)
I originally introduced it as a public API but after some discussion we decided it's best as a private API.

mono/utils/mono-error-internals.h
mono/utils/mono-error.h

index 8e168c8e7eed21e2ecd1b248df9eca9968da006c..b96cd54d2c7a8512454161d5c1da22e05b6278db 100644 (file)
@@ -23,6 +23,9 @@ typedef struct {
     char message [128];
 } MonoErrorInternal;
 
+void
+mono_error_assert_ok (MonoError *error);
+
 void
 mono_error_dup_strings (MonoError *error, gboolean dup_strings);
 
index c8584143d8ea69cddb95e71071d521c25d20d703..1da46d6f24025414c314a3824850f4827537c164 100644 (file)
@@ -55,9 +55,6 @@ mono_error_cleanup (MonoError *error);
 MONO_API mono_bool
 mono_error_ok (MonoError *error);
 
-MONO_API void
-mono_error_assert_ok (MonoError *error);
-
 MONO_API unsigned short
 mono_error_get_error_code (MonoError *error);