Merge pull request #2834 from xmcclure/inflated_method_header_leak_followup
[mono.git] / mono / utils / mono-error.c
index 7bc5950e4b80d1b0da48d17d8aafc0cc50fc3bfb..7cbce5cf765d3a0e8730327fa626bee8158ce54f 100644 (file)
@@ -89,6 +89,13 @@ mono_error_init_flags (MonoError *oerror, unsigned short flags)
        error->flags = flags;
 }
 
+/**
+ * mono_error_init:
+ * @error: Pointer to MonoError struct to initialize
+ *
+ * Any function which takes a MonoError for purposes of reporting an error
+ * is required to call either this or mono_error_init_flags on entry.
+ */
 void
 mono_error_init (MonoError *error)
 {