[Bug 767268] Add missing filename type annotations

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 6 08:11:55 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767268

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #329156|none                        |reviewed
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 329156:
 --> (https://bugzilla.gnome.org/review?bug=767268&attachment=329156)

What is the exact difference between a string and a filename, other than the
semantic difference? How is it handled differently, is the string encoding
possibly different, ...?

::: gst/gst.c
@@ +318,3 @@
  * @argc: (inout) (allow-none): pointer to application's argc
+ * @argv: (inout) (array length=argc) (element-type filename) (allow-none):
+ *        pointer to application's argv

Why is argv an array of "filenames"? It's arbitrary command line arguments

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list