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
8850a5fc
Commit
8850a5fc
authored
Jan 04, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We no longer need the xpm wrappers.
parent
3775a657
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
78 deletions
+3
-78
ts_xpm.h
include/ts_xpm.h
+0
-27
make_X11wrappers
tools/make_X11wrappers
+2
-12
Makefile.in
tsx11/Makefile.in
+1
-2
X11_calls
tsx11/X11_calls
+0
-2
ts_xpm.c
tsx11/ts_xpm.c
+0
-35
No files found.
include/ts_xpm.h
deleted
100644 → 0
View file @
3775a657
/*
* Thread safe wrappers around xpm calls.
* Always include this file instead of <X11/xpm.h>.
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#ifndef __WINE_TS_XPM_H
#define __WINE_TS_XPM_H
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
extern
void
(
*
wine_tsx11_lock
)(
void
);
extern
void
(
*
wine_tsx11_unlock
)(
void
);
extern
int
TSXpmCreatePixmapFromData
(
Display
*
,
Drawable
,
char
**
,
Pixmap
*
,
Pixmap
*
,
XpmAttributes
*
);
extern
int
TSXpmAttributesSize
(
void
);
#endif
/* defined(HAVE_LIBXXPM) */
#endif
/* __WINE_TS_XPM_H */
tools/make_X11wrappers
View file @
8850a5fc
...
...
@@ -17,7 +17,7 @@
$X11_include_dir
=
"/usr/X11/include"
;
$outdir
=
"tsx11"
;
$wantfile
=
"$outdir/X11_calls"
;
@dolist
=
(
"Xlib"
,
"Xresource"
,
"Xutil"
,
"
xpm"
,
"
XShm"
,
"xf86dga"
,
"xf86dga2"
,
"xf86vmode"
,
"shape"
,
"xvideo"
,
"Xrender"
);
@dolist
=
(
"Xlib"
,
"Xresource"
,
"Xutil"
,
"XShm"
,
"xf86dga"
,
"xf86dga2"
,
"xf86vmode"
,
"shape"
,
"xvideo"
,
"Xrender"
);
# First read list of wanted function names.
...
...
@@ -70,10 +70,6 @@ foreach $name (@dolist) {
$pre_file
=
"#ifdef HAVE_LIBXXSHM\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXSHM) */\n"
;
}
if
(
$name
eq
"xpm"
)
{
$pre_file
=
"#ifdef HAVE_LIBXXPM\n"
;
$post_file
=
"#endif /* defined(HAVE_LIBXXPM) */\n"
;
}
if
(
$name
eq
"xf86vmode"
)
{
$x11_incl
=
"#include <X11/Xlib.h>\n"
;
$extensions_dir
=
"extensions/"
;
...
...
@@ -140,13 +136,7 @@ $x11_incl#include <X11/$extensions_dir$inc_name.h>
END
if
(
$name
eq
"xpm"
)
{
# Handle as special case.
output_fn
(
"XpmCreatePixmapFromData"
,
"int"
,
"Display *, Drawable, char **, Pixmap *, Pixmap *, XpmAttributes *"
,
"Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5"
,
"a0, a1, a2, a3, a4, a5"
);
output_fn
(
"XpmAttributesSize"
,
"int"
,
"void"
,
"void"
,
""
);
}
elsif
(
$name
eq
"XShm"
)
{
if
(
$name
eq
"XShm"
)
{
output_fn
(
"XShmQueryExtension"
,
"Bool"
,
"Display *"
,
"Display *a0"
,
"a0"
);
output_fn
(
"XShmQueryVersion"
,
"Bool"
,
...
...
tsx11/Makefile.in
View file @
8850a5fc
...
...
@@ -20,8 +20,7 @@ C_SRCS = \
ts_xresource.c
\
ts_xvideo.c
\
ts_xutil.c
\
ts_shape.c
\
ts_xpm.c
ts_shape.c
all
:
libwine_tsx11.$(LIBEXT)
...
...
tsx11/X11_calls
View file @
8850a5fc
...
...
@@ -177,8 +177,6 @@ XUniqueContext
XUnmapWindow
XWarpPointer
XXorRegion
XpmAttributesSize
XpmCreatePixmapFromData
XrmGetFileDatabase
XrmGetResource
XrmGetStringDatabase
...
...
tsx11/ts_xpm.c
deleted
100644 → 0
View file @
3775a657
/*
* Thread safe wrappers around xpm calls.
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
#include "ts_xpm.h"
int
TSXpmCreatePixmapFromData
(
Display
*
a0
,
Drawable
a1
,
char
**
a2
,
Pixmap
*
a3
,
Pixmap
*
a4
,
XpmAttributes
*
a5
)
{
int
r
;
wine_tsx11_lock
();
r
=
XpmCreatePixmapFromData
(
a0
,
a1
,
a2
,
a3
,
a4
,
a5
);
wine_tsx11_unlock
();
return
r
;
}
int
TSXpmAttributesSize
(
void
)
{
int
r
;
wine_tsx11_lock
();
r
=
XpmAttributesSize
();
wine_tsx11_unlock
();
return
r
;
}
#endif
/* defined(HAVE_LIBXXPM) */
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