Skip to content

gir: GValue parameters carrying types are now inout (#638)

Chris White requested to merge cxw42/gstreamer:issue638 into master

Regularize gir annotations on GValue parameters:

  • (out caller-allocates) marks GValue parameters that must not be initialized before calling the function
  • (inout) marks GValue parameters that must be initialized before calling the function. These parameters must be initialized with a specific type, except where noted.

Related to downstream https://gitlab.gnome.org/GNOME/vala/-/issues/1014

Fixes #638.

@slomo I added (transfer none) where I thought it made sense, based on #638 (comment 725993) . Let me know what you think!

Thanks for considering this MR!

Merge request reports