diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/Regress-1.0-expected.gir | 29 | ||||
-rw-r--r-- | tests/scanner/regress.c | 17 | ||||
-rw-r--r-- | tests/scanner/regress.h | 17 |
3 files changed, 0 insertions, 63 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir index 4d4dcd70..e954705b 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -92,13 +92,6 @@ and/or use gtk-doc annotations. --> c:type="REGRESS_Mixed_Case_Constant"> <type name="gint" c:type="gint"/> </constant> - <record name="Object" c:type="RegressRenameToStruct"> - <doc xml:whitespace="preserve">A type with the same name as the library prefix. With the following -directive, should be available as Regress.Object</doc> - <field name="data" writable="1"> - <type name="gpointer" c:type="gpointer"/> - </field> - </record> <constant name="STRING_CONSTANT" value="Some String" c:type="REGRESS_STRING_CONSTANT"> @@ -1788,28 +1781,6 @@ libgnome-keyring.</doc> </parameter> </parameters> </function> - <function name="rename_to_struct_new" - c:identifier="regress_rename_to_struct_new" - introspectable="0"> - <return-value transfer-ownership="full"> - <type name="Object" c:type="RegressRenameToStruct*"/> - </return-value> - </function> - <function name="rename_to_struct_set_data" - c:identifier="regress_rename_to_struct_set_data" - introspectable="0"> - <return-value transfer-ownership="none"> - <type name="none" c:type="void"/> - </return-value> - <parameters> - <parameter name="self" transfer-ownership="none"> - <type name="Object" c:type="RegressRenameToStruct*"/> - </parameter> - <parameter name="data" transfer-ownership="none"> - <type name="gpointer" c:type="gpointer"/> - </parameter> - </parameters> - </function> <function name="set_abort_on_error" c:identifier="regress_set_abort_on_error"> <return-value transfer-ownership="none"> diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index e6fa25fb..910f01a5 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -3813,20 +3813,3 @@ void regress_test_versioning (void) { } - -/** - * regress_rename_to_struct_new: - * - * Returns: (transfer full): - */ -RegressRenameToStruct * -regress_rename_to_struct_new (void) -{ - return g_new0 (RegressRenameToStruct, 1); -} - -void -regress_rename_to_struct_set_data (RegressRenameToStruct *self, gpointer data) -{ - self->data = data; -} diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index ace18320..d6bdacb2 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -894,21 +894,4 @@ typedef struct { double dummy2; } RegressLikeGnomeKeyringPasswordSchema; - - -/** - * RegressRenameToStruct: - * - * A type with the same name as the library prefix. With the following - * directive, should be available as Regress.Object - * - * Rename to: Object - **/ -typedef struct { - gpointer data; -} RegressRenameToStruct; - -RegressRenameToStruct * regress_rename_to_struct_new (void); -void regress_rename_to_struct_set_data (RegressRenameToStruct *self, gpointer data); - #endif /* __GITESTTYPES_H__ */ |