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
399844e9
Commit
399844e9
authored
Jan 25, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: RPCRT4_strdupWtoA and RPCRT4_strdupAtoW don't change the input string,…
rpcrt4: RPCRT4_strdupWtoA and RPCRT4_strdupAtoW don't change the input string, so make the input const.
parent
961455c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+2
-2
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+2
-2
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
399844e9
...
...
@@ -57,7 +57,7 @@ LPSTR RPCRT4_strndupA(LPCSTR src, INT slen)
return
s
;
}
LPSTR
RPCRT4_strdupWtoA
(
LPWSTR
src
)
LPSTR
RPCRT4_strdupWtoA
(
LP
C
WSTR
src
)
{
DWORD
len
;
LPSTR
s
;
...
...
@@ -68,7 +68,7 @@ LPSTR RPCRT4_strdupWtoA(LPWSTR src)
return
s
;
}
LPWSTR
RPCRT4_strdupAtoW
(
LPSTR
src
)
LPWSTR
RPCRT4_strdupAtoW
(
LP
C
STR
src
)
{
DWORD
len
;
LPWSTR
s
;
...
...
dlls/rpcrt4/rpc_binding.h
View file @
399844e9
...
...
@@ -105,8 +105,8 @@ typedef struct _RpcBinding
LPSTR
RPCRT4_strndupA
(
LPCSTR
src
,
INT
len
);
LPWSTR
RPCRT4_strndupW
(
LPCWSTR
src
,
INT
len
);
LPSTR
RPCRT4_strdupWtoA
(
LPWSTR
src
);
LPWSTR
RPCRT4_strdupAtoW
(
LPSTR
src
);
LPSTR
RPCRT4_strdupWtoA
(
LP
C
WSTR
src
);
LPWSTR
RPCRT4_strdupAtoW
(
LP
C
STR
src
);
void
RPCRT4_strfree
(
LPSTR
src
);
#define RPCRT4_strdupA(x) RPCRT4_strndupA((x),-1)
...
...
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