Fix some mis-conversions by api_conv.pl, and remove the now-unused Xmd types
This commit is contained in:
parent
a3bd6f4760
commit
4ff12a1a94
16
src/xcb.h
16
src/xcb.h
|
@ -35,18 +35,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FIXME: these names conflict with those defined in Xmd.h. */
|
|
||||||
#ifndef XMD_H
|
|
||||||
typedef uint8_t uint8_t;
|
|
||||||
typedef uint8_t uint8_t;
|
|
||||||
typedef uint8_t uint8_t;
|
|
||||||
typedef uint16_t uint16_t;
|
|
||||||
typedef uint32_t uint32_t;
|
|
||||||
typedef int8_t int8_t;
|
|
||||||
typedef int16_t int16_t;
|
|
||||||
typedef int32_t int32_t;
|
|
||||||
#endif /* XMD_H */
|
|
||||||
|
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
|
@ -60,7 +48,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup xcb__core_api_t XCB Core API
|
* @defgroup XCB_Core_API XCB Core API
|
||||||
* @brief Core API of the XCB library.
|
* @brief Core API of the XCB library.
|
||||||
*
|
*
|
||||||
* @{
|
* @{
|
||||||
|
@ -157,7 +145,7 @@ typedef struct {
|
||||||
/** XCB_NONE is the universal null resource or null atom parameter value for many core X requests */
|
/** XCB_NONE is the universal null resource or null atom parameter value for many core X requests */
|
||||||
#define XCB_NONE 0L
|
#define XCB_NONE 0L
|
||||||
|
|
||||||
/** XCB_COPY_FROM_PARENT can be used for many CreateWindow parameters */
|
/** XCB_COPY_FROM_PARENT can be used for many xcb_create_window parameters */
|
||||||
#define XCB_COPY_FROM_PARENT 0L
|
#define XCB_COPY_FROM_PARENT 0L
|
||||||
|
|
||||||
/** XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t */
|
/** XCB_CURRENT_TIME can be used in most requests that take an xcb_timestamp_t */
|
||||||
|
|
|
@ -418,7 +418,7 @@ xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c, int *error)
|
||||||
*error = -1;
|
*error = -1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr, "xcb_poll_for_event_t: I/O error occured, but no handler provided.\n");
|
fprintf(stderr, "xcb_poll_for_event: I/O error occured, but no handler provided.\n");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue