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
5f3f9cdb
Commit
5f3f9cdb
authored
Jul 27, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp71: Added _String_base::_Xlen and _Xran implementation.
parent
a7e1b7c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
msvcp70.spec
dlls/msvcp70/msvcp70.spec
+2
-2
msvcp71.c
dlls/msvcp71/msvcp71.c
+19
-0
msvcp71.spec
dlls/msvcp71/msvcp71.spec
+2
-2
No files found.
dlls/msvcp70/msvcp70.spec
View file @
5f3f9cdb
...
...
@@ -2246,8 +2246,8 @@
@ stub ?_Tidy@locale@std@@CAXXZ
@ stub -arch=win32 ?_Tidy@strstreambuf@std@@IAEXXZ
@ stub -arch=win64 ?_Tidy@strstreambuf@std@@IEAAXXZ
@
stub
?_Xlen@_String_base@std@@QBEXXZ
@
stub
?_Xran@_String_base@std@@QBEXXZ
@
thiscall -arch=win32 ?_Xlen@_String_base@std@@QBEXXZ(ptr) msvcp71.
?_Xlen@_String_base@std@@QBEXXZ
@
thiscall -arch=win32 ?_Xran@_String_base@std@@QBEXXZ(ptr) msvcp71.
?_Xran@_String_base@std@@QBEXXZ
@ stub -arch=win32 ?abs@std@@YAMABV?$complex@M@1@@Z
@ stub -arch=win64 ?abs@std@@YAMAEBV?$complex@M@1@@Z
@ stub -arch=win32 ?abs@std@@YANABV?$complex@N@1@@Z
...
...
dlls/msvcp71/msvcp71.c
View file @
5f3f9cdb
...
...
@@ -80,6 +80,8 @@ basic_string_char* (__stdcall *pbasic_string_char_replace)(basic_string_char*,
MSVCP_size_t
,
MSVCP_size_t
,
const
char
*
,
MSVCP_size_t
);
basic_string_wchar
*
(
__stdcall
*
pbasic_string_wchar_replace
)(
basic_string_wchar
*
,
MSVCP_size_t
,
MSVCP_size_t
,
const
MSVCP_wchar_t
*
,
MSVCP_size_t
);
void
(
__cdecl
*
p_String_base_Xlen
)(
void
);
void
(
__cdecl
*
p_String_base_Xran
)(
void
);
typedef
struct
{
const
char
*
pos
;
...
...
@@ -304,6 +306,20 @@ basic_string_wchar* __thiscall basic_string_wchar_append_iter(basic_string_wchar
return
pbasic_string_wchar_replace
(
this
,
this
->
size
,
0
,
beg
.
pos
,
end
.
pos
-
beg
.
pos
);
}
/* ?_Xlen@_String_base@std@@QBEXXZ */
DEFINE_THISCALL_WRAPPER
(
_String_base__Xlen
,
4
)
void
__thiscall
_String_base__Xlen
(
const
void
/*_String_base*/
*
this
)
{
p_String_base_Xlen
();
}
/* ?_Xran@_String_base@std@@QBEXXZ */
DEFINE_THISCALL_WRAPPER
(
_String_base__Xran
,
4
)
void
__thiscall
_String_base__Xran
(
const
void
/*_String_base*/
*
this
)
{
p_String_base_Xran
();
}
static
BOOL
init_funcs
(
void
)
{
HMODULE
hmod
=
GetModuleHandleA
(
"msvcp90.dll"
);
...
...
@@ -313,6 +329,9 @@ static BOOL init_funcs(void)
pbasic_string_char_replace
=
(
void
*
)
GetProcAddress
(
hmod
,
"basic_string_char_replace_helper"
);
pbasic_string_wchar_replace
=
(
void
*
)
GetProcAddress
(
hmod
,
"basic_string_wchar_replace_helper"
);
p_String_base_Xlen
=
(
void
*
)
GetProcAddress
(
hmod
,
"?_Xlen@_String_base@std@@SAXXZ"
);
p_String_base_Xran
=
(
void
*
)
GetProcAddress
(
hmod
,
"?_Xran@_String_base@std@@SAXXZ"
);
return
pbasic_string_char_replace
&&
pbasic_string_wchar_replace
;
}
...
...
dlls/msvcp71/msvcp71.spec
View file @
5f3f9cdb
...
...
@@ -2465,8 +2465,8 @@
@ cdecl -arch=win64 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ(ptr) msvcp90.?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ
@ thiscall -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QAEXXZ
@ cdecl -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QEAAXXZ
@
stub ?_Xlen@_String_base@std@@QBEXXZ
@
stub ?_Xran@_String_base@std@@QBEXXZ
@
thiscall -arch=win32 ?_Xlen@_String_base@std@@QBEXXZ(ptr) _String_base__Xlen
@
thiscall -arch=win32 ?_Xran@_String_base@std@@QBEXXZ(ptr) _String_base__Xran
@ thiscall -arch=win32 ?always_noconv@codecvt_base@std@@QBE_NXZ(ptr) msvcp90.?always_noconv@codecvt_base@std@@QBE_NXZ
@ cdecl -arch=win64 ?always_noconv@codecvt_base@std@@QEBA_NXZ(ptr) msvcp90.?always_noconv@codecvt_base@std@@QEBA_NXZ
@ thiscall -arch=win32 ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ABV12@@Z(ptr ptr) msvcp90.?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ABV12@@Z
...
...
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