It was already marked as MONO_API, but it was not in a public header.
It is used by embedders such as Xamarin.iOS
MONO_API_DATA MonoTraceMask mono_internal_current_mask;
MONO_END_DECLS
-MONO_API void
-mono_trace_init (void);
-
void
mono_trace_cleanup (void);
typedef void (*MonoLogCallback) (const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data);
MONO_API void
+mono_trace_init (void);
+
+MONO_API void
mono_trace_set_log_handler (MonoLogCallback callback, void *user_data);
MONO_API void