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
afd681eb
Commit
afd681eb
authored
Feb 05, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Move wine_fold_string implementation back to libwine and make it obsolete.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7929583b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
5 deletions
+11
-5
unicode.h
include/wine/unicode.h
+0
-1
Makefile.in
libs/port/Makefile.in
+0
-1
Makefile.in
libs/wine/Makefile.in
+1
-0
fold.c
libs/wine/fold.c
+9
-1
port.c
libs/wine/port.c
+0
-1
wine.map
libs/wine/wine.map
+1
-1
No files found.
include/wine/unicode.h
View file @
afd681eb
...
...
@@ -95,7 +95,6 @@ extern int wine_utf8_wcstombs( int flags, const WCHAR *src, int srclen, char *ds
extern
int
wine_compare_string
(
int
flags
,
const
WCHAR
*
str1
,
int
len1
,
const
WCHAR
*
str2
,
int
len2
);
extern
int
wine_get_sortkey
(
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
);
extern
int
wine_fold_string
(
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
);
extern
int
strcmpiW
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
);
extern
int
strncmpiW
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
,
int
n
);
...
...
libs/port/Makefile.in
View file @
afd681eb
...
...
@@ -82,7 +82,6 @@ C_SRCS = \
decompose.c
\
digitmap.c
\
ffs.c
\
fold.c
\
fstatvfs.c
\
getopt.c
\
interlocked.c
\
...
...
libs/wine/Makefile.in
View file @
afd681eb
...
...
@@ -4,6 +4,7 @@ EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS)
C_SRCS
=
\
config.c
\
debug.c
\
fold.c
\
ldt.c
\
loader.c
\
mmap.c
\
...
...
libs/
port
/fold.c
→
libs/
wine
/fold.c
View file @
afd681eb
...
...
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/asm.h"
#ifdef __ASM_OBSOLETE
#include "wine/unicode.h"
static
inline
WCHAR
to_unicode_digit
(
WCHAR
ch
)
...
...
@@ -116,7 +120,7 @@ static inline const WCHAR* get_ligature( WCHAR wc )
}
/* fold a unicode string */
int
wine_fold_string
(
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
)
int
wine_fold_string
_obsolete
(
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
)
{
WCHAR
*
dstbase
=
dst
;
const
WCHAR
*
expand
;
...
...
@@ -197,3 +201,7 @@ int wine_fold_string( int flags, const WCHAR *src, int srclen, WCHAR *dst, int d
}
return
dst
-
dstbase
;
}
__ASM_OBSOLETE
(
wine_fold_string
);
#endif
/* __ASM_OBSOLETE */
libs/wine/port.c
View file @
afd681eb
...
...
@@ -45,7 +45,6 @@ const void *libwine_port_functions[] =
wine_cp_wcstombs
,
wine_cpsymbol_mbstowcs
,
wine_cpsymbol_wcstombs
,
wine_fold_string
,
wine_utf8_mbstowcs
,
wine_utf8_wcstombs
};
...
...
libs/wine/wine.map
View file @
afd681eb
...
...
@@ -22,7 +22,6 @@ WINE_1.0
wine_dlopen;
wine_dlsym;
wine_exec_wine_binary;
wine_fold_string;
wine_get_build_dir;
wine_get_build_id;
wine_get_config_dir;
...
...
@@ -117,6 +116,7 @@ WINE_1.0
wine_dll_load;
wine_dll_load_main_exe;
wine_dll_unload;
wine_fold_string;
wine_pthread_get_functions;
wine_pthread_set_functions;
wine_switch_to_stack;
...
...
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