2005-08-23 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a cut-and-paste error in handling "type const *" fields. svn path=/trunk/gtk-sharp/; revision=48751
This commit is contained in:
parent
a4a90e0797
commit
68550ba02a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-08-23 Joe Shaw <joeshaw@novell.com>
|
||||
|
||||
* parser/gapi2xml.pl: Fix a cut-and-paste error in handling
|
||||
"type const *" fields.
|
||||
|
||||
2005-08-23 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* parser/gapi2xml.pl : handle foo const * fields.
|
||||
|
|
|
@ -504,7 +504,7 @@ sub addFieldElems
|
|||
next if ($field !~ /\S/);
|
||||
$field =~ s/\s+(\*+)/\1 /g;
|
||||
$field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g;
|
||||
$parm =~ s/(\w+)\s+const\s*\*/const \1\*/g;
|
||||
$field =~ s/(\w+)\s+const\s*\*/const \1\*/g;
|
||||
$field =~ s/const /const\-/g;
|
||||
$field =~ s/struct /struct\-/g;
|
||||
$field =~ s/.*\*\///g;
|
||||
|
|
Loading…
Reference in a new issue