Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0c496f02
Commit
0c496f02
authored
Apr 21, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Update comments for non-exported functions.
parent
92e12bb8
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
42 additions
and
18 deletions
+42
-18
errno.c
dlls/msvcrt/errno.c
+6
-2
except.c
dlls/msvcrt/except.c
+7
-3
exit.c
dlls/msvcrt/exit.c
+4
-4
file.c
dlls/msvcrt/file.c
+9
-3
locale.c
dlls/msvcrt/locale.c
+3
-1
math.c
dlls/msvcrt/math.c
+3
-1
mbcs.c
dlls/msvcrt/mbcs.c
+3
-1
thread.c
dlls/msvcrt/thread.c
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+6
-2
No files found.
dlls/msvcrt/errno.c
View file @
0c496f02
...
@@ -451,14 +451,18 @@ void CDECL _invalid_parameter_noinfo(void)
...
@@ -451,14 +451,18 @@ void CDECL _invalid_parameter_noinfo(void)
MSVCRT__invalid_parameter
(
NULL
,
NULL
,
NULL
,
0
,
0
);
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
)
MSVCRT_invalid_parameter_handler
CDECL
_get_invalid_parameter_handler
(
void
)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
return
invalid_parameter_handler
;
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
CDECL
_set_invalid_parameter_handler
(
MSVCRT_invalid_parameter_handler
handler
)
MSVCRT_invalid_parameter_handler
handler
)
{
{
...
...
dlls/msvcrt/except.c
View file @
0c496f02
...
@@ -285,14 +285,16 @@ int CDECL _abnormal_termination(void)
...
@@ -285,14 +285,16 @@ int CDECL _abnormal_termination(void)
}
}
/******************************************************************
/******************************************************************
*
MSVCRT___uncaught_exception
*
__uncaught_exception (MSVCRT.@)
*/
*/
BOOL
CDECL
MSVCRT___uncaught_exception
(
void
)
BOOL
CDECL
MSVCRT___uncaught_exception
(
void
)
{
{
return
FALSE
;
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
CDECL
_set_security_error_handler
(
MSVCRT_security_error_handler
handler
)
MSVCRT_security_error_handler
handler
)
{
{
...
@@ -304,7 +306,9 @@ MSVCRT_security_error_handler CDECL _set_security_error_handler(
...
@@ -304,7 +306,9 @@ MSVCRT_security_error_handler CDECL _set_security_error_handler(
return
old
;
return
old
;
}
}
/* __security_error_handler - not exported in native msvcrt */
/*********************************************************************
* __security_error_handler (MSVCR70.@)
*/
void
CDECL
__security_error_handler
(
int
code
,
void
*
data
)
void
CDECL
__security_error_handler
(
int
code
,
void
*
data
)
{
{
if
(
security_error_handler
)
if
(
security_error_handler
)
...
...
dlls/msvcrt/exit.c
View file @
0c496f02
...
@@ -184,9 +184,7 @@ void CDECL MSVCRT_abort(void)
...
@@ -184,9 +184,7 @@ void CDECL MSVCRT_abort(void)
}
}
/*********************************************************************
/*********************************************************************
* _set_abort_behavior (MSVCRT.@)
* _set_abort_behavior (MSVCR80.@)
*
* Not exported by native msvcrt, added in msvcr80
*/
*/
unsigned
int
CDECL
MSVCRT__set_abort_behavior
(
unsigned
int
flags
,
unsigned
int
mask
)
unsigned
int
CDECL
MSVCRT__set_abort_behavior
(
unsigned
int
flags
,
unsigned
int
mask
)
{
{
...
@@ -327,7 +325,9 @@ int CDECL MSVCRT_atexit(void (*func)(void))
...
@@ -327,7 +325,9 @@ int CDECL MSVCRT_atexit(void (*func)(void))
return
MSVCRT__onexit
((
MSVCRT__onexit_t
)
func
)
==
(
MSVCRT__onexit_t
)
func
?
0
:
-
1
;
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
CDECL
_set_purecall_handler
(
MSVCRT_purecall_handler
function
)
{
{
MSVCRT_purecall_handler
ret
=
purecall_handler
;
MSVCRT_purecall_handler
ret
=
purecall_handler
;
...
...
dlls/msvcrt/file.c
View file @
0c496f02
...
@@ -1628,7 +1628,9 @@ int CDECL MSVCRT__fstat(int fd, struct MSVCRT__stat* buf)
...
@@ -1628,7 +1628,9 @@ int CDECL MSVCRT__fstat(int fd, struct MSVCRT__stat* buf)
return
ret
;
return
ret
;
}
}
/* _fstat32 - not exported in native msvcrt */
/*********************************************************************
* _fstat32 (MSVCR80.@)
*/
int
CDECL
MSVCRT__fstat32
(
int
fd
,
struct
MSVCRT__stat32
*
buf
)
int
CDECL
MSVCRT__fstat32
(
int
fd
,
struct
MSVCRT__stat32
*
buf
)
{
{
int
ret
;
int
ret
;
...
@@ -1640,7 +1642,9 @@ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf)
...
@@ -1640,7 +1642,9 @@ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf)
return
ret
;
return
ret
;
}
}
/* _fstat64i32 - not exported in native msvcrt */
/*********************************************************************
* _fstat64i32 (MSVCR80.@)
*/
int
CDECL
MSVCRT__fstat64i32
(
int
fd
,
struct
MSVCRT__stat64i32
*
buf
)
int
CDECL
MSVCRT__fstat64i32
(
int
fd
,
struct
MSVCRT__stat64i32
*
buf
)
{
{
int
ret
;
int
ret
;
...
@@ -3976,7 +3980,9 @@ MSVCRT_size_t CDECL MSVCRT_fread(void *ptr, MSVCRT_size_t size, MSVCRT_size_t nm
...
@@ -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
CDECL
MSVCRT_fread_s
(
void
*
buf
,
MSVCRT_size_t
buf_size
,
MSVCRT_size_t
elem_size
,
MSVCRT_size_t
count
,
MSVCRT_FILE
*
stream
)
MSVCRT_size_t
count
,
MSVCRT_FILE
*
stream
)
{
{
...
...
dlls/msvcrt/locale.c
View file @
0c496f02
...
@@ -1455,7 +1455,9 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* wlo
...
@@ -1455,7 +1455,9 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* wlo
return
ret
?
current_lc_all
:
NULL
;
return
ret
?
current_lc_all
:
NULL
;
}
}
/* _configthreadlocale - not exported in native msvcrt */
/*********************************************************************
* _configthreadlocale (MSVCR80.@)
*/
int
CDECL
_configthreadlocale
(
int
type
)
int
CDECL
_configthreadlocale
(
int
type
)
{
{
thread_data_t
*
data
=
msvcrt_get_thread_data
();
thread_data_t
*
data
=
msvcrt_get_thread_data
();
...
...
dlls/msvcrt/math.c
View file @
0c496f02
...
@@ -2185,7 +2185,9 @@ void __cdecl __libm_sse2_tanf(void)
...
@@ -2185,7 +2185,9 @@ void __cdecl __libm_sse2_tanf(void)
__asm__
__volatile__
(
"movd %0,%%xmm0"
:
:
"g"
(
f
)
);
__asm__
__volatile__
(
"movd %0,%%xmm0"
:
:
"g"
(
f
)
);
}
}
/* __libm_sse2_sqrt_precise */
/***********************************************************************
* __libm_sse2_sqrt_precise (MSVCR110.@)
*/
void
__cdecl
__libm_sse2_sqrt_precise
(
void
)
void
__cdecl
__libm_sse2_sqrt_precise
(
void
)
{
{
double
d
;
double
d
;
...
...
dlls/msvcrt/mbcs.c
View file @
0c496f02
...
@@ -184,7 +184,9 @@ int CDECL MSVCRT____mb_cur_max_func(void)
...
@@ -184,7 +184,9 @@ int CDECL MSVCRT____mb_cur_max_func(void)
return
get_locinfo
()
->
mb_cur_max
;
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
)
int
*
CDECL
___mb_cur_max_l_func
(
MSVCRT__locale_t
locale
)
{
{
MSVCRT_pthreadlocinfo
locinfo
;
MSVCRT_pthreadlocinfo
locinfo
;
...
...
dlls/msvcrt/thread.c
View file @
0c496f02
...
@@ -155,7 +155,7 @@ void CDECL _endthreadex(
...
@@ -155,7 +155,7 @@ void CDECL _endthreadex(
}
}
/*********************************************************************
/*********************************************************************
*
_getptd - not exported in native msvcrt
*
_getptd (MSVCR80.@)
*/
*/
thread_data_t
*
CDECL
_getptd
(
void
)
thread_data_t
*
CDECL
_getptd
(
void
)
{
{
...
...
dlls/msvcrt/wcs.c
View file @
0c496f02
...
@@ -40,13 +40,17 @@ static BOOL n_format_enabled = TRUE;
...
@@ -40,13 +40,17 @@ static BOOL n_format_enabled = TRUE;
#include "printf.h"
#include "printf.h"
#undef PRINTF_WIDE
#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
)
int
CDECL
MSVCRT__get_printf_count_output
(
void
)
{
{
return
n_format_enabled
?
1
:
0
;
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
)
int
CDECL
MSVCRT__set_printf_count_output
(
int
enable
)
{
{
BOOL
old
=
n_format_enabled
;
BOOL
old
=
n_format_enabled
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment