diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-11-27 16:03:14 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-11-27 16:03:14 -0800 |
commit | 39cb1caa381666ac79307d3d312992d4e22980d1 (patch) | |
tree | 5f37d5064513892c341a5a02382477e2e99b5f29 | |
parent | cca90a25678bf3c3269af1c0ac5493cfd4809727 (diff) |
Fix incorrect comment delimiters in libXext man pages
Similar to X.Org Bug #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>
Protect /* sequences from cpp pre-processor removal without transforming
to Unicode mathematical asterisk character, and fix incorrectly encoded
/* sequences in XShm.man.
-rw-r--r-- | man/XShape.man | 18 | ||||
-rw-r--r-- | man/XShm.man | 26 | ||||
-rw-r--r-- | man/Xmbuf.man | 54 |
3 files changed, 49 insertions, 49 deletions
diff --git a/man/XShape.man b/man/XShape.man index 408e24a..0f16ce9 100644 --- a/man/XShape.man +++ b/man/XShape.man @@ -131,16 +131,16 @@ XRectangle *XShapeGetRectangles ( .LP .ta 3i typedef struct { - int type; /\(** of event */ - unsigned long serial; /\(** # of last request processed by server */ - Bool send_event; /\(** true if this came from a SendEvent request */ - Display *display; /\(** Display the event was read from */ - Window window; /\(** window of event */ - int kind; /\(** ShapeBounding or ShapeClip */ - int x, y; /\(** extents of new region */ + int type; /\&* of event */ + unsigned long serial; /\&* # of last request processed by server */ + Bool send_event; /\&* true if this came from a SendEvent request */ + Display *display; /\&* Display the event was read from */ + Window window; /\&* window of event */ + int kind; /\&* ShapeBounding or ShapeClip */ + int x, y; /\&* extents of new region */ unsigned width, height; - Time time; /\(** server timestamp when region changed */ - Bool shaped; /\(** true if the region exists */ + Time time; /\&* server timestamp when region changed */ + Bool shaped; /\&* true if the region exists */ } XShapeEvent; .fi .SH DESCRIPTION diff --git a/man/XShm.man b/man/XShm.man index 2961e44..2e37997 100644 --- a/man/XShm.man +++ b/man/XShm.man @@ -128,24 +128,24 @@ Status XShmGetEventBase( .ta 3i \fIEvents:\fP typedef struct { - int type; /\\(* of event */ - unsigned long serial; /\\(* # of last request processed by server*/ - Bool send_event; /\\(* true if this came from a SendEvent request*/ - Display *display; /\\(* Display the event was read from */ - Drawable drawable; /\\(* drawable of request */ - int major_code; /\\(* ShmReqCode */ - int minor_code; /\\(* X_ShmPutImage */ - ShmSeg shmseg; /\\(* the ShmSeg used in the request*/ - unsigned long offset; /\\(* the offset into ShmSeg used in the request*/ + int type; /\&* of event */ + unsigned long serial; /\&* # of last request processed by server*/ + Bool send_event; /\&* true if this came from a SendEvent request*/ + Display *display; /\&* Display the event was read from */ + Drawable drawable; /\&* drawable of request */ + int major_code; /\&* ShmReqCode */ + int minor_code; /\&* X_ShmPutImage */ + ShmSeg shmseg; /\&* the ShmSeg used in the request*/ + unsigned long offset; /\&* the offset into ShmSeg used in the request*/ } XShmCompletionEvent; .LP \fIa structure of type XShmSegmentInfo :\fP typedef struct { - ShmSeg shmseg; /\\(* resource id */ - int shmid; /\\(* kernel id */ - char *shmaddr; /\\(* address in client */ - Bool readOnly; /\\(* how the server should attach it */ + ShmSeg shmseg; /\&* resource id */ + int shmid; /\&* kernel id */ + char *shmaddr; /\&* address in client */ + Bool readOnly; /\&* how the server should attach it */ } XShmSegmentInfo; .SH DESCRIPTION diff --git a/man/Xmbuf.man b/man/Xmbuf.man index ec72027..adca2a1 100644 --- a/man/Xmbuf.man +++ b/man/Xmbuf.man @@ -118,7 +118,7 @@ Window XmbufCreateStereoWindow( unsigned int height, unsigned int border_width, int depth, - unsigned int class, /\(** InputOutput, InputOnly*/ + unsigned int class, /\&* InputOutput, InputOnly*/ Visual *visual, unsigned long valuemask, XSetWindowAttributes *attributes, @@ -130,55 +130,55 @@ Window XmbufCreateStereoWindow( .ta 3i \fIEvents:\fP typedef struct { - int type; /\(** of event */ - unsigned long serial; /\(** # of last request processed by server */ - int send_event; /\(** true if this came from a SendEvent request */ - Display *display; /\(** Display the event was read from */ - Multibuffer buffer; /\(** buffer of event */ - int state; /\(** see Clobbered constants above */ + int type; /\&* of event */ + unsigned long serial; /\&* # of last request processed by server */ + int send_event; /\&* true if this came from a SendEvent request */ + Display *display; /\&* Display the event was read from */ + Multibuffer buffer; /\&* buffer of event */ + int state; /\&* see Clobbered constants above */ } XmbufClobberNotifyEvent; .LP typedef struct { - int type; /\(** of event */ - unsigned long serial; /\(** # of last request processed by server */ - int send_event; /\(** true if this came from a SendEvent request */ - Display *display; /\(** Display the event was read from */ - Multibuffer buffer; /\(** buffer of event */ + int type; /\&* of event */ + unsigned long serial; /\&* # of last request processed by server */ + int send_event; /\&* true if this came from a SendEvent request */ + Display *display; /\&* Display the event was read from */ + Multibuffer buffer; /\&* buffer of event */ } XmbufUpdateNotifyEvent; .LP \fIPer-window attributes that can be got:\fP typedef struct { - int displayed_index; /\(** which buffer is being displayed */ - int update_action; /\(** Undefined, Background, Untouched, Copied */ - int update_hint; /\(** Frequent, Intermittent, Static */ - int window_mode; /\(** Mono, Stereo */ - int nbuffers; /\(** Number of buffers */ - Multibuffer *buffers; /\(** Buffers */ + int displayed_index; /\&* which buffer is being displayed */ + int update_action; /\&* Undefined, Background, Untouched, Copied */ + int update_hint; /\&* Frequent, Intermittent, Static */ + int window_mode; /\&* Mono, Stereo */ + int nbuffers; /\&* Number of buffers */ + Multibuffer *buffers; /\&* Buffers */ } XmbufWindowAttributes; .LP \fIPer-window attributes that can be set:\fP typedef struct { - int update_hint; /\(** Frequent, Intermittent, Static */ + int update_hint; /\&* Frequent, Intermittent, Static */ } XmbufSetWindowAttributes; .LP \fIPer-buffer attributes that can be got:\fP typedef struct { - Window window; /\(** which window this belongs to */ - unsigned long event_mask; /\(** events that have been selected */ - int buffer_index; /\(** which buffer is this */ - int side; /\(** Mono, Left, Right */ + Window window; /\&* which window this belongs to */ + unsigned long event_mask; /\&* events that have been selected */ + int buffer_index; /\&* which buffer is this */ + int side; /\&* Mono, Left, Right */ } XmbufBufferAttributes; .LP \fIPer-buffer attributes that can be set:\fP typedef struct { - unsigned long event_mask; /\(** events that have been selected */ + unsigned long event_mask; /\&* events that have been selected */ } XmbufSetBufferAttributes; .LP \fIPer-screen buffer info (there will be lists of them):\fP typedef struct { - VisualID visualid; /\(** visual usable at this depth */ - int max_buffers; /\(** most buffers for this visual */ - int depth; /\(** depth of buffers to be created */ + VisualID visualid; /\&* visual usable at this depth */ + int max_buffers; /\&* most buffers for this visual */ + int depth; /\&* depth of buffers to be created */ } XmbufBufferInfo; .fi .SH DESCRIPTION |