Add doc comments. (g_win32_get_package_installation_directory): Add one

2001-01-17  Tor Lillqvist  <tml@iki.fi>

	* gwin32.c (g_win32_getlocale, g_win32_error_message): Add doc
	comments.
	(g_win32_get_package_installation_directory): Add one parameter,
	the name of a DLL in the package. Add possibility to use that to
	deduce the installation directory if not entered into the
	Registry. Make the return value dynamically allocated.
	(g_win32_get_package_installation_subdirectory): New convenience
	function.

	* gutils.c (GLIB_LOCALE_DIR)
	* gwin32.h: Adapt accordingly.

	* testglib.c (main): Adapt tests accordingly.
This commit is contained in:
Tor Lillqvist
2001-01-17 21:37:32 +00:00
committed by Tor Lillqvist
parent ff51072d50
commit 69dbd6eb03
18 changed files with 510 additions and 86 deletions

View File

@@ -110,7 +110,12 @@ gchar * g_win32_getlocale (void);
*/
gchar * g_win32_error_message (gint error);
gchar * g_win32_get_package_installation_directory (gchar *package);
gchar * g_win32_get_package_installation_directory (gchar *package,
gchar *dll_name);
gchar * g_win32_get_package_installation_subdirectory (gchar *package,
gchar *dll_name,
gchar *subdir);
G_END_DECLS