engine: issue warnings once per source
[dconf.git] / bin / gvdb.vapi
blob1f3e92a45ec3abad9a6b729692abf7fd91debce1
1 [CCode (cheader_filename = "../gvdb/gvdb-builder.h")]
2 namespace Gvdb {
3         [Compact]
4         [CCode (cname = "GHashTable")]
5         class HashTable : GLib.HashTable<string, Item> {
6                 public HashTable (HashTable? parent = null, string? key = null);
7                 public unowned Item insert (string key);
8                 public void insert_string (string key, string value);
9                 [CCode (cname = "gvdb_table_write_contents")]
10                 public void write_contents (string filename, bool byteswap = false) throws GLib.Error;
11         }
13         [Compact]
14         class Item {
15                 public void set_value (GLib.Variant value);
16                 public void set_hash_table (HashTable table);
17                 public void set_parent (Item parent);
18         }
21 // vim:noet ts=4 sw=4