gi-rust / grust

GObject introspection bindings for the Rust programming language
GNU Lesser General Public License v2.1
37 stars 3 forks source link

Address the case of g_variant_builder_end() #25

Open mzabaluev opened 8 years ago

mzabaluev commented 8 years ago

The documentation says:

It is not permissible to use [the GVariantBuilder instance] in any way after this call except for reference counting operations (in the case of a heap-allocated GVariantBuilder or by reinitialising it with g_variant_builder_init() (in the case of stack-allocated).

In the bindings, this may mean:

Same applies to g_variant_dict_end().