scanner: methods cannot have an out-arg as their first arg
authorTorsten Schönfeld <kaffeetisch@gmx.de>
Fri, 17 Aug 2012 22:27:21 +0000 (00:27 +0200)
committerTorsten Schönfeld <kaffeetisch@gmx.de>
Tue, 21 Aug 2012 18:52:03 +0000 (20:52 +0200)
commitb0b4c98b31a23e6885b6c0785df93404b161b4b7
tree5ab549951ea665416baaefa16f95b72175909009
parent0389b06d2dc800178d1e02446d0d6ce8d7c0bda4
scanner: methods cannot have an out-arg as their first arg

This ensures that if the first argument of a function like

  gboolean gdk_rgba_parse (GdkRGBA *rgba, const gchar *spec);

is annotated as being an out-arg, the result is a class function with two
arguments, not a method with one argument.  Previously, the (out) annotation
was simply ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=682124
giscanner/maintransformer.py
tests/scanner/Regress-1.0-expected.gir
tests/scanner/regress.c
tests/scanner/regress.h