Skip to content

girparser: fixes to (out caller-allocates) handling

Val Och requested to merge v19930312/vala:gir-array-caller-allocates into main
  • Default to (transfer none) in accordance with documentation (see "Default annotations" section at the end).
  • Do not mark refcounted parameters as ref/out to avoid extra indirection
    Docs are somewhat less clear on this one, but this is what you'd expect "caller-allocated array/refcounted type" to mean.

Fixes #771. I'd appreciate testing this with more packages to ensure nothing breaks.

Edited by Val Och

Merge request reports