[Libosinfo] [libosinfo PATCH 13/20] Add "Since: 0.2.10" to the documentation

Fabiano Fidêncio fidencio at redhat.com
Mon Jul 15 13:01:51 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_install_script.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
index 173e9c6..9ae6712 100644
--- a/osinfo/osinfo_install_script.c
+++ b/osinfo/osinfo_install_script.c
@@ -1918,6 +1918,8 @@ int osinfo_install_script_get_post_install_drivers_signing_req(OsinfoInstallScri
  *
  * Returns: (type OsinfoInstallScriptInjectionMethod): bitwise-or of
  * supported methods for install script injection.
+ *
+ * Since: 0.2.10
  */
 unsigned int osinfo_install_script_get_injection_methods(OsinfoInstallScript *script)
 {
diff --git a/osinfo/osinfo_install_script.h b/osinfo/osinfo_install_script.h
index f3fa5ba..ccd6cbc 100644
--- a/osinfo/osinfo_install_script.h
+++ b/osinfo/osinfo_install_script.h
@@ -118,6 +118,7 @@ typedef enum {
 
 /**
  * OsinfoInstallScriptInjectionMethod:
+ * Since: 0.2.10
  * @OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM: Support injection of the
  * installation script trough a CD-ROM.
  * @OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK: Support injection of the
-- 
2.21.0




More information about the Libosinfo mailing list