rtsp-token: annotate constructors for bindings

This maps _new_empty() to _new(), which also makes RTSPToken()
work properly now. Since this API wasn't usable from bindings
before, this should hopefully be fine.

https://bugzilla.gnome.org/show_bug.cgi?id=787073
This commit is contained in:
Tim-Philipp Müller 2018-01-18 11:32:32 +00:00
parent 54a8c6bddf
commit 8708262ebe

View file

@ -96,7 +96,7 @@ gst_rtsp_token_init (GstRTSPTokenImpl * token, GstStructure * structure)
} }
/** /**
* gst_rtsp_token_new_empty: * gst_rtsp_token_new_empty: (rename-to gst_rtsp_token_new)
* *
* Create a new empty Authorization token. * Create a new empty Authorization token.
* *
@ -118,7 +118,7 @@ gst_rtsp_token_new_empty (void)
} }
/** /**
* gst_rtsp_token_new: * gst_rtsp_token_new: (skip)
* @firstfield: the first fieldname * @firstfield: the first fieldname
* @...: additional arguments * @...: additional arguments
* *
@ -141,7 +141,7 @@ gst_rtsp_token_new (const gchar * firstfield, ...)
} }
/** /**
* gst_rtsp_token_new_valist: * gst_rtsp_token_new_valist: (skip)
* @firstfield: the first fieldname * @firstfield: the first fieldname
* @var_args: additional arguments * @var_args: additional arguments
* *