summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-memory.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-11-22 23:18:41 +0000
committerHavoc Pennington <hp@redhat.com>2002-11-22 23:18:41 +0000
commitca8603a9eaa0d639ecf96526ac58c534314c9f23 (patch)
tree3e4e7e13cecb9f73dd1f4b26dbe9c246e8a0a078 /dbus/dbus-memory.h
parent8164139fa6259257817898b3d389d96bd60f8c13 (diff)
2002-11-22 Havoc Pennington <hp@redhat.com>
* dbus/dbus-hash.c: copy in Tcl hash table, not yet "ported" away from Tcl * dbus/dbus-types.h: header for types such as dbus_bool_t
Diffstat (limited to 'dbus/dbus-memory.h')
-rw-r--r--dbus/dbus-memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-memory.h b/dbus/dbus-memory.h
index b8b6559c..4d8728aa 100644
--- a/dbus/dbus-memory.h
+++ b/dbus/dbus-memory.h
@@ -41,6 +41,8 @@ void dbus_free (void *memory);
#define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count)));
#define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count)));
+typedef void (* DBusFreeFunction) (void *memory);
+
DBUS_END_DECLS
#endif /* DBUS_MESSAGE_H */