Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ndufresne committed Dec 10, 2020
1 parent 978ba72 commit 8a45c8d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion gst/gstdeviceprovider.h
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion gst/gstdynamictypefactory.h
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions gst/gstelement.h
Expand Up @@ -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);`
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions gst/gsttypefind.h
Expand Up @@ -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);`
Expand All @@ -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
Expand Down

0 comments on commit 8a45c8d

Please sign in to comment.