mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:35:36 +00:00
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:
parent
68550ba02a
commit
4ecc1e8f03
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue