diff options
author | Colin Walters <walters@verbum.org> | 2012-08-09 17:17:15 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-08-13 13:32:13 -0400 |
commit | 0e13b86146eaa2fd58fc5165b11eb4f8396108fa (patch) | |
tree | e6ed53809466af07a32239c5158d65754af5a799 /tests/scanner/regress.h | |
parent | ecef2be0f1b42a2850df35c711a338f15c4d7e4f (diff) | |
download | gobject-introspection-0e13b86146eaa2fd58fc5165b11eb4f8396108fa.tar.gz |
Revert "Implement "rename to" annotation for records"
This reverts commit 764366f7e4ef5a765a24ffac8c60b811f38b9ad9.
It can't work right now because to really use the structures, you need
to register them as a boxed, and that means we also need to rename the
boxed type.
A future version of this patch will need to handle both the structure
name and the GType name.
https://bugzilla.gnome.org/show_bug.cgi?id=675985
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 17 |
1 files changed, 0 insertions, 17 deletions
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__ */ |