summaryrefslogtreecommitdiffstats
path: root/tools/wixl/util.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wixl/util.vala')
-rw-r--r--tools/wixl/util.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/wixl/util.vala b/tools/wixl/util.vala
index 29d9734..e7fadcc 100644
--- a/tools/wixl/util.vala
+++ b/tools/wixl/util.vala
@@ -32,6 +32,10 @@ namespace Wixl {
return v.value;
}
+ public void hash_table_add<G> (HashTable<G, G*> h, G o) {
+ h.replace (o, o);
+ }
+
public string add_braces (string str) {
if (str[0] == '{')
return str;