2005-06-20 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix const foo * const * fields/params. [Fixes #75266] svn path=/trunk/gtk-sharp/; revision=46243
This commit is contained in:
parent
60c910ebec
commit
94b7d14a39
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-20 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* parser/gapi2xml.pl : fix const foo * const * fields/params.
|
||||
[Fixes #75266]
|
||||
|
||||
2005-06-17 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* Makefile.include : add included apis as deps on the generation
|
||||
|
|
|
@ -503,7 +503,7 @@ sub addFieldElems
|
|||
}
|
||||
next if ($field !~ /\S/);
|
||||
$field =~ s/\s+(\*+)/\1 /g;
|
||||
$field =~ s/(\w+)\s+const /const \1 /g;
|
||||
$field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g;
|
||||
$field =~ s/const /const\-/g;
|
||||
$field =~ s/struct /struct\-/g;
|
||||
$field =~ s/.*\*\///g;
|
||||
|
@ -774,7 +774,7 @@ sub addParamsElem
|
|||
foreach $parm (@params) {
|
||||
$parm_num++;
|
||||
$parm =~ s/\s+(\*+)/\1 /g;
|
||||
$parm =~ s/(\w+)\s+const /const \1 /g;
|
||||
$parm =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g;
|
||||
$parm =~ s/(\*+)\s*const\s+/\1 /g;
|
||||
$parm =~ s/const\s+/const-/g;
|
||||
$parm =~ s/unsigned\s+/unsigned-/g;
|
||||
|
|
Loading…
Reference in a new issue