rtsp-token: annotate constructors for bindings
authorTim-Philipp Müller <tim@centricular.com>
Thu, 18 Jan 2018 11:32:32 +0000 (11:32 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 18 Jan 2018 22:37:57 +0000 (22:37 +0000)
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

gst/rtsp-server/rtsp-token.c

index c002e8a..733546f 100644 (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.
  *
@@ -118,7 +118,7 @@ gst_rtsp_token_new_empty (void)
 }
 
 /**
- * gst_rtsp_token_new:
+ * gst_rtsp_token_new: (skip)
  * @firstfield: the first fieldname
  * @...: 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
  * @var_args: additional arguments
  *