[Pkg-libvirt-commits] [libguestfs] 05/31: gobject: doc: add the version (if available) of APIs
Hilko Bengen
bengen at moszumanska.debian.org
Sun Nov 1 17:13:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.29.46
in repository libguestfs.
commit 0a18465c2351056d40548c9f9d882096359465c4
Author: Pino Toscano <ptoscano at redhat.com>
Date: Thu May 28 15:05:34 2015 +0200
gobject: doc: add the version (if available) of APIs
---
generator/gobject.ml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/generator/gobject.ml b/generator/gobject.ml
index e563610..8d5ac06 100644
--- a/generator/gobject.ml
+++ b/generator/gobject.ml
@@ -1109,6 +1109,10 @@ guestfs_session_close (GuestfsSession *session, GError **err)
| Some alt ->
pr " * Deprecated: In new code, use guestfs_session_%s() instead\n" alt
);
+ (match version_added f with
+ | None -> ()
+ | Some version -> pr " * Since: %s\n" version
+ );
pr " */\n";
(* The function body *)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list