diff options
author | Jay Krell <jaykrell@microsoft.com> | 2019-08-29 21:03:52 +0300 |
---|---|---|
committer | Larry Ewing <lewing@microsoft.com> | 2019-09-04 20:31:13 +0300 |
commit | 06f4f93aa554f9710527587323efc1b0b1783d1f (patch) | |
tree | d695e517ff8e9b37100f213741d0bfb44549f716 | |
parent | 3ca5b2687f67daefcc70e0c9b839810c84f917da (diff) |
comments
-rw-r--r-- | mono/eglib/gmodule-win32.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mono/eglib/gmodule-win32.c b/mono/eglib/gmodule-win32.c index b71ec5250a1..ed666bd30d7 100644 --- a/mono/eglib/gmodule-win32.c +++ b/mono/eglib/gmodule-win32.c @@ -194,6 +194,10 @@ g_module_build_path (const gchar *directory, const gchar *module_name) // This is not named "g_" but that should be ok. // g_free the result // No MAX_PATH limit. +// +// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename. +// Prefer not-ex, not-base. +// gboolean mono_get_module_filename (gpointer mod, gunichar2** pstr, guint32* plength) { @@ -229,6 +233,10 @@ mono_get_module_filename (gpointer mod, gunichar2** pstr, guint32* plength) // This is not named "g_" but that should be ok. // g_free the result // No MAX_PATH limit. +// +// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename. +// Prefer not-ex, not-base. +// gboolean mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2** pstr, guint32* plength) { @@ -260,6 +268,14 @@ mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2** pstr, g return success; } +// This is not about GModule but is still a close fit. +// This is not named "g_" but that should be ok. +// g_free the result +// No MAX_PATH limit. +// +// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename. +// Prefer not-ex, not-base. +// gboolean mono_get_module_basename (gpointer process, gpointer mod, gunichar2** pstr, guint32* plength) { |