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
f4b7260d
Commit
f4b7260d
authored
Feb 05, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Move wine_cpsymbol functions back to libwine and make them obsolete.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5a1e897d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
unicode.h
include/wine/unicode.h
+0
-2
Makefile.in
libs/port/Makefile.in
+0
-1
Makefile.in
libs/wine/Makefile.in
+1
-0
cpsymbol.c
libs/wine/cpsymbol.c
+11
-2
port.c
libs/wine/port.c
+0
-2
wine.map
libs/wine/wine.map
+2
-2
No files found.
include/wine/unicode.h
View file @
f4b7260d
...
...
@@ -88,8 +88,6 @@ extern int wine_cp_mbstowcs( const union cptable *table, int flags,
extern
int
wine_cp_wcstombs
(
const
union
cptable
*
table
,
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
,
const
char
*
defchar
,
int
*
used
);
extern
int
wine_cpsymbol_mbstowcs
(
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
);
extern
int
wine_cpsymbol_wcstombs
(
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
);
extern
int
wine_utf8_mbstowcs
(
int
flags
,
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
);
extern
int
wine_utf8_wcstombs
(
int
flags
,
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
);
...
...
libs/port/Makefile.in
View file @
f4b7260d
...
...
@@ -77,7 +77,6 @@ C_SRCS = \
casemap.c
\
collation.c
\
compose.c
\
cpsymbol.c
\
cptable.c
\
decompose.c
\
digitmap.c
\
...
...
libs/wine/Makefile.in
View file @
f4b7260d
...
...
@@ -3,6 +3,7 @@ EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS)
C_SRCS
=
\
config.c
\
cpsymbol.c
\
debug.c
\
fold.c
\
ldt.c
\
...
...
libs/
port
/cpsymbol.c
→
libs/
wine
/cpsymbol.c
View file @
f4b7260d
...
...
@@ -19,10 +19,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/asm.h"
#ifdef __ASM_OBSOLETE
#include "wine/unicode.h"
/* return -1 on dst buffer overflow */
int
wine_cpsymbol_mbstowcs
(
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
)
int
wine_cpsymbol_mbstowcs
_obsolete
(
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
)
{
int
len
,
i
;
...
...
@@ -38,7 +42,7 @@ int wine_cpsymbol_mbstowcs( const char *src, int srclen, WCHAR *dst, int dstlen)
}
/* return -1 on dst buffer overflow, -2 on invalid character */
int
wine_cpsymbol_wcstombs
(
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
)
int
wine_cpsymbol_wcstombs
_obsolete
(
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
)
{
int
len
,
i
;
...
...
@@ -56,3 +60,8 @@ int wine_cpsymbol_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen)
if
(
srclen
>
len
)
return
-
1
;
return
len
;
}
__ASM_OBSOLETE
(
wine_cpsymbol_mbstowcs
);
__ASM_OBSOLETE
(
wine_cpsymbol_wcstombs
);
#endif
/* __ASM_OBSOLETE */
libs/wine/port.c
View file @
f4b7260d
...
...
@@ -42,8 +42,6 @@ const void *libwine_port_functions[] =
wine_cp_get_table
,
wine_cp_mbstowcs
,
wine_cp_wcstombs
,
wine_cpsymbol_mbstowcs
,
wine_cpsymbol_wcstombs
,
wine_utf8_mbstowcs
,
wine_utf8_wcstombs
};
...
...
libs/wine/wine.map
View file @
f4b7260d
...
...
@@ -13,8 +13,6 @@ WINE_1.0
wine_cp_get_table;
wine_cp_mbstowcs;
wine_cp_wcstombs;
wine_cpsymbol_mbstowcs;
wine_cpsymbol_wcstombs;
wine_dlclose;
wine_dll_enum_load_path;
wine_dll_set_callback;
...
...
@@ -106,6 +104,8 @@ WINE_1.0
vsprintfW;
wine_call_on_stack;
wine_compare_string;
wine_cpsymbol_mbstowcs;
wine_cpsymbol_wcstombs;
wine_dbg_log;
wine_dbg_printf;
wine_dbg_sprintf;
...
...
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