mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2003-10-20 Mike Kestner <mkestner@ximian.com>
* atk/atk-api.xml : regenerated * gdk/gdk-api.xml : regenerated * gtk/gtk-api.xml : regenerated * gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875] * parser/gapi2xml.pl : handle unnamed parameter declarations. svn path=/trunk/gtk-sharp/; revision=19217
This commit is contained in:
parent
0525cb807e
commit
8eeccbb55c
@ -1,3 +1,11 @@
|
||||
2003-10-20 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* atk/atk-api.xml : regenerated
|
||||
* gdk/gdk-api.xml : regenerated
|
||||
* gtk/gtk-api.xml : regenerated
|
||||
* gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875]
|
||||
* parser/gapi2xml.pl : handle unnamed parameter declarations.
|
||||
|
||||
2003-10-20 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* generator/Parameters.cs : add a cast to the call_string for Length
|
||||
|
@ -196,7 +196,7 @@
|
||||
<callback name="EventListener" cname="AtkEventListener">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="AtkObject*" />
|
||||
<parameter type="AtkObject*" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback name="EventListenerInit" cname="AtkEventListenerInit">
|
||||
@ -205,8 +205,8 @@
|
||||
<callback name="FocusHandler" cname="AtkFocusHandler">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="AtkObject*, gboolean" />
|
||||
<parameter type="void " name="AtkObject*, gboolean" />
|
||||
<parameter type="AtkObject*" name="arg1" />
|
||||
<parameter type="gboolean" name="arg2" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback name="Function" cname="AtkFunction">
|
||||
@ -225,8 +225,8 @@
|
||||
<callback name="PropertyChangeHandler" cname="AtkPropertyChangeHandler">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="AtkObject*, AtkPropertyValues*" />
|
||||
<parameter type="void " name="AtkObject*, AtkPropertyValues*" />
|
||||
<parameter type="AtkObject*" name="arg1" />
|
||||
<parameter type="AtkPropertyValues*" name="arg2" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<interface name="Action" cname="AtkAction">
|
||||
|
@ -1843,8 +1843,8 @@
|
||||
<callback cname="child_func">
|
||||
<return-type type="gboolean" />
|
||||
<parameters>
|
||||
<parameter type="" name="" />
|
||||
<parameter type="" name="" />
|
||||
<parameter type="GdkWindow*" name="arg1" />
|
||||
<parameter type="gpointer" name="arg2" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<parameter type="gpointer" name="user_data" />
|
||||
@ -4246,37 +4246,37 @@
|
||||
<callback cname="_reserved1">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved1" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_reserved2">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved2" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_reserved3">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved3" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_reserved4">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved4" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_reserved5">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved5" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_reserved6">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_reserved6" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
</struct>
|
||||
|
@ -1784,25 +1784,25 @@
|
||||
<callback cname="_gtk_reserved1">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved1" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved2">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved2" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved3">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved3" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved4">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved4" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<signal name="MonthChanged" cname="month_changed" when="FIRST">
|
||||
@ -4803,7 +4803,7 @@
|
||||
<parameter type="GtkButtonsType" name="buttons" />
|
||||
<parameter type="const-gchar*" name="message_format" />
|
||||
<parameter ellipsis="true" />
|
||||
<parameter type="GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format, ...) G_GNUC_PRINTF (5, 6" name="" />
|
||||
<parameter type="6" name="arg7" />
|
||||
</parameters>
|
||||
</constructor>
|
||||
</object>
|
||||
@ -11320,25 +11320,25 @@
|
||||
<callback cname="_gtk_reserved1">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved1" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved2">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved2" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved3">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved3" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
<callback cname="_gtk_reserved4">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="void " name="_gtk_reserved4" />
|
||||
<parameter type="void" name="arg1" />
|
||||
</parameters>
|
||||
</callback>
|
||||
</struct>
|
||||
|
@ -365,7 +365,7 @@
|
||||
<return-type type="gboolean" />
|
||||
<parameters>
|
||||
<parameter type="GtkHTML*" name="html" />
|
||||
<parameter type="*" name="" />
|
||||
<parameter type="GtkHTMLEmbedded*" name="arg2" />
|
||||
</parameters>
|
||||
</signal>
|
||||
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
|
||||
|
@ -650,7 +650,9 @@ sub addParamsElem
|
||||
|
||||
my $parms_elem = $doc->createElement('parameters');
|
||||
$parent->appendChild($parms_elem);
|
||||
my $parm_num = 0;
|
||||
foreach $parm (@params) {
|
||||
$parm_num++;
|
||||
$parm =~ s/\s+(\*+)/\1 /g;
|
||||
$parm =~ s/(\*+)\s*const/\1/g;
|
||||
$parm =~ s/const\s+/const-/g;
|
||||
@ -670,9 +672,14 @@ sub addParamsElem
|
||||
}
|
||||
$parm_elem = $doc->createElement('parameter');
|
||||
$parms_elem->appendChild($parm_elem);
|
||||
$parm =~ /(\S+)\s+(\S+)/;
|
||||
my $name = "";
|
||||
if ($parm =~ /(\S+)\s+(\S+)/) {
|
||||
$parm_elem->setAttribute('type', $1);
|
||||
my $name = $2;
|
||||
$name = $2;
|
||||
} elsif ($parm =~ /(\S+)/) {
|
||||
$parm_elem->setAttribute('type', $1);
|
||||
$name = "arg" . $parm_num;
|
||||
}
|
||||
if ($name =~ /(\w+)\[.*\]/) {
|
||||
$name = $1;
|
||||
$parm_elem->setAttribute('array', "true");
|
||||
|
Loading…
Reference in New Issue
Block a user