GNOME Bugzilla – Bug 556475
support Shadows: annotation
Last modified: 2015-02-07 16:58:52 UTC
Per the current Annotations spec, we should support a Shadows: annotation. This is useful for overriding C convenience varargs functions, among others.
Created attachment 120684 [details] [review] support Shadows:
This needs to end up in the typelib, too, right?
The shadower function does - it takes over the name. The shadowed function does not.
This is referred as Rename-To: in the annotation documentation.
*** Bug 573933 has been marked as a duplicate of this bug. ***
Created attachment 130018 [details] [review] Implementation of the 'Rename to' annotation
Looks good, you might rename the "filter_recursive" method of Namespace to e.g. "remove_matching" since to my mind "filter" implies functional/side-effect-free, but it actually mutates the node list.
Did you want to commit this Andreas?
(In reply to comment #8) > Did you want to commit this Andreas? > Yes, didn't come around to it yet, will hopefully do later today (with the suggested changes).
Commited as 23e6fa6..
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]