summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-09-11 14:25:27 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-09-17 10:04:25 +0200
commita18d88dd1a42ef646852b32dc00b07d7895b6dc7 (patch)
tree74680b7c15f9b82a242c3f073fb139812b50493d /tests/scanner/foo.h
parentc2f808b1171c6b5e6de5063040f305dbf37fbd73 (diff)
downloadgobject-introspection-a18d88dd1a42ef646852b32dc00b07d7895b6dc7.tar.gz
Make Full the default transfer for returned foreign structs.
For that we also need to read the annotations for foreign structs before guessing the transfer mode of return values. https://bugzilla.gnome.org/show_bug.cgi?id=629188
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 6c572666..e648e609 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -424,6 +424,7 @@ struct _FooForeignStruct
};
FooForeignStruct* foo_foreign_struct_new (void);
+FooForeignStruct* foo_foreign_struct_copy (FooForeignStruct *original);
/* This one should be a global, not a method on UtilityObject since
* it's a separate namespace.