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
d9ef0a4b
Commit
d9ef0a4b
authored
Mar 17, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare inline string function WINAPI (found by Krzysztof Foltman).
parent
62bc2c18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
winbase.h
include/winbase.h
+8
-8
No files found.
include/winbase.h
View file @
d9ef0a4b
...
...
@@ -1983,7 +1983,7 @@ INT WINAPI lstrlenW(LPCWSTR);
/* string functions without the exception handler */
extern
inline
LPWSTR
lstrcpynW
(
LPWSTR
dst
,
LPCWSTR
src
,
INT
n
)
extern
inline
LPWSTR
WINAPI
lstrcpynW
(
LPWSTR
dst
,
LPCWSTR
src
,
INT
n
)
{
LPWSTR
d
=
dst
;
LPCWSTR
s
=
src
;
...
...
@@ -1998,7 +1998,7 @@ extern inline LPWSTR lstrcpynW( LPWSTR dst, LPCWSTR src, INT n )
return
dst
;
}
extern
inline
LPSTR
lstrcpynA
(
LPSTR
dst
,
LPCSTR
src
,
INT
n
)
extern
inline
LPSTR
WINAPI
lstrcpynA
(
LPSTR
dst
,
LPCSTR
src
,
INT
n
)
{
LPSTR
d
=
dst
;
LPCSTR
s
=
src
;
...
...
@@ -2013,31 +2013,31 @@ extern inline LPSTR lstrcpynA( LPSTR dst, LPCSTR src, INT n )
return
dst
;
}
extern
inline
INT
lstrlenW
(
LPCWSTR
str
)
extern
inline
INT
WINAPI
lstrlenW
(
LPCWSTR
str
)
{
const
WCHAR
*
s
=
str
;
while
(
*
s
)
s
++
;
return
s
-
str
;
}
extern
inline
INT
lstrlenA
(
LPCSTR
str
)
extern
inline
INT
WINAPI
lstrlenA
(
LPCSTR
str
)
{
return
strlen
(
str
);
}
extern
inline
LPWSTR
lstrcpyW
(
LPWSTR
dst
,
LPCWSTR
src
)
extern
inline
LPWSTR
WINAPI
lstrcpyW
(
LPWSTR
dst
,
LPCWSTR
src
)
{
WCHAR
*
p
=
dst
;
while
((
*
p
++
=
*
src
++
));
return
dst
;
}
extern
inline
LPSTR
lstrcpyA
(
LPSTR
dst
,
LPCSTR
src
)
extern
inline
LPSTR
WINAPI
lstrcpyA
(
LPSTR
dst
,
LPCSTR
src
)
{
return
strcpy
(
dst
,
src
);
}
extern
inline
LPWSTR
lstrcatW
(
LPWSTR
dst
,
LPCWSTR
src
)
extern
inline
LPWSTR
WINAPI
lstrcatW
(
LPWSTR
dst
,
LPCWSTR
src
)
{
WCHAR
*
p
=
dst
;
while
(
*
p
)
p
++
;
...
...
@@ -2045,7 +2045,7 @@ extern inline LPWSTR lstrcatW( LPWSTR dst, LPCWSTR src )
return
dst
;
}
extern
inline
LPSTR
lstrcatA
(
LPSTR
dst
,
LPCSTR
src
)
extern
inline
LPSTR
WINAPI
lstrcatA
(
LPSTR
dst
,
LPCSTR
src
)
{
return
strcat
(
dst
,
src
);
}
...
...
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