Module: wine Branch: master Commit: 0c496f02804af77eb89cbc820b36787624bedec0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c496f02804af77eb89cbc820b...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 21 14:32:40 2014 +0200
msvcrt: Update comments for non-exported functions.
---
dlls/msvcrt/errno.c | 8 ++++++-- dlls/msvcrt/except.c | 10 +++++++--- dlls/msvcrt/exit.c | 8 ++++---- dlls/msvcrt/file.c | 12 +++++++++--- dlls/msvcrt/locale.c | 4 +++- dlls/msvcrt/math.c | 4 +++- dlls/msvcrt/mbcs.c | 4 +++- dlls/msvcrt/thread.c | 2 +- dlls/msvcrt/wcs.c | 8 ++++++-- 9 files changed, 42 insertions(+), 18 deletions(-)
diff --git a/dlls/msvcrt/errno.c b/dlls/msvcrt/errno.c index e8e964a..6c1a912 100644 --- a/dlls/msvcrt/errno.c +++ b/dlls/msvcrt/errno.c @@ -451,14 +451,18 @@ void CDECL _invalid_parameter_noinfo(void) MSVCRT__invalid_parameter( NULL, NULL, NULL, 0, 0 ); }
-/* _get_invalid_parameter_handler - not exported in native msvcrt, added in msvcr80 */ +/********************************************************************* + * _get_invalid_parameter_handler (MSVCR80.@) + */ MSVCRT_invalid_parameter_handler CDECL _get_invalid_parameter_handler(void) { TRACE("\n"); return invalid_parameter_handler; }
-/* _set_invalid_parameter_handler - not exproted in native msvcrt, added in msvcr80 */ +/********************************************************************* + * _set_invalid_parameter_handler (MSVCR80.@) + */ MSVCRT_invalid_parameter_handler CDECL _set_invalid_parameter_handler( MSVCRT_invalid_parameter_handler handler) { diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c index a1dd41a..f5c8b03 100644 --- a/dlls/msvcrt/except.c +++ b/dlls/msvcrt/except.c @@ -285,14 +285,16 @@ int CDECL _abnormal_termination(void) }
/****************************************************************** - * MSVCRT___uncaught_exception + * __uncaught_exception (MSVCRT.@) */ BOOL CDECL MSVCRT___uncaught_exception(void) { return FALSE; }
-/* _set_security_error_handler - not exported in native msvcrt, added in msvcr70 */ +/********************************************************************* + * _set_security_error_handler (MSVCR70.@) + */ MSVCRT_security_error_handler CDECL _set_security_error_handler( MSVCRT_security_error_handler handler ) { @@ -304,7 +306,9 @@ MSVCRT_security_error_handler CDECL _set_security_error_handler( return old; }
-/* __security_error_handler - not exported in native msvcrt */ +/********************************************************************* + * __security_error_handler (MSVCR70.@) + */ void CDECL __security_error_handler(int code, void *data) { if(security_error_handler) diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c index 11373b5..0d2992d 100644 --- a/dlls/msvcrt/exit.c +++ b/dlls/msvcrt/exit.c @@ -184,9 +184,7 @@ void CDECL MSVCRT_abort(void) }
/********************************************************************* - * _set_abort_behavior (MSVCRT.@) - * - * Not exported by native msvcrt, added in msvcr80 + * _set_abort_behavior (MSVCR80.@) */ unsigned int CDECL MSVCRT__set_abort_behavior(unsigned int flags, unsigned int mask) { @@ -327,7 +325,9 @@ int CDECL MSVCRT_atexit(void (*func)(void)) return MSVCRT__onexit((MSVCRT__onexit_t)func) == (MSVCRT__onexit_t)func ? 0 : -1; }
-/* _set_purecall_handler - not exported in native msvcrt */ +/********************************************************************* + * _set_purecall_handler (MSVCR71.@) + */ MSVCRT_purecall_handler CDECL _set_purecall_handler(MSVCRT_purecall_handler function) { MSVCRT_purecall_handler ret = purecall_handler; diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 4090839..aff5a89 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -1628,7 +1628,9 @@ int CDECL MSVCRT__fstat(int fd, struct MSVCRT__stat* buf) return ret; }
-/* _fstat32 - not exported in native msvcrt */ +/********************************************************************* + * _fstat32 (MSVCR80.@) + */ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf) { int ret; @@ -1640,7 +1642,9 @@ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf) return ret; }
-/* _fstat64i32 - not exported in native msvcrt */ +/********************************************************************* + * _fstat64i32 (MSVCR80.@) + */ int CDECL MSVCRT__fstat64i32(int fd, struct MSVCRT__stat64i32* buf) { int ret; @@ -3976,7 +3980,9 @@ MSVCRT_size_t CDECL MSVCRT_fread(void *ptr, MSVCRT_size_t size, MSVCRT_size_t nm }
-/* fread_s - not exported in native msvcrt */ +/********************************************************************* + * fread_s (MSVCR80.@) + */ MSVCRT_size_t CDECL MSVCRT_fread_s(void *buf, MSVCRT_size_t buf_size, MSVCRT_size_t elem_size, MSVCRT_size_t count, MSVCRT_FILE *stream) { diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c index 7a33376..992aa3e 100644 --- a/dlls/msvcrt/locale.c +++ b/dlls/msvcrt/locale.c @@ -1455,7 +1455,9 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* wlo return ret ? current_lc_all : NULL; }
-/* _configthreadlocale - not exported in native msvcrt */ +/********************************************************************* + * _configthreadlocale (MSVCR80.@) + */ int CDECL _configthreadlocale(int type) { thread_data_t *data = msvcrt_get_thread_data(); diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index 1d6977d..2c5a8f3 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -2185,7 +2185,9 @@ void __cdecl __libm_sse2_tanf(void) __asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) ); }
-/* __libm_sse2_sqrt_precise */ +/*********************************************************************** + * __libm_sse2_sqrt_precise (MSVCR110.@) + */ void __cdecl __libm_sse2_sqrt_precise(void) { double d; diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c index 60464c3..dd14abd 100644 --- a/dlls/msvcrt/mbcs.c +++ b/dlls/msvcrt/mbcs.c @@ -184,7 +184,9 @@ int CDECL MSVCRT____mb_cur_max_func(void) return get_locinfo()->mb_cur_max; }
-/* ___mb_cur_max_l_func - not exported in native msvcrt */ +/********************************************************************* + * ___mb_cur_max_l_func (MSVCR80.@) + */ int* CDECL ___mb_cur_max_l_func(MSVCRT__locale_t locale) { MSVCRT_pthreadlocinfo locinfo; diff --git a/dlls/msvcrt/thread.c b/dlls/msvcrt/thread.c index 8d00e8b..5e62354 100644 --- a/dlls/msvcrt/thread.c +++ b/dlls/msvcrt/thread.c @@ -155,7 +155,7 @@ void CDECL _endthreadex( }
/********************************************************************* - * _getptd - not exported in native msvcrt + * _getptd (MSVCR80.@) */ thread_data_t* CDECL _getptd(void) { diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index fcc6c6b..37ca3fb 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -40,13 +40,17 @@ static BOOL n_format_enabled = TRUE; #include "printf.h" #undef PRINTF_WIDE
-/* _get_printf_count_output - not exported in native msvcrt */ +/********************************************************************* + * _get_printf_count_output (MSVCR80.@) + */ int CDECL MSVCRT__get_printf_count_output( void ) { return n_format_enabled ? 1 : 0; }
-/* _set_printf_count_output - not exported in native msvcrt */ +/********************************************************************* + * _set_printf_count_output (MSVCR80.@) + */ int CDECL MSVCRT__set_printf_count_output( int enable ) { BOOL old = n_format_enabled;