* Makefile.am: Add mono-error.h to public headers.
* mono-error.h: Use public version of API.
svn path=/trunk/mono/; revision=159842
+2010-07-02 Michael Hutchinson <mhutchinson@novell.com>
+
+ * Makefile.am: Add mono-error.h to public headers.
+ * mono-error.h: Use public version of API.
Wed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>
libmonoutilsinclude_HEADERS = \
mono-logger.h \
+ mono-error.h \
mono-publib.h
EXTRA_DIST = ChangeLog
#ifndef __MONO_ERROR_H__
#define __MONO_ERROR_H__
+#include <mono/utils/mono-publib.h>
+
enum {
/*
The supplied strings were dup'd by means of calling mono_error_dup_strings.
char hidden_2 [128]; /*DON'T TOUCH */
} MonoError;
-G_BEGIN_DECLS
+MONO_BEGIN_DECLS
void
mono_error_init (MonoError *error);
void
mono_error_cleanup (MonoError *error);
-gboolean
+mono_bool
mono_error_ok (MonoError *error);
unsigned short
const char*
mono_error_get_message (MonoError *error);
-G_END_DECLS
+MONO_END_DECLS
+
#endif