D-Bus 1.15.12
|
dbus_bool_t, dbus_int32_t, etc. More...
Data Structures | |
struct | DBus8ByteStruct |
An 8-byte struct you could use to access int64 without having int64 support. More... | |
union | DBusBasicValue |
A simple value union that lets you access bytes as if they were various types; useful when dealing with basic types via void pointers and varargs. More... | |
Macros | |
#define | DBUS_HAVE_INT64 1 |
Always defined. | |
#define | DBUS_INT64_CONSTANT(val) (_DBUS_GNUC_EXTENSION (val##L)) |
Declare a 64-bit signed integer constant. | |
#define | DBUS_UINT64_CONSTANT(val) (_DBUS_GNUC_EXTENSION (val##UL)) |
Declare a 64-bit unsigned integer constant. | |
#define | DBUS_INT64_MODIFIER "l" |
A string literal for a length modifier that is appropriate to print the dbus_int64_t and dbus_uint64_t types. | |
dbus_bool_t, dbus_int32_t, etc.
Typedefs for common primitive types.
#define DBUS_HAVE_INT64 1 |
Always defined.
In older libdbus versions, this would be undefined if there was no 64-bit integer type on that platform. libdbus no longer supports such platforms.
Definition at line 36 of file dbus-arch-deps.h.
#define DBUS_INT64_CONSTANT | ( | val | ) | (_DBUS_GNUC_EXTENSION (val##L)) |
Declare a 64-bit signed integer constant.
The macro adds the necessary "LL" or whatever after the integer, giving a literal such as "325145246765LL"
Definition at line 41 of file dbus-arch-deps.h.
#define DBUS_INT64_MODIFIER "l" |
A string literal for a length modifier that is appropriate to print the dbus_int64_t and dbus_uint64_t types.
For example, it might be an empty string, "l", "ll", or "I64".
This modifier needs to be concatenated with a literal "%" and a conversion specifier that can print signed or unsigned integers, for example:
Definition at line 39 of file dbus-arch-deps.h.
#define DBUS_UINT64_CONSTANT | ( | val | ) | (_DBUS_GNUC_EXTENSION (val##UL)) |
Declare a 64-bit unsigned integer constant.
The macro adds the necessary "ULL" or whatever after the integer, giving a literal such as "325145246765ULL"
Definition at line 42 of file dbus-arch-deps.h.