diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-28 03:06:56 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-28 03:06:56 +0000 |
commit | 3ed9db546e1143bc9aa2d83a6f423fdd81227352 (patch) | |
tree | 6ba7a785ddeff02224072cc51faf108482dfb0c7 /dbus/dbus-arch-deps.h.in | |
parent | 4506b6594b4a86557fad7850f56b5fdabd3108de (diff) |
2005-01-27 Havoc Pennington <hp@redhat.com>
* dbus/dbus-arch-deps.h.in: add 16/32-bit types
* configure.in: find the right type for 16 and 32 bit ints as well
as 64
* dbus/dbus-protocol.h (DBUS_TYPE_INT16, DBUS_TYPE_UINT16): add
the 16-bit types so people don't have to stuff them in 32-bit or
byte arrays.
Diffstat (limited to 'dbus/dbus-arch-deps.h.in')
-rw-r--r-- | dbus/dbus-arch-deps.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dbus/dbus-arch-deps.h.in b/dbus/dbus-arch-deps.h.in index 9d0d597f..b5891e61 100644 --- a/dbus/dbus-arch-deps.h.in +++ b/dbus/dbus-arch-deps.h.in @@ -27,7 +27,6 @@ #ifndef DBUS_ARCH_DEPS_H #define DBUS_ARCH_DEPS_H -#include <dbus/dbus-types.h> #include <dbus/dbus-macros.h> DBUS_BEGIN_DECLS; @@ -46,6 +45,12 @@ typedef unsigned @DBUS_INT64_TYPE@ dbus_uint64_t; #undef DBUS_UINT64_CONSTANT #endif +typedef @DBUS_INT32_TYPE@ dbus_int32_t; +typedef unsigned @DBUS_INT32_TYPE@ dbus_uint32_t; + +typedef @DBUS_INT16_TYPE@ dbus_int16_t; +typedef unsigned @DBUS_INT16_TYPE@ dbus_uint16_t; + DBUS_END_DECLS; #endif /* DBUS_ARCH_DEPS_H */ |