mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-19 13:07:56 +00:00
2007-12-17 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl: parse 'typedef struct\n{' properly. svn path=/trunk/gtk-sharp/; revision=91495
This commit is contained in:
parent
57c664572c
commit
6c5f622c43
|
@ -1,3 +1,7 @@
|
||||||
|
2007-12-17 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* parser/gapi_pp.pl: parse 'typedef struct\n{' properly.
|
||||||
|
|
||||||
2007-12-12 Mike Kestner <mkestner@novell.com>
|
2007-12-12 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/Parameters.cs: fix marshaling for ArrayCount params where
|
* generator/Parameters.cs: fix marshaling for ArrayCount params where
|
||||||
|
|
|
@ -126,7 +126,11 @@ foreach $fname (@hdrs) {
|
||||||
$deprecated = -1;
|
$deprecated = -1;
|
||||||
}
|
}
|
||||||
$ifdeflevel--;
|
$ifdeflevel--;
|
||||||
} elsif ($line =~ /typedef struct\s*\{/) {
|
} elsif ($line =~ /typedef struct\s*\{?\s*$/) {
|
||||||
|
while ($line !~ /{/) {
|
||||||
|
chomp ($line);
|
||||||
|
$line .= <INFILE>;
|
||||||
|
}
|
||||||
my $first_line = $line;
|
my $first_line = $line;
|
||||||
my @lines = ();
|
my @lines = ();
|
||||||
$line = <INFILE>;
|
$line = <INFILE>;
|
||||||
|
|
Loading…
Reference in a new issue