summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.h
diff options
context:
space:
mode:
authorTorsten Schönfeld <kaffeetisch@gmx.de>2012-08-18 00:27:21 +0200
committerTorsten Schönfeld <kaffeetisch@gmx.de>2012-08-21 20:52:03 +0200
commitb0b4c98b31a23e6885b6c0785df93404b161b4b7 (patch)
tree5ab549951ea665416baaefa16f95b72175909009 /tests/scanner/regress.h
parent0389b06d2dc800178d1e02446d0d6ce8d7c0bda4 (diff)
downloadgobject-introspection-b0b4c98b31a23e6885b6c0785df93404b161b4b7.tar.gz
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
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r--tests/scanner/regress.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index d6bdacb2..949a3764 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -282,6 +282,7 @@ struct _RegressTestStructA
void regress_test_struct_a_clone (RegressTestStructA *a,
RegressTestStructA *a_out);
+void regress_test_struct_a_parse (RegressTestStructA *a_out, const gchar *string);
struct _RegressTestStructB
{