2005-08-22 Joe Shaw <joeshaw@novell.com>

* parser/gapi2xml.pl: Fix a minor bug handling "type const *"
	parameters.

svn path=/trunk/gtk-sharp/; revision=48704
This commit is contained in:
Joe Shaw 2005-08-22 23:11:08 +00:00
parent 3e62a2a636
commit 6018f119d3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-08-22 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a minor bug handling "type const *"
parameters.
2005-08-22 Ben Maurer <bmaurer@novell.com>
* gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This

View File

@ -789,7 +789,7 @@ sub addParamsElem
my $out = $parm =~ s/G_CONST_RETURN/const/g;
$parm =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g;
$parm =~ s/(\*+)\s*const\s+/\1 /g;
$parm =~ s/(\w+)\s+const\s+\*/const \1 */g;
$parm =~ s/(\w+)\s+const\s*\*/const \1\*/g;
$parm =~ s/const\s+/const-/g;
$parm =~ s/unsigned\s+/unsigned-/g;
if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) {