All functions in the `glibtop_call_vector' now take an additional
2000-01-02 Martin Baulig <martin@home-of-linux.org> * include/glibtop/call-vector.pl: All functions in the `glibtop_call_vector' now take an additional `glibtop_backend *' argument.
This commit is contained in:
committed by
Martin Baulig
parent
68a40b5cba
commit
57d102425f
@@ -166,19 +166,19 @@ sub output {
|
||||
|
||||
if ($line_fields[3] eq '') {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server%s);\n",
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, backend%s);\n",
|
||||
$feature, $call_param);
|
||||
} elsif ($line_fields[3] eq 'array') {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, array%s);\n",
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, backend, array%s);\n",
|
||||
$feature, $call_param);
|
||||
} elsif ($line_fields[3] =~ /^array/) {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, array, buf%s);\n",
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, backend, array, buf%s);\n",
|
||||
$feature, $call_param);
|
||||
} else {
|
||||
$sysdeps_code .= sprintf
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, buf%s);\n",
|
||||
("\t\t\tretval = backend->info->call_vector->%s (server, backend, buf%s);\n",
|
||||
$feature, $call_param);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user