git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print signatures next to functions in the bindings.
[virt-top.git]
/
libvirt
/
generator.pl
diff --git
a/libvirt/generator.pl
b/libvirt/generator.pl
index
63de30e
..
ad2069f
100755
(executable)
--- a/
libvirt/generator.pl
+++ b/
libvirt/generator.pl
@@
-884,6
+884,13
@@
foreach my $function (@functions) {
die "cannot convert c_name $c_name to c_external_name"
}
die "cannot convert c_name $c_name to c_external_name"
}
+ print F <<END;
+/* Automatically generated binding for $c_name.
+ * Function signature in generator.pl is "$sig"
+ */
+
+END
+
# Generate a full function prototype if the function is weak.
my $have_name = "HAVE_" . uc ($c_name);
if ($is_weak) {
# Generate a full function prototype if the function is weak.
my $have_name = "HAVE_" . uc ($c_name);
if ($is_weak) {