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
0e8d13b8
Commit
0e8d13b8
authored
Dec 20, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added collate<char>::do_hash implementation.
parent
50518766
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
locale.c
dlls/msvcp90/locale.c
+11
-4
msvcp90.h
dlls/msvcp90/msvcp90.h
+8
-0
msvcp90_main.c
dlls/msvcp90/msvcp90_main.c
+9
-0
No files found.
dlls/msvcp90/locale.c
View file @
0e8d13b8
...
...
@@ -777,11 +777,18 @@ int __thiscall collate_char_compare(const collate *this, const char *first1,
/* ?do_hash@?$collate@D@std@@MBEJPBD0@Z */
/* ?do_hash@?$collate@D@std@@MEBAJPEBD0@Z */
DEFINE_THISCALL_WRAPPER
(
collate_char_do_hash
,
12
)
#define call_collate_char_do_hash(this, first, last) CALL_VTBL_FUNC(this, 12, LONG, \
(const collate*, const char*, const char*), (this, first, last))
LONG
__thiscall
collate_char_do_hash
(
const
collate
*
this
,
const
char
*
first
,
const
char
*
last
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
this
,
first
,
last
);
return
0
;
ULONG
ret
=
0
;
TRACE
(
"(%p %p %p)
\n
"
,
this
,
first
,
last
);
for
(;
first
<
last
;
first
++
)
ret
=
(
ret
<<
8
|
ret
>>
24
)
+
*
first
;
return
ret
;
}
/* ?hash@?$collate@D@std@@QBEJPBD0@Z */
...
...
@@ -790,8 +797,8 @@ DEFINE_THISCALL_WRAPPER(collate_char_hash, 12)
LONG
__thiscall
collate_char_hash
(
const
collate
*
this
,
const
char
*
first
,
const
char
*
last
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
this
,
first
,
last
);
return
0
;
TRACE
(
"(%p %p %p)
\n
"
,
this
,
first
,
last
);
return
call_collate_char_do_hash
(
this
,
first
,
last
)
;
}
/* ?do_transform@?$collate@D@std@@MBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@PBD0@Z */
...
...
dlls/msvcp90/msvcp90.h
View file @
0e8d13b8
...
...
@@ -136,6 +136,14 @@ const rtti_object_locator name ## _rtti = { \
extern
void
*
vtbl_wrapper_0
;
extern
void
*
vtbl_wrapper_4
;
extern
void
*
vtbl_wrapper_12
;
extern
void
*
vtbl_wrapper_16
;
extern
void
*
vtbl_wrapper_20
;
extern
void
*
vtbl_wrapper_24
;
extern
void
*
vtbl_wrapper_28
;
extern
void
*
vtbl_wrapper_32
;
extern
void
*
vtbl_wrapper_36
;
extern
void
*
vtbl_wrapper_40
;
#else
...
...
dlls/msvcp90/msvcp90_main.c
View file @
0e8d13b8
...
...
@@ -40,6 +40,15 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcp90);
DEFINE_VTBL_WRAPPER
(
0
);
DEFINE_VTBL_WRAPPER
(
4
);
DEFINE_VTBL_WRAPPER
(
8
);
DEFINE_VTBL_WRAPPER
(
12
);
DEFINE_VTBL_WRAPPER
(
16
);
DEFINE_VTBL_WRAPPER
(
20
);
DEFINE_VTBL_WRAPPER
(
24
);
DEFINE_VTBL_WRAPPER
(
28
);
DEFINE_VTBL_WRAPPER
(
32
);
DEFINE_VTBL_WRAPPER
(
36
);
DEFINE_VTBL_WRAPPER
(
40
);
#endif
...
...
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