GNOME Bugzilla – Bug 774009
Invalid annotations for some methods
Last modified: 2018-02-09 11:21:09 UTC
I've noticed that some method parameters miss (out caller-allocates) annotation. Please review my patch, and if is ok, I'll push it.
Created attachment 339199 [details] [review] fix
Review of attachment 339199 [details] [review]: Everything else looks obviously correct, but... ::: gio/ginetaddress.c @@ +507,3 @@ /** * g_inet_address_new_from_bytes: + * @bytes: (array) (out caller-allocates) (element-type guint8): raw address data This is wrong; @bytes is an input parameter and points to const data.
Review of attachment 339199 [details] [review]: This is going to run into the same problems as bug #781234. I’ll dupe this to that bug for now, and we can either fix all of these annotations, or none of them, depending on what Rico says.
*** This bug has been marked as a duplicate of bug 781234 ***