diff options
author | Dan Gudmundsson <[email protected]> | 2013-04-18 14:55:47 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-05-20 13:36:27 +0200 |
commit | ee23d4b549618044d4a4f800db839483b359cb9f (patch) | |
tree | d7527dfddaf63d98f0662c8e93f66ef8a4f89436 /erts/etc/win32/erlsrv/erlsrv_util.h | |
parent | c7cda78643561ac76e108d37a91eeb67f899696a (diff) | |
download | otp-ee23d4b549618044d4a4f800db839483b359cb9f.tar.gz otp-ee23d4b549618044d4a4f800db839483b359cb9f.tar.bz2 otp-ee23d4b549618044d4a4f800db839483b359cb9f.zip |
erts: Windows, convert erlsrv to use widestring
Diffstat (limited to 'erts/etc/win32/erlsrv/erlsrv_util.h')
-rw-r--r-- | erts/etc/win32/erlsrv/erlsrv_util.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/erts/etc/win32/erlsrv/erlsrv_util.h b/erts/etc/win32/erlsrv/erlsrv_util.h index b98a6cd3ef..6881906a52 100644 --- a/erts/etc/win32/erlsrv/erlsrv_util.h +++ b/erts/etc/win32/erlsrv/erlsrv_util.h @@ -19,30 +19,30 @@ #ifndef _ERLSRV_UTIL_H #define _ERLSRV_UTIL_H -extern char *service_name; -extern char *real_service_name; -void log_warning(char *mess); -void log_error(char *mess); -void log_info(char *mess); +extern wchar_t *service_name; +extern wchar_t *real_service_name; +void log_warning(wchar_t *mess); +void log_error(wchar_t *mess); +void log_info(wchar_t *mess); -char *envdup(char *env); +wchar_t *envdup(wchar_t *env); /* ** Call before env_to_arg to get a 'freeable' environment block. */ -char *arg_to_env(char **arg); +wchar_t *arg_to_env(wchar_t **arg); /* ** Frees the argument list before returning! */ -char **env_to_arg(char *env); +wchar_t **env_to_arg(wchar_t *env); /* ** Frees the environment block before returning! */ #ifndef NDEBUG -void log_debug(char *mess); +void log_debug(wchar_t *mess); #else #define log_debug(mess) /* Debug removed */ #endif |