winapi: Remove some dead code.
This commit is contained in:
parent
55cd3433ac
commit
9bdde98ab6
@ -1873,10 +1873,6 @@ sub parse_c_typedef($$$$) {
|
|||||||
|
|
||||||
&$$found_type($type);
|
&$$found_type($type);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0 && $_ && !/^,/) {
|
|
||||||
$self->_parse_c_error($_, $line, $column, "typedef");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
$self->_parse_c_error($_, $line, $column, "typedef");
|
$self->_parse_c_error($_, $line, $column, "typedef");
|
||||||
}
|
}
|
||||||
|
@ -315,13 +315,7 @@ sub parse_spec_file($$) {
|
|||||||
if ($internal_name =~ /^(.*?)\.(.*?)$/) {
|
if ($internal_name =~ /^(.*?)\.(.*?)$/) {
|
||||||
my $forward_module = lc($1);
|
my $forward_module = lc($1);
|
||||||
my $forward_name = $2;
|
my $forward_name = $2;
|
||||||
|
$calling_convention = "forward";
|
||||||
if (0) {
|
|
||||||
$calling_convention .= " -forward";
|
|
||||||
} else {
|
|
||||||
$calling_convention = "forward";
|
|
||||||
}
|
|
||||||
|
|
||||||
$$function_forward{$module}{$external_name} = [$forward_module, $forward_name];
|
$$function_forward{$module}{$external_name} = [$forward_module, $forward_name];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,9 +180,7 @@ sub _find_align_kind_size($) {
|
|||||||
my $align;
|
my $align;
|
||||||
my $kind;
|
my $kind;
|
||||||
my $size;
|
my $size;
|
||||||
if (0) {
|
if (/\*+$/) {
|
||||||
# Nothing
|
|
||||||
} elsif (/\*+$/) {
|
|
||||||
$align = 4;
|
$align = 4;
|
||||||
$kind = "pointer";
|
$kind = "pointer";
|
||||||
$size = 4;
|
$size = 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user