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
d1b67cea
Commit
d1b67cea
authored
Jun 20, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added _Stollx implementation.
parent
dc4e9500
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
locale.c
dlls/msvcp90/locale.c
+29
-0
msvcp90.spec
dlls/msvcp90/msvcp90.spec
+3
-3
No files found.
dlls/msvcp90/locale.c
View file @
d1b67cea
...
...
@@ -3907,6 +3907,35 @@ float __cdecl _Stofx(const char *buf, char **buf_end, LONG exp, int *err)
return
_Stodx
(
buf
,
buf_end
,
exp
,
err
);
}
__int64
__cdecl
_Stoll
(
const
char
*
buf
,
char
**
buf_end
,
int
base
)
{
return
_strtoi64
(
buf
,
buf_end
,
base
);
}
__int64
__cdecl
_Stollx
(
const
char
*
buf
,
char
**
buf_end
,
int
base
,
int
*
err
)
{
__int64
ret
;
*
err
=
*
_errno
();
*
_errno
()
=
0
;
ret
=
_strtoi64
(
buf
,
buf_end
,
base
);
if
(
*
_errno
())
{
*
err
=
*
_errno
();
}
else
{
*
_errno
()
=
*
err
;
*
err
=
0
;
}
return
ret
;
}
LONG
__cdecl
_Stolx
(
const
char
*
buf
,
char
**
buf_end
,
int
base
,
int
*
err
)
{
__int64
i
=
_Stollx
(
buf
,
buf_end
,
base
,
err
);
if
(
!*
err
&&
i
!=
(
__int64
)((
LONG
)
i
))
*
err
=
ERANGE
;
return
i
;
}
/* ?id@?$num_get@_WV?$istreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@2V0locale@2@A */
locale_id
num_get_wchar_id
=
{
0
};
/* ?id@?$num_get@GV?$istreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@2V0locale@2@A */
...
...
dlls/msvcp90/msvcp90.spec
View file @
d1b67cea
...
...
@@ -5789,9 +5789,9 @@
@ cdecl _Stofx(ptr ptr long ptr)
@ cdecl _Stold(ptr ptr long) _Stod
@ cdecl _Stoldx(ptr ptr long ptr) _Stodx
@
stub _Stoll
@
stub _Stollx
@
stub _Stolx
@
cdecl -ret64 _Stoll(ptr ptr long)
@
cdecl -ret64 _Stollx(ptr ptr long ptr)
@
cdecl _Stolx(ptr ptr long ptr)
@ stub _Stoul
@ stub _Stoull
@ stub _Stoullx
...
...
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