2005-08-22 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle "type const *" parameters. * gdk/gdk-api-2.8.raw : regened probably from one of danw's parser fixes. [Fixes #75844] svn path=/trunk/gtk-sharp/; revision=48681
This commit is contained in:
parent
ba1eeecbfb
commit
349de99a82
3 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-08-22 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* parser/gapi2xml.pl : handle "type const *" parameters.
|
||||
* gdk/gdk-api-2.8.raw : regened probably from one of danw's parser
|
||||
fixes. [Fixes #75844]
|
||||
|
||||
2005-08-22 Dan Winship <danw@novell.com>
|
||||
|
||||
* generator/Property.cs (Generate): Mark properties [Obsolete] if
|
||||
|
|
|
@ -5305,7 +5305,18 @@
|
|||
</parameters>
|
||||
</method>
|
||||
</struct>
|
||||
<struct name="PixbufFrame" cname="GdkPixbufFrame" opaque="true" />
|
||||
<struct name="PixbufFrame" cname="GdkPixbufFrame">
|
||||
<field name="Pixbuf" cname="pixbuf" type="GdkPixbuf*" />
|
||||
<field name="XOffset" cname="x_offset" type="int" />
|
||||
<field name="YOffset" cname="y_offset" type="int" />
|
||||
<field name="DelayTime" cname="delay_time" type="int" />
|
||||
<field name="Elapsed" cname="elapsed" type="int" />
|
||||
<field name="Action" cname="action" type="GdkPixbufFrameAction" />
|
||||
<field name="NeedRecomposite" cname="need_recomposite" type="gboolean" />
|
||||
<field name="BgTransparent" cname="bg_transparent" type="gboolean" />
|
||||
<field name="Composited" cname="composited" type="GdkPixbuf*" />
|
||||
<field name="Revert" cname="revert" type="GdkPixbuf*" />
|
||||
</struct>
|
||||
<struct name="Pixdata" cname="GdkPixdata">
|
||||
<field name="Magic" cname="magic" type="guint32" />
|
||||
<field name="Length" cname="length" type="gint32" />
|
||||
|
|
|
@ -789,6 +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/const\s+/const-/g;
|
||||
$parm =~ s/unsigned\s+/unsigned-/g;
|
||||
if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) {
|
||||
|
|
Loading…
Reference in a new issue