Skip to content

Commit

Permalink
Update GIR files
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Dec 16, 2024
1 parent 3c44e3e commit 01066bc
Show file tree
Hide file tree
Showing 5 changed files with 404 additions and 394 deletions.
15 changes: 9 additions & 6 deletions GLib-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -5709,12 +5709,14 @@ in the macro, so you shouldn't use double quotes.</doc>
</function-macro>
<constant name="DIR_SEPARATOR" value="47" c:type="G_DIR_SEPARATOR">
<doc xml:space="preserve">The directory separator character.
This is '/' on UNIX machines and '\' under Windows.</doc>

This is `'/'` on UNIX machines and `'\'` under Windows.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="DIR_SEPARATOR_S" value="/" c:type="G_DIR_SEPARATOR_S">
<doc xml:space="preserve">The directory separator as a string.
This is "/" on UNIX machines and "\" under Windows.</doc>

This is `"/"` on UNIX machines and `"\"` under Windows.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<record name="Data" c:type="GData" disguised="1" opaque="1">
Expand Down Expand Up @@ -12404,9 +12406,10 @@ in a generic way.</doc>
</member>
</enumeration>
<function-macro name="IS_DIR_SEPARATOR" c:identifier="G_IS_DIR_SEPARATOR" version="2.6" introspectable="0">
<doc xml:space="preserve">Checks whether a character is a directory
separator. It returns %TRUE for '/' on UNIX
machines and for '\' or '/' under Windows.</doc>
<doc xml:space="preserve">Checks whether a character is a directory separator.

It returns true for `'/'` on UNIX machines and for `'\'` or `'/'` under
Windows.</doc>
<parameters>
<parameter name="c">
<doc xml:space="preserve">a character</doc>
Expand Down Expand Up @@ -15256,7 +15259,7 @@ linked against at application run time.</doc>
<constant name="MAXUINT8" value="255" c:type="G_MAXUINT8">
<type name="guint8" c:type="guint8"/>
</constant>
<constant name="MICRO_VERSION" value="0" c:type="GLIB_MICRO_VERSION">
<constant name="MICRO_VERSION" value="2" c:type="GLIB_MICRO_VERSION">
<doc xml:space="preserve">The micro version number of the GLib library.

Like #gtk_micro_version, but from the headers used at
Expand Down
6 changes: 4 additions & 2 deletions GObject-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -8621,10 +8621,12 @@ See also: %G_PARAM_STATIC_STRINGS</doc>
<doc xml:space="preserve">alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE</doc>
</member>
<member name="construct" value="4" c:identifier="G_PARAM_CONSTRUCT">
<doc xml:space="preserve">the parameter will be set upon object construction</doc>
<doc xml:space="preserve">the parameter will be set upon object construction.
See [[email protected]] for more details</doc>
</member>
<member name="construct_only" value="8" c:identifier="G_PARAM_CONSTRUCT_ONLY">
<doc xml:space="preserve">the parameter can only be set upon object construction</doc>
<doc xml:space="preserve">the parameter can only be set upon object construction.
See [[email protected]] for more details</doc>
</member>
<member name="lax_validation" value="16" c:identifier="G_PARAM_LAX_VALIDATION">
<doc xml:space="preserve">upon parameter conversion (see g_param_value_convert())
Expand Down
19 changes: 12 additions & 7 deletions Gio-2.0.gir
Original file line number Diff line number Diff line change
Expand Up @@ -11868,7 +11868,7 @@ value of type %G_VARIANT_TYPE_HANDLE in the body of the message.</doc>
<doc xml:space="preserve">a #GDBusConnection</doc>
<type name="DBusConnection" c:type="GDBusConnection*"/>
</instance-parameter>
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<doc xml:space="preserve">return location for a #GUnixFDList or %NULL</doc>
<type name="UnixFDList" c:type="GUnixFDList**"/>
</parameter>
Expand Down Expand Up @@ -11934,7 +11934,7 @@ This method is only available on UNIX.</doc>
<doc xml:space="preserve">a #GUnixFDList or %NULL</doc>
<type name="UnixFDList" c:type="GUnixFDList*"/>
</parameter>
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<doc xml:space="preserve">return location for a #GUnixFDList or %NULL</doc>
<type name="UnixFDList" c:type="GUnixFDList**"/>
</parameter>
Expand Down Expand Up @@ -12441,7 +12441,12 @@ See this [server][gdbus-server] for an example of how to use this method.</doc>
</method>
<method name="register_object_with_closures" c:identifier="g_dbus_connection_register_object_with_closures" shadows="register_object" version="2.46" throws="1">
<doc xml:space="preserve">Version of g_dbus_connection_register_object() using closures instead of a
#GDBusInterfaceVTable for easier binding in other languages.</doc>
#GDBusInterfaceVTable for easier binding in other languages.

Note that the reference counting semantics of the function wrapped by
@method_call_closure are the same as those of
[[email protected]]: ownership of a reference to the
[[email protected]] is transferred to the function.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">0 if @error is set, otherwise a registration ID (never 0)
that can be used with g_dbus_connection_unregister_object() .</doc>
Expand Down Expand Up @@ -18693,7 +18698,7 @@ return values. Free with g_variant_unref().</doc>
<doc xml:space="preserve">A #GDBusProxy.</doc>
<type name="DBusProxy" c:type="GDBusProxy*"/>
</instance-parameter>
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<doc xml:space="preserve">Return location for a #GUnixFDList or %NULL.</doc>
<type name="UnixFDList" c:type="GUnixFDList**"/>
</parameter>
Expand Down Expand Up @@ -18739,7 +18744,7 @@ return values. Free with g_variant_unref().</doc>
<doc xml:space="preserve">A #GUnixFDList or %NULL.</doc>
<type name="UnixFDList" c:type="GUnixFDList*"/>
</parameter>
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<parameter name="out_fd_list" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1" optional="1" allow-none="1">
<doc xml:space="preserve">Return location for a #GUnixFDList or %NULL.</doc>
<type name="UnixFDList" c:type="GUnixFDList**"/>
</parameter>
Expand Down Expand Up @@ -85681,7 +85686,7 @@ implementation.

The client should return a reference to the new file that has been
created for @uri, or %NULL to continue with the default implementation.</doc>
<return-value transfer-ownership="full">
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a #GFile for @identifier.</doc>
<type name="File" c:type="GFile*"/>
</return-value>
Expand All @@ -85696,7 +85701,7 @@ created for @uri, or %NULL to continue with the default implementation.</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="2">
<doc xml:space="preserve">user data passed to the function</doc>
<doc xml:space="preserve">user data passed to the function, or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
Expand Down
Loading

0 comments on commit 01066bc

Please sign in to comment.