On Thu, Jul 1, 2010 at 3:44 PM, Michael Hutchinson <m.j.hutchin...@gmail.com> wrote: > The attached patch adds a new mono_exception_get_message_string > function to the Mono public API, extracted from mono_print_exception. > This makes it possible for embedders easily to convert exceptions to > strings without printing them and without using private API. > > OK to commit to trunk?
On second thoughts, mono_exception_to_string is a better name. Also, mono_free, as defined in mono-publib.h, does not seem to exist, so as an embedder it's currently not possible to free the returned string. -- Michael Hutchinson http://mjhutchinson.com _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list