Ignore volatile on func param parse.
* gio/gio-api.raw: reparse * parser/gapi2xml.pl: ignore volatile keyword on function parameters.
This commit is contained in:
parent
88af56dd68
commit
35b60b19eb
2 changed files with 5 additions and 4 deletions
|
@ -6030,7 +6030,7 @@
|
|||
<parameters>
|
||||
<parameter type="GDBusMessage*" name="message" />
|
||||
<parameter type="GDBusSendMessageFlags" name="flags" />
|
||||
<parameter type="volatile" name="guint32*" />
|
||||
<parameter type="guint32*" name="out_serial" />
|
||||
<parameter type="GError**" name="error" />
|
||||
</parameters>
|
||||
</method>
|
||||
|
@ -6040,7 +6040,7 @@
|
|||
<parameter type="GDBusMessage*" name="message" />
|
||||
<parameter type="GDBusSendMessageFlags" name="flags" />
|
||||
<parameter type="gint" name="timeout_msec" />
|
||||
<parameter type="volatile" name="guint32*" />
|
||||
<parameter type="guint32*" name="out_serial" />
|
||||
<parameter type="GCancellable*" name="cancellable" />
|
||||
<parameter type="GAsyncReadyCallback" name="callback" />
|
||||
<parameter type="gpointer" name="user_data" />
|
||||
|
@ -6059,7 +6059,7 @@
|
|||
<parameter type="GDBusMessage*" name="message" />
|
||||
<parameter type="GDBusSendMessageFlags" name="flags" />
|
||||
<parameter type="gint" name="timeout_msec" />
|
||||
<parameter type="volatile" name="guint32*" />
|
||||
<parameter type="guint32*" name="out_serial" />
|
||||
<parameter type="GCancellable*" name="cancellable" />
|
||||
<parameter type="GError**" name="error" />
|
||||
</parameters>
|
||||
|
@ -12687,7 +12687,7 @@
|
|||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="const-gchar*" name="error_domain_quark_name" />
|
||||
<parameter type="volatile" name="gsize*" />
|
||||
<parameter type="gsize*" name="quark_volatile" />
|
||||
<parameter type="const-GDBusErrorEntry*" name="entries" />
|
||||
<parameter type="guint" name="num_entries" />
|
||||
</parameters>
|
||||
|
|
|
@ -902,6 +902,7 @@ sub addParamsElem
|
|||
$parm =~ s/(\w+)\s+const\s*\*/const \1\*/g;
|
||||
$parm =~ s/const\s+/const-/g;
|
||||
$parm =~ s/unsigned\s+/unsigned-/g;
|
||||
$parm =~ s/\bvolatile\s+//g;
|
||||
if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) {
|
||||
my $ret = $1; my $cbn = $2; my $params = $3;
|
||||
my $type = $parent->getAttribute('name') . StudlyCaps($cbn);
|
||||
|
|
Loading…
Reference in a new issue