gir: Fix parser warning due to empty line

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>
This commit is contained in:
Nicolas Dufresne 2020-12-10 14:08:53 -05:00
parent 978ba72bdd
commit 8a45c8d1df
4 changed files with 0 additions and 7 deletions

View 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

View 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

View 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

View 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