diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2008-01-19 17:50:01 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2008-01-19 17:50:01 +0000 |
commit | 77448a532e21983b65664e33525d18e76f41e348 (patch) | |
tree | cf648bcf7fef79c93ded2a1c48f66e1da6ec34ff /libvirt/generator.pl | |
parent | c46641acb5e29edfe3114ecb05614bfbff28372d (diff) | |
download | virt-top-77448a532e21983b65664e33525d18e76f41e348.tar.gz virt-top-77448a532e21983b65664e33525d18e76f41e348.tar.xz virt-top-77448a532e21983b65664e33525d18e76f41e348.zip |
Print signatures next to functions in the bindings.
Diffstat (limited to 'libvirt/generator.pl')
-rwxr-xr-x | libvirt/generator.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libvirt/generator.pl b/libvirt/generator.pl index 63de30e..ad2069f 100755 --- 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" } + 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) { |