summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-types.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-29 22:57:13 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-29 22:57:13 +0000
commit410a80c43126376e9308a03a7cef108716018f5a (patch)
treeb4b738625725848c00f30c81dd6e5aad169e2c3b /dbus/dbus-types.h
parentae759bff511cfbd28bdb668a532ba9169d05af2d (diff)
2003-04-29 Havoc Pennington <hp@redhat.com>
* glib/dbus-gmain.c: docs cleanups * dbus/dbus-types.h: add docs on int64 types * dbus/dbus-memory.c: fix docs to avoid putting private API in public API docs section
Diffstat (limited to 'dbus/dbus-types.h')
-rw-r--r--dbus/dbus-types.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/dbus/dbus-types.h b/dbus/dbus-types.h
index e9bfca84..854b6526 100644
--- a/dbus/dbus-types.h
+++ b/dbus/dbus-types.h
@@ -77,6 +77,37 @@ typedef dbus_uint32_t dbus_unichar_t;
* A 16-bit signed integer on all platforms.
*/
+
+/**
+ * @typedef dbus_uint64_t
+ *
+ * A 64-bit unsigned integer on all platforms that support it.
+ * If supported, #DBUS_HAVE_INT64 will be defined.
+ */
+
+/**
+ * @typedef dbus_int64_t
+ *
+ * A 64-bit signed integer on all platforms that support it.
+ * If supported, #DBUS_HAVE_INT64 will be defined.
+ */
+
+/**
+ * @def DBUS_INT64_CONSTANT
+ *
+ * Declare a 64-bit signed integer constant. The macro
+ * adds the necessary "LL" or whatever after the integer,
+ * giving a literal such as "325145246765LL"
+ */
+
+/**
+ * @def DBUS_UINT64_CONSTANT
+ *
+ * Declare a 64-bit unsigned integer constant. The macro
+ * adds the necessary "ULL" or whatever after the integer,
+ * giving a literal such as "325145246765ULL"
+ */
+
/** @} */
#endif /* DBUS_TYPES_H */