[Libosinfo] [libosinfo PATCH 10/20] Add "Since: 0.2.7" to the documentation

Fabiano Fidêncio fidencio at redhat.com
Mon Jul 15 13:01:48 UTC 2019


Let's add the "Since: ..." information as part of the function's
documentation. It helps developers reading our docs to easily figure out
when a function has been introduced.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 osinfo/osinfo_install_script.c | 2 ++
 osinfo/osinfo_platform.c       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
index 826b9e2..d9a0ee7 100644
--- a/osinfo/osinfo_install_script.c
+++ b/osinfo/osinfo_install_script.c
@@ -1725,6 +1725,8 @@ GFile *osinfo_install_script_generate_output_for_media(OsinfoInstallScript *scri
  * #osinfo_install_script_generate_command_line_for_media() instead.
  *
  * Returns: (transfer full): The generated command line string, NULL otherwise.
+ *
+ * Since: 0.2.7
  */
 gchar *osinfo_install_script_generate_command_line(OsinfoInstallScript *script,
                                                    OsinfoOs *os,
diff --git a/osinfo/osinfo_platform.c b/osinfo/osinfo_platform.c
index 3864866..afc4957 100644
--- a/osinfo/osinfo_platform.c
+++ b/osinfo/osinfo_platform.c
@@ -129,6 +129,8 @@ static void get_all_devices_cb(OsinfoProduct *product, gpointer user_data)
  * all derived and upgraded platforms.
  *
  * Returns: (transfer full): A list of devices
+ *
+ * Since: 0.2.7
  */
 OsinfoDeviceList *osinfo_platform_get_all_devices(OsinfoPlatform *platform,
                                                   OsinfoFilter *filter)
-- 
2.21.0




More information about the Libosinfo mailing list