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>
|
2003-10-20 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* generator/Parameters.cs : add a cast to the call_string for Length
|
* generator/Parameters.cs : add a cast to the call_string for Length
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
<callback name="EventListener" cname="AtkEventListener">
|
<callback name="EventListener" cname="AtkEventListener">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="AtkObject*" />
|
<parameter type="AtkObject*" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback name="EventListenerInit" cname="AtkEventListenerInit">
|
<callback name="EventListenerInit" cname="AtkEventListenerInit">
|
||||||
@ -205,8 +205,8 @@
|
|||||||
<callback name="FocusHandler" cname="AtkFocusHandler">
|
<callback name="FocusHandler" cname="AtkFocusHandler">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="AtkObject*, gboolean" />
|
<parameter type="AtkObject*" name="arg1" />
|
||||||
<parameter type="void " name="AtkObject*, gboolean" />
|
<parameter type="gboolean" name="arg2" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback name="Function" cname="AtkFunction">
|
<callback name="Function" cname="AtkFunction">
|
||||||
@ -225,8 +225,8 @@
|
|||||||
<callback name="PropertyChangeHandler" cname="AtkPropertyChangeHandler">
|
<callback name="PropertyChangeHandler" cname="AtkPropertyChangeHandler">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="AtkObject*, AtkPropertyValues*" />
|
<parameter type="AtkObject*" name="arg1" />
|
||||||
<parameter type="void " name="AtkObject*, AtkPropertyValues*" />
|
<parameter type="AtkPropertyValues*" name="arg2" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<interface name="Action" cname="AtkAction">
|
<interface name="Action" cname="AtkAction">
|
||||||
|
@ -1843,8 +1843,8 @@
|
|||||||
<callback cname="child_func">
|
<callback cname="child_func">
|
||||||
<return-type type="gboolean" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="" name="" />
|
<parameter type="GdkWindow*" name="arg1" />
|
||||||
<parameter type="" name="" />
|
<parameter type="gpointer" name="arg2" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<parameter type="gpointer" name="user_data" />
|
<parameter type="gpointer" name="user_data" />
|
||||||
@ -4246,37 +4246,37 @@
|
|||||||
<callback cname="_reserved1">
|
<callback cname="_reserved1">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved1" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_reserved2">
|
<callback cname="_reserved2">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved2" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_reserved3">
|
<callback cname="_reserved3">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved3" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_reserved4">
|
<callback cname="_reserved4">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved4" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_reserved5">
|
<callback cname="_reserved5">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved5" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_reserved6">
|
<callback cname="_reserved6">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_reserved6" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
</struct>
|
</struct>
|
||||||
|
@ -1784,25 +1784,25 @@
|
|||||||
<callback cname="_gtk_reserved1">
|
<callback cname="_gtk_reserved1">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved1" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved2">
|
<callback cname="_gtk_reserved2">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved2" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved3">
|
<callback cname="_gtk_reserved3">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved3" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved4">
|
<callback cname="_gtk_reserved4">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved4" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<signal name="MonthChanged" cname="month_changed" when="FIRST">
|
<signal name="MonthChanged" cname="month_changed" when="FIRST">
|
||||||
@ -4803,7 +4803,7 @@
|
|||||||
<parameter type="GtkButtonsType" name="buttons" />
|
<parameter type="GtkButtonsType" name="buttons" />
|
||||||
<parameter type="const-gchar*" name="message_format" />
|
<parameter type="const-gchar*" name="message_format" />
|
||||||
<parameter ellipsis="true" />
|
<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>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
</object>
|
</object>
|
||||||
@ -11320,25 +11320,25 @@
|
|||||||
<callback cname="_gtk_reserved1">
|
<callback cname="_gtk_reserved1">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved1" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved2">
|
<callback cname="_gtk_reserved2">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved2" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved3">
|
<callback cname="_gtk_reserved3">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved3" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<callback cname="_gtk_reserved4">
|
<callback cname="_gtk_reserved4">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="void " name="_gtk_reserved4" />
|
<parameter type="void" name="arg1" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
</struct>
|
</struct>
|
||||||
|
@ -365,7 +365,7 @@
|
|||||||
<return-type type="gboolean" />
|
<return-type type="gboolean" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GtkHTML*" name="html" />
|
<parameter type="GtkHTML*" name="html" />
|
||||||
<parameter type="*" name="" />
|
<parameter type="GtkHTMLEmbedded*" name="arg2" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</signal>
|
</signal>
|
||||||
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
|
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
|
||||||
|
@ -650,7 +650,9 @@ sub addParamsElem
|
|||||||
|
|
||||||
my $parms_elem = $doc->createElement('parameters');
|
my $parms_elem = $doc->createElement('parameters');
|
||||||
$parent->appendChild($parms_elem);
|
$parent->appendChild($parms_elem);
|
||||||
|
my $parm_num = 0;
|
||||||
foreach $parm (@params) {
|
foreach $parm (@params) {
|
||||||
|
$parm_num++;
|
||||||
$parm =~ s/\s+(\*+)/\1 /g;
|
$parm =~ s/\s+(\*+)/\1 /g;
|
||||||
$parm =~ s/(\*+)\s*const/\1/g;
|
$parm =~ s/(\*+)\s*const/\1/g;
|
||||||
$parm =~ s/const\s+/const-/g;
|
$parm =~ s/const\s+/const-/g;
|
||||||
@ -670,9 +672,14 @@ sub addParamsElem
|
|||||||
}
|
}
|
||||||
$parm_elem = $doc->createElement('parameter');
|
$parm_elem = $doc->createElement('parameter');
|
||||||
$parms_elem->appendChild($parm_elem);
|
$parms_elem->appendChild($parm_elem);
|
||||||
$parm =~ /(\S+)\s+(\S+)/;
|
my $name = "";
|
||||||
$parm_elem->setAttribute('type', $1);
|
if ($parm =~ /(\S+)\s+(\S+)/) {
|
||||||
my $name = $2;
|
$parm_elem->setAttribute('type', $1);
|
||||||
|
$name = $2;
|
||||||
|
} elsif ($parm =~ /(\S+)/) {
|
||||||
|
$parm_elem->setAttribute('type', $1);
|
||||||
|
$name = "arg" . $parm_num;
|
||||||
|
}
|
||||||
if ($name =~ /(\w+)\[.*\]/) {
|
if ($name =~ /(\w+)\[.*\]/) {
|
||||||
$name = $1;
|
$name = $1;
|
||||||
$parm_elem->setAttribute('array', "true");
|
$parm_elem->setAttribute('array', "true");
|
||||||
|
Loading…
Reference in New Issue
Block a user