mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
inputproto: Allow library users to avoid having the 'Pointer' typedef declared
'Pointer' collides with too many other application names, so stop using it locally and allow applications to avoid having it in the API. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
3c1ebd1cfe
commit
b418461970
1 changed files with 4 additions and 2 deletions
|
|
@ -85,12 +85,14 @@ typedef struct _XExtEventInfo
|
|||
BYTE word;
|
||||
} XExtEventInfo;
|
||||
|
||||
typedef unsigned char *Pointer;
|
||||
#ifndef _XITYPEDEF_POINTER
|
||||
typedef void *Pointer;
|
||||
#endif
|
||||
|
||||
struct tmask
|
||||
{
|
||||
Mask mask;
|
||||
Pointer dev;
|
||||
void *dev;
|
||||
};
|
||||
|
||||
/*********************************************************
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue