You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
There are GLib types: GVariantBuilder, GVariantDict, and GVariantIter, that can be heap-allocated and then refcounted, or be created on stack which naturally does not allow refcounting.
Bindings for each of these would likely require three different types:
an on-stack type, calling on-stack cleanup in Drop;
a type implementing Refcount to represent heap-allocated structures;
a type that implements most of the bound methods, with an AsRef-style conversion from the two types described above.
The text was updated successfully, but these errors were encountered:
There are GLib types:
GVariantBuilder
,GVariantDict
, andGVariantIter
, that can be heap-allocated and then refcounted, or be created on stack which naturally does not allow refcounting.Bindings for each of these would likely require three different types:
Drop
;Refcount
to represent heap-allocated structures;AsRef
-style conversion from the two types described above.The text was updated successfully, but these errors were encountered: