libwine: Export wine_get_build_dir.

This commit is contained in:
Alexandre Julliard 2006-03-16 17:36:19 +01:00
parent bf566139d7
commit 5ff1004c4d
4 changed files with 9 additions and 0 deletions

View file

@ -29,6 +29,7 @@
/* configuration */
extern const char *wine_get_build_dir(void);
extern const char *wine_get_config_dir(void);
extern const char *wine_get_data_dir(void);
extern const char *wine_get_server_dir(void);

View file

@ -356,6 +356,12 @@ const char *wine_get_data_dir(void)
return datadir;
}
/* retrieve the wine build dir (if we are running from there) */
const char *wine_get_build_dir(void)
{
return build_dir;
}
/* return the full name of the server directory (the one containing the socket) */
const char *wine_get_server_dir(void)
{

View file

@ -25,6 +25,7 @@ EXPORTS
wine_dlopen
wine_dlsym
wine_exec_wine_binary
wine_get_build_dir
wine_get_config_dir
wine_get_cs
wine_get_data_dir

View file

@ -25,6 +25,7 @@ WINE_1.0
wine_dlopen;
wine_dlsym;
wine_exec_wine_binary;
wine_get_build_dir;
wine_get_config_dir;
wine_get_cs;
wine_get_data_dir;