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
8f9b0abf
Commit
8f9b0abf
authored
Mar 27, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _wcstoul_l implementation.
parent
9e322594
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+23
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
8f9b0abf
...
...
@@ -1124,7 +1124,7 @@
@ cdecl _wcstombs_s_l(ptr ptr long wstr long ptr) MSVCRT__wcstombs_s_l
@ cdecl -ret64 _wcstoui64(wstr ptr long) MSVCRT__wcstoui64
@ cdecl -ret64 _wcstoui64_l(wstr ptr long ptr) MSVCRT__wcstoui64_l
# stub _wcstoul_l(wstr ptr long ptr)
@ cdecl _wcstoul_l(wstr ptr long ptr) MSVCRT__wcstoul_l
@ cdecl _wcsupr(wstr) ntdll._wcsupr
# stub _wcsupr_l(wstr ptr)
@ cdecl _wcsupr_s(wstr long) MSVCRT__wcsupr_s
...
...
@@ -1501,7 +1501,7 @@
@ cdecl wcstol(wstr ptr long) ntdll.wcstol
@ cdecl wcstombs(ptr ptr long) MSVCRT_wcstombs
@ cdecl wcstombs_s(ptr ptr long wstr long) MSVCRT_wcstombs_s
@ cdecl wcstoul(wstr ptr long)
ntdll.
wcstoul
@ cdecl wcstoul(wstr ptr long)
MSVCRT_
wcstoul
@ stub wcsxfrm(ptr wstr long)
@ cdecl wctob(long) MSVCRT_wctob
@ cdecl wctomb(ptr long) MSVCRT_wctomb
...
...
dlls/msvcrt/wcs.c
View file @
8f9b0abf
...
...
@@ -1586,6 +1586,29 @@ unsigned __int64 CDECL MSVCRT__wcstoui64(const MSVCRT_wchar_t *nptr,
return
MSVCRT__wcstoui64_l
(
nptr
,
endptr
,
base
,
NULL
);
}
/*********************************************************************
* _wcstoul_l (MSVCRT.@)
*/
MSVCRT_ulong
__cdecl
MSVCRT__wcstoul_l
(
const
MSVCRT_wchar_t
*
s
,
MSVCRT_wchar_t
**
end
,
int
base
,
MSVCRT__locale_t
locale
)
{
__int64
ret
=
MSVCRT__wcstoui64_l
(
s
,
end
,
base
,
locale
);
if
(
ret
>
MSVCRT_ULONG_MAX
)
{
ret
=
MSVCRT_ULONG_MAX
;
*
MSVCRT__errno
()
=
MSVCRT_ERANGE
;
}
return
ret
;
}
/*********************************************************************
* wcstoul (MSVCRT.@)
*/
MSVCRT_ulong
__cdecl
MSVCRT_wcstoul
(
const
MSVCRT_wchar_t
*
s
,
MSVCRT_wchar_t
**
end
,
int
base
)
{
return
MSVCRT__wcstoul_l
(
s
,
end
,
base
,
NULL
);
}
/******************************************************************
* wcsnlen (MSVCRT.@)
*/
...
...
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