gir: Fix parser warning due to empty line
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 10 Dec 2020 19:08:53 +0000 (14:08 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 10 Dec 2020 19:08:53 +0000 (14:08 -0500)
The GIR parser does not want any empty line after the function or macro
name line.

Fixes the following warning:
[309/4246] Generating Gst-1.0.gir with a custom command
../subprojects/gstreamer/gst/gstelement.h:57: Warning: Gst: "@element" parameter unexpected at this location:
 * @element: The element name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gstelement.h:84: Warning: Gst: "@e" parameter unexpected at this location:
 * @e: The element name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gstelement.h:106: Warning: Gst: "@e" parameter unexpected at this location:
 * @e: The element name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gstdeviceprovider.h:32: Warning: Gst: "@d_p" parameter unexpected at this location:
 * @d_p: The device provider name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gstdynamictypefactory.h:28: Warning: Gst: "@t_n" parameter unexpected at this location:
 * @t_n: The dynamic type name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gsttypefind.h:34: Warning: Gst: "@type_find" parameter unexpected at this location:
 * @type_find: The type find name in lower case, with words separated by '_'.
    ^
../subprojects/gstreamer/gst/gsttypefind.h:61: Warning: Gst: "@t_f" parameter unexpected at this location:
 * @t_f: The type find name in lower case, with words separated by '_'.
    ^

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/719>

gst/gstdeviceprovider.h
gst/gstdynamictypefactory.h
gst/gstelement.h
gst/gsttypefind.h

index ba8c521..242071f 100644 (file)
@@ -28,7 +28,6 @@
 
 /**
  * GST_DEVICE_PROVIDER_REGISTER_DEFINE:
- *
  * @d_p: The device provider name in lower case, with words separated by '_'.
  * Used to generate `gst_device_provider_register_*(GstPlugin* plugin)`.
  * @d_p_n: The public name of the device provider
index 95b6018..371dafb 100644 (file)
@@ -24,7 +24,6 @@
 
 /**
  * GST_DYNAMIC_TYPE_REGISTER_DEFINE:
- *
  * @t_n: The dynamic type name in lower case, with words separated by '_'.
  * Used to generate `gst_dynamic_type_register_*(GstPlugin* plugin)`.
  * @t: The #GType of the dynamic type
index f550a27..0eee77f 100644 (file)
@@ -53,7 +53,6 @@ G_END_DECLS
 
 /**
  * GST_ELEMENT_REGISTER_DEFINE_CUSTOM:
- *
  * @element: The element name in lower case, with words separated by '_'.
  * Used to generate `gst_element_register_*(GstPlugin* plugin)`.
  * @register_func: pointer to a method with the format: `gboolean register_func (GstPlugin* plugin);`
@@ -80,7 +79,6 @@ G_END_DECLS
 
 /**
  * GST_ELEMENT_REGISTER_DEFINE:
- *
  * @e: The element name in lower case, with words separated by '_'.
  * Used to generate `gst_element_register_*(GstPlugin* plugin)`.
  * @e_n: The public name of the element
@@ -102,7 +100,6 @@ G_END_DECLS
 
 /**
  * GST_ELEMENT_REGISTER_DEFINE_WITH_CODE:
- *
  * @e: The element name in lower case, with words separated by '_'.
  * Used to generate `gst_element_register_*(GstPlugin* plugin)`.
  * @e_n: The public name of the element
index bcd336f..6a0a630 100644 (file)
@@ -30,7 +30,6 @@
 G_BEGIN_DECLS
 /**
  * GST_TYPE_FIND_REGISTER_DEFINE_CUSTOM:
- *
  * @type_find: The type find name in lower case, with words separated by '_'.
  * Used to generate `gst_type_find_register_*(GstPlugin* plugin)`.
  * @register_func: pointer to a method with the format: `gboolean register_func (GstPlugin* plugin);`
@@ -57,7 +56,6 @@ G_END_DECLS
 
 /**
  * GST_TYPE_FIND_REGISTER_DEFINE:
- *
  * @t_f: The type find name in lower case, with words separated by '_'.
  * Used to generate `gst_type_find_register_*(GstPlugin* plugin)`.
  * @t_f_n: The public name of the type find