Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

Basic types
[D-BUS message system public API]

dbus_bool_t, dbus_int32_t, etc. More...

Defines

#define DBUS_INT64_CONSTANT(val)   (val##LL)
 Declare a 64-bit signed integer constant.

#define DBUS_UINT64_CONSTANT(val)   (val##ULL)
 Declare a 64-bit unsigned integer constant.


Typedefs

typedef unsigned int dbus_bool_t
 A boolean, valid values are TRUE and FALSE.

typedef unsigned int dbus_uint32_t
 A 32-bit unsigned integer on all platforms.

typedef int dbus_int32_t
 A 32-bit signed integer on all platforms.

typedef unsigned short dbus_uint16_t
 A 16-bit unsigned integer on all platforms.

typedef short dbus_int16_t
 A 16-bit signed integer on all platforms.

typedef unsigned long long dbus_uint64_t
 A 64-bit unsigned integer on all platforms that support it.

typedef long long dbus_int64_t
 A 64-bit signed integer on all platforms that support it.


Detailed Description

dbus_bool_t, dbus_int32_t, etc.

Typedefs for common primitive types.


Define Documentation

#define DBUS_INT64_CONSTANT val   )     (val##LL)
 

Declare a 64-bit signed integer constant.

The macro adds the necessary "LL" or whatever after the integer, giving a literal such as "325145246765LL"

#define DBUS_UINT64_CONSTANT val   )     (val##ULL)
 

Declare a 64-bit unsigned integer constant.

The macro adds the necessary "ULL" or whatever after the integer, giving a literal such as "325145246765ULL"


Typedef Documentation

dbus_int64_t
 

A 64-bit signed integer on all platforms that support it.

If supported, #DBUS_HAVE_INT64 will be defined.

C99 requires a 64-bit type and most likely all interesting compilers support one. GLib for example flat-out requires a 64-bit type.

Definition at line 37 of file dbus-arch-deps.h.

Referenced by dbus_message_append_args_valist(), dbus_message_iter_get_args_valist(), and dbus_message_iter_get_int64().

dbus_uint64_t
 

A 64-bit unsigned integer on all platforms that support it.

If supported, #DBUS_HAVE_INT64 will be defined.

C99 requires a 64-bit type and most likely all interesting compilers support one. GLib for example flat-out requires a 64-bit type.

Definition at line 38 of file dbus-arch-deps.h.

Referenced by _dbus_demarshal_basic_type(), _dbus_marshal_basic_type(), _dbus_string_append_8_aligned(), dbus_message_append_args_valist(), dbus_message_iter_get_args_valist(), and dbus_message_iter_get_uint64().


Generated on Tue Oct 12 02:07:55 2004 for D-BUS by doxygen 1.3.7