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
e3f9f7b3
Commit
e3f9f7b3
authored
Mar 14, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Copy some missing string functions from msvcrt.
parent
17be9355
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
6 deletions
+60
-6
ntdll.spec
dlls/ntdll/ntdll.spec
+6
-6
string.c
dlls/ntdll/string.c
+54
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
e3f9f7b3
...
...
@@ -1247,10 +1247,10 @@
@ cdecl -private -arch=i386 _CIsqrt() NTDLL__CIsqrt
@ stdcall -arch=x86_64 __C_specific_handler(ptr long ptr ptr)
@ stdcall -private -arch=x86_64 -norelay __chkstk()
# @ stub
__isascii
# @ stub
__iscsym
# @ stub
__iscsymf
# @ stub
__toascii
@ cdecl -private __isascii(long) NTDLL_
__isascii
@ cdecl -private __iscsym(long) NTDLL_
__iscsym
@ cdecl -private __iscsymf(long) NTDLL_
__iscsymf
@ cdecl -private __toascii(long) NTDLL_
__toascii
@ stdcall -private -arch=i386 -ret64 _alldiv(int64 int64)
# @ stub _alldvrm
@ stdcall -private -arch=i386 -ret64 _allmul(int64 int64)
...
...
@@ -1284,8 +1284,8 @@
@ cdecl -private _strlwr(str)
@ cdecl -private _strnicmp(str str long)
@ cdecl -private _strupr(str)
# @ stub -private
_tolower
# @ stub -private
_toupper
@ cdecl -private _tolower(long) NTDLL_
_tolower
@ cdecl -private _toupper(long) NTDLL_
_toupper
@ cdecl -private _ui64toa(int64 ptr long)
@ cdecl -private _ui64tow(int64 ptr long)
@ cdecl -private _ultoa(long ptr long)
...
...
dlls/ntdll/string.c
View file @
e3f9f7b3
...
...
@@ -415,6 +415,60 @@ int __cdecl NTDLL_isxdigit( int c )
/*********************************************************************
* __isascii (NTDLL.@)
*/
int
CDECL
NTDLL___isascii
(
int
c
)
{
return
(
unsigned
)
c
<
0x80
;
}
/*********************************************************************
* __toascii (NTDLL.@)
*/
int
CDECL
NTDLL___toascii
(
int
c
)
{
return
(
unsigned
)
c
&
0x7f
;
}
/*********************************************************************
* __iscsym (NTDLL.@)
*/
int
CDECL
NTDLL___iscsym
(
int
c
)
{
return
(
c
<
127
&&
(
isalnum
(
c
)
||
c
==
'_'
));
}
/*********************************************************************
* __iscsymf (NTDLL.@)
*/
int
CDECL
NTDLL___iscsymf
(
int
c
)
{
return
(
c
<
127
&&
(
isalpha
(
c
)
||
c
==
'_'
));
}
/*********************************************************************
* _toupper (NTDLL.@)
*/
int
CDECL
NTDLL__toupper
(
int
c
)
{
return
c
-
0x20
;
/* sic */
}
/*********************************************************************
* _tolower (NTDLL.@)
*/
int
CDECL
NTDLL__tolower
(
int
c
)
{
return
c
+
0x20
;
/* sic */
}
/*********************************************************************
* strtol (NTDLL.@)
*/
LONG
__cdecl
NTDLL_strtol
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
...
...
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