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

* parser/gapi2xml.pl: Handle "type const *" return types
	as well.  I think this is all of them!

svn path=/trunk/gtk-sharp/; revision=48753
This commit is contained in:
Joe Shaw 2005-08-23 18:24:56 +00:00
parent 68550ba02a
commit 4ecc1e8f03
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-08-23 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Handle "type const *" return types
as well. I think this is all of them!
2005-08-23 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a cut-and-paste error in handling

View file

@ -844,6 +844,7 @@ sub addReturnElem
{
my ($parent, $ret) = @_;
$ret =~ s/(\w+)\s+const\s*\*/const \1\*/g;
$ret =~ s/const|G_CONST_RETURN/const-/g;
$ret =~ s/\s+//g;
$ret =~ s/(const-)?(\w+)\*(const-)\*/const-\2\*\*/g;