summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-memory.h
diff options
context:
space:
mode:
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 */