summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-19 16:59:02 -0500
committerColin Walters <walters@verbum.org>2010-11-19 16:59:02 -0500
commit1113955bb6a5276c21771685dd30c51f9ef1661f (patch)
tree4d024db41c55301bf7e43f077f29405323a1bbce /tests/scanner/regress.h
parent9f5da945add22bd3a2b72d50ed8f11387e51ce85 (diff)
downloadgobject-introspection-1113955bb6a5276c21771685dd30c51f9ef1661f.tar.gz
scanner: Only mark structures and unions as out-caller-allocates
These are the only things for which we expect native values to be preserved; for e.g. flags and integers, we expect bindings to convert. The particular rationale for this patch is to avoid flagging flags (sic) as (out caller-allocates).
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r--tests/scanner/regress.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index 9b39bd3c..9daf1798 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -163,6 +163,8 @@ GType regress_test_flags_get_type (void) G_GNUC_CONST;
const gchar * regress_test_enum_param(RegressTestEnum e);
const gchar * regress_test_unsigned_enum_param(RegressTestEnumUnsigned e);
+void regress_global_get_flags_out (RegressTestFlags *v);
+
/* constants */
#define REGRESS_INT_CONSTANT 4422