summaryrefslogtreecommitdiff
path: root/dbus/dbus-hash.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-12-17 11:18:35 +0000
committerSimon McVittie <smcv@collabora.com>2019-01-21 15:20:06 +0000
commit053a62122bedd1f4511d46c29272f887c0743091 (patch)
tree2a60b60e583143a78621c5977e4e0168ec656f7f /dbus/dbus-hash.h
parent10a5a2c695da968880aeab94c919248801f3ae16 (diff)
downloaddbus-053a62122bedd1f4511d46c29272f887c0743091.tar.gz
test: Unembed hash test from libdbus and move it into test/
This required exposing one additional internal symbol: _dbus_hash_table_ref(). I think that's a reasonable trade-off for not compiling this test into the library. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'dbus/dbus-hash.h')
-rw-r--r--dbus/dbus-hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-hash.h b/dbus/dbus-hash.h
index 9387f9eb..ea6fef0d 100644
--- a/dbus/dbus-hash.h
+++ b/dbus/dbus-hash.h
@@ -75,6 +75,7 @@ DBUS_PRIVATE_EXPORT
DBusHashTable* _dbus_hash_table_new (DBusHashType type,
DBusFreeFunction key_free_function,
DBusFreeFunction value_free_function);
+DBUS_PRIVATE_EXPORT
DBusHashTable* _dbus_hash_table_ref (DBusHashTable *table);
DBUS_PRIVATE_EXPORT
void _dbus_hash_table_unref (DBusHashTable *table);