git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f351a14
)
docs: Move deprecation notice up to the top in C man page.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 6 Aug 2011 15:04:36 +0000
(16:04 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 6 Aug 2011 15:04:36 +0000
(16:04 +0100)
generator/generator_c.ml
patch
|
blob
|
history
diff --git
a/generator/generator_c.ml
b/generator/generator_c.ml
index
c9bfb1f
..
5460a35
100644
(file)
--- a/
generator/generator_c.ml
+++ b/
generator/generator_c.ml
@@
-180,6
+180,11
@@
and generate_actions_pod () =
generate_prototype ~extern:false ~indent:" " ~handle:"g" name style;
pr "\n\n";
generate_prototype ~extern:false ~indent:" " ~handle:"g" name style;
pr "\n\n";
+ (match deprecation_notice ~prefix:"guestfs_" flags with
+ | None -> ()
+ | Some txt -> pr "%s\n\n" txt
+ );
+
let uc_shortname = String.uppercase shortname in
if optargs <> [] then (
pr "You may supply a list of optional arguments to this call.\n";
let uc_shortname = String.uppercase shortname in
if optargs <> [] then (
pr "You may supply a list of optional arguments to this call.\n";
@@
-255,10
+260,6
@@
I<The caller must free the returned buffer after use>.\n\n"
pr "This function takes a key or passphrase parameter which
could contain sensitive material. Read the section
L</KEYS AND PASSPHRASES> for more information.\n\n";
pr "This function takes a key or passphrase parameter which
could contain sensitive material. Read the section
L</KEYS AND PASSPHRASES> for more information.\n\n";
- (match deprecation_notice ~prefix:"guestfs_" flags with
- | None -> ()
- | Some txt -> pr "%s\n\n" txt
- );
(match lookup_api_version name with
| Some version -> pr "(Added in %s)\n\n" version
| None -> ()
(match lookup_api_version name with
| Some version -> pr "(Added in %s)\n\n" version
| None -> ()