Re: (inout) (transfer full) annotations for container types
- From: Colin Walters <walters verbum org>
- To: gir-devel-list gnome org
- Subject: Re: (inout) (transfer full) annotations for container types
- Date: Mon, 23 Feb 2015 08:13:26 -0500
On Sat, Feb 7, 2015, at 04:43 PM, Sergio Mariotti wrote:
@array: (inout) (element-type utf8) (transfer full):
Sorry, I only skimmed this message the first time. Yeah, this is a seriously ugly case. I don't have up to date advice on the state of things here, I imagine the bindings will have different bugs and interpretations as you've discovered.
I'd recommend to avoid calling or writing C APIs with these signatures until we fully define the semantics and fix the bindings.
I think ultimately we'll need separate annotations for the `in` and `out` portions.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]