Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7aa1f6ee
Commit
7aa1f6ee
authored
Feb 20, 2020
by
Daniel Lehman
Committed by
Alexandre Julliard
Feb 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Update wcstok declarations.
Signed-off-by:
Daniel Lehman
<
dlehman25@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7216da88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
3 deletions
+31
-3
string.h
include/msvcrt/string.h
+15
-1
wchar.h
include/msvcrt/wchar.h
+15
-1
tchar.h
include/tchar.h
+1
-1
No files found.
include/msvcrt/string.h
View file @
7aa1f6ee
...
...
@@ -119,8 +119,22 @@ _ACRTIMP wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
_ACRTIMP
wchar_t
*
__cdecl
wcsrchr
(
const
wchar_t
*
,
wchar_t
wcFor
);
_ACRTIMP
size_t
__cdecl
wcsspn
(
const
wchar_t
*
,
const
wchar_t
*
);
_ACRTIMP
wchar_t
*
__cdecl
wcsstr
(
const
wchar_t
*
,
const
wchar_t
*
);
_ACRTIMP
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
);
_ACRTIMP
wchar_t
*
__cdecl
wcstok
_s
(
wchar_t
*
,
const
wchar_t
*
,
wchar_t
*
*
);
_ACRTIMP
size_t
__cdecl
wcsxfrm
(
wchar_t
*
,
const
wchar_t
*
,
size_t
);
#ifdef _UCRT
_ACRTIMP
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
,
wchar_t
**
);
static
inline
wchar_t
*
_wcstok
(
wchar_t
*
str
,
const
wchar_t
*
delim
)
{
return
wcstok
(
str
,
delim
,
NULL
);
}
# ifdef __cplusplus
extern
"C++"
inline
wchar_t
*
wcstok
(
wchar_t
*
str
,
const
wchar_t
*
delim
)
{
return
wcstok
(
str
,
delim
,
NULL
);
}
# elif defined(_CRT_NON_CONFORMING_WCSTOK)
# define wcstok _wcstok
# endif
#else
/* _UCRT */
_ACRTIMP
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
);
# define _wcstok wcstok
#endif
/* _UCRT */
#endif
/* _WSTRING_DEFINED */
#ifdef __cplusplus
...
...
include/msvcrt/wchar.h
View file @
7aa1f6ee
...
...
@@ -140,8 +140,22 @@ wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
wchar_t
*
__cdecl
wcsrchr
(
const
wchar_t
*
,
wchar_t
wcFor
);
size_t
__cdecl
wcsspn
(
const
wchar_t
*
,
const
wchar_t
*
);
wchar_t
*
__cdecl
wcsstr
(
const
wchar_t
*
,
const
wchar_t
*
);
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
);
wchar_t
*
__cdecl
wcstok
_s
(
wchar_t
*
,
const
wchar_t
*
,
wchar_t
*
*
);
size_t
__cdecl
wcsxfrm
(
wchar_t
*
,
const
wchar_t
*
,
size_t
);
#ifdef _UCRT
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
,
wchar_t
**
);
static
inline
wchar_t
*
_wcstok
(
wchar_t
*
str
,
const
wchar_t
*
delim
)
{
return
wcstok
(
str
,
delim
,
NULL
);
}
# ifdef __cplusplus
extern
"C++"
inline
wchar_t
*
wcstok
(
wchar_t
*
str
,
const
wchar_t
*
delim
)
{
return
wcstok
(
str
,
delim
,
NULL
);
}
# elif defined(_CRT_NON_CONFORMING_WCSTOK)
# define wcstok _wcstok
# endif
#else
/* _UCRT */
wchar_t
*
__cdecl
wcstok
(
wchar_t
*
,
const
wchar_t
*
);
# define _wcstok wcstok
#endif
/* _UCRT */
#endif
/* _WSTRING_DEFINED */
wchar_t
__cdecl
btowc
(
int
);
...
...
include/tchar.h
View file @
7aa1f6ee
...
...
@@ -148,7 +148,7 @@ extern "C" {
#define _tcsspn WINE_tchar_routine(strspn, _mbsspn, wcsspn)
#define _tcsstr WINE_tchar_routine(strstr, _mbsstr, wcsstr)
#define _tcstod WINE_tchar_routine(strtod, strtod, wcstod)
#define _tcstok WINE_tchar_routine(strtok, _mbstok, wcstok)
#define _tcstok WINE_tchar_routine(strtok, _mbstok,
_
wcstok)
#define _tcstol WINE_tchar_routine(strtol, strtol, wcstol)
#define _tcstoul WINE_tchar_routine(strtoul, strtoul, wcstoul)
#define _tcsupr WINE_tchar_routine(_strupr, _mbsupr, _wcsupr)
...
...
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