add javascriptcore

This commit is contained in:
Dirk Van Haerenborgh
2021-10-29 06:46:35 +02:00
parent 4981a508b6
commit 591f8ad714
34 changed files with 167292 additions and 234451 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
*.rnc
tmp.html

14034
Atk-1.0.gir

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

49668
GLib-2.0.gir

File diff suppressed because it is too large Load Diff

View File

@@ -24,19 +24,19 @@ It should only be accessed via the following functions.</doc>
<method name="close" c:identifier="g_module_close">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="176">Closes a module.</doc>
<source-position filename="gmodule.h" line="80"/>
line="185">Closes a module.</doc>
<source-position filename="gmodule.h" line="105"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="182">%TRUE on success</doc>
line="191">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="178">a #GModule to close</doc>
line="187">a #GModule to close</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
@@ -44,9 +44,9 @@ It should only be accessed via the following functions.</doc>
<method name="make_resident" c:identifier="g_module_make_resident">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="195">Ensures that a module will never be unloaded.
line="204">Ensures that a module will never be unloaded.
Any future g_module_close() calls on the module will be ignored.</doc>
<source-position filename="gmodule.h" line="84"/>
<source-position filename="gmodule.h" line="109"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -54,7 +54,7 @@ Any future g_module_close() calls on the module will be ignored.</doc>
<instance-parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="197">a #GModule to make permanently resident</doc>
line="206">a #GModule to make permanently resident</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
@@ -62,21 +62,21 @@ Any future g_module_close() calls on the module will be ignored.</doc>
<method name="name" c:identifier="g_module_name">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="204">Returns the filename that the module was opened with.
line="213">Returns the filename that the module was opened with.
If @module refers to the application itself, "main" is returned.</doc>
<source-position filename="gmodule.h" line="98"/>
<source-position filename="gmodule.h" line="123"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="212">the filename of the module</doc>
line="221">the filename of the module</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="206">a #GModule</doc>
line="215">a #GModule</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
@@ -84,26 +84,26 @@ If @module refers to the application itself, "main" is returned.</doc>
<method name="symbol" c:identifier="g_module_symbol">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="249">Gets a symbol pointer from a module, such as one exported
line="273">Gets a symbol pointer from a module, such as one exported
by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
<source-position filename="gmodule.h" line="92"/>
<source-position filename="gmodule.h" line="117"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="258">%TRUE on success</doc>
line="282">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="251">a #GModule</doc>
line="275">a #GModule</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
<parameter name="symbol_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="252">the name of the symbol to find</doc>
line="276">the name of the symbol to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="symbol"
@@ -113,7 +113,7 @@ by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
nullable="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="253">returns the pointer to the symbol value</doc>
line="277">returns the pointer to the symbol value</doc>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
</parameters>
@@ -121,7 +121,7 @@ by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
<function name="build_path" c:identifier="g_module_build_path">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="150">A portable way to build the filename of a module. The platform-specific
line="159">A portable way to build the filename of a module. The platform-specific
prefix and suffix are added to the filename, if needed, and the result
is added to the directory, using the correct separator character.
@@ -134,11 +134,11 @@ For example, calling g_module_build_path() on a Linux system with a
@directory of `/lib` and a @module_name of "mylibrary" will return
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
directory it will return `\Windows\mylibrary.dll`.</doc>
<source-position filename="gmodule.h" line="112"/>
<source-position filename="gmodule.h" line="137"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="171">the complete path of the module, including the standard library
line="180">the complete path of the module, including the standard library
prefix and suffix. This should be freed when no longer needed</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
@@ -149,7 +149,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="152">the directory where the module is. This can be
line="161">the directory where the module is. This can be
%NULL or the empty string to indicate that the standard platform-specific
directories will be used, though that is not recommended</doc>
<type name="utf8" c:type="const gchar*"/>
@@ -157,7 +157,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
<parameter name="module_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="155">the name of the module</doc>
line="164">the name of the module</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
@@ -165,35 +165,29 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
<function name="error" c:identifier="g_module_error">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="186">Gets a string describing the last module error.</doc>
<source-position filename="gmodule.h" line="88"/>
line="195">Gets a string describing the last module error.</doc>
<source-position filename="gmodule.h" line="113"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="191">a string describing the last module error</doc>
line="200">a string describing the last module error</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
</function>
<function name="error_quark" c:identifier="g_module_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="open" c:identifier="g_module_open" introspectable="0">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="216">Opens a module. If the module has already been opened,
its reference count is incremented.
First of all g_module_open() tries to open @file_name as a module.
If that fails and @file_name has the ".la"-suffix (and is a libtool
archive) it tries to open the corresponding module. If that fails
and it doesn't have the proper module suffix for the platform
(#G_MODULE_SUFFIX), this suffix will be appended and the corresponding
module will be opened. If that fails and @file_name doesn't have the
".la"-suffix, this suffix is appended and g_module_open() tries to open
the corresponding module. If eventually that fails as well, %NULL is
returned.</doc>
<source-position filename="gmodule.h" line="75"/>
line="225">A thin wrapper function around g_module_open_full()</doc>
<source-position filename="gmodule.h" line="95"/>
<return-value>
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="236">a #GModule on success, or %NULL on failure</doc>
line="234">a #GModule on success, or %NULL on failure</doc>
<type name="Module" c:type="GModule*"/>
</return-value>
<parameters>
@@ -203,14 +197,60 @@ returned.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="218">the name of the file containing the module, or %NULL
line="227">the name of the file containing the module, or %NULL
to obtain a #GModule representing the main program itself</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="220">the flags used for opening the module. This can be the
line="229">the flags used for opening the module. This can be the
logical OR of any of the #GModuleFlags.</doc>
<type name="ModuleFlags" c:type="GModuleFlags"/>
</parameter>
</parameters>
</function>
<function name="open_full"
c:identifier="g_module_open_full"
version="2.70"
introspectable="0"
throws="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="238">Opens a module. If the module has already been opened,
its reference count is incremented.
First of all g_module_open_full() tries to open @file_name as a module.
If that fails and @file_name has the ".la"-suffix (and is a libtool
archive) it tries to open the corresponding module. If that fails
and it doesn't have the proper module suffix for the platform
(#G_MODULE_SUFFIX), this suffix will be appended and the corresponding
module will be opened. If that fails and @file_name doesn't have the
".la"-suffix, this suffix is appended and g_module_open_full() tries to open
the corresponding module. If eventually that fails as well, %NULL is
returned.</doc>
<source-position filename="gmodule.h" line="99"/>
<return-value>
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="259">a #GModule on success, or %NULL on failure</doc>
<type name="Module" c:type="GModule*"/>
</return-value>
<parameters>
<parameter name="file_name"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="240">the name of the file containing the module, or %NULL
to obtain a #GModule representing the main program itself</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="242">the flags used for opening the module. This can be the
logical OR of any of the #GModuleFlags</doc>
<type name="ModuleFlags" c:type="GModuleFlags"/>
</parameter>
@@ -219,12 +259,12 @@ returned.</doc>
<function name="supported" c:identifier="g_module_supported">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="240">Checks if modules are supported on the current platform.</doc>
<source-position filename="gmodule.h" line="71"/>
line="264">Checks if modules are supported on the current platform.</doc>
<source-position filename="gmodule.h" line="91"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="245">%TRUE if modules are supported</doc>
line="269">%TRUE if modules are supported</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
@@ -253,6 +293,27 @@ error.</doc>
</parameter>
</parameters>
</callback>
<enumeration name="ModuleError"
version="2.70"
c:type="GModuleError"
glib:error-domain="g-module-error-quark">
<doc xml:space="preserve"
filename="gmodule.h"
line="73">Errors returned by g_module_open_full().</doc>
<source-position filename="gmodule.h" line="86"/>
<member name="failed" value="0" c:identifier="G_MODULE_ERROR_FAILED">
<doc xml:space="preserve"
filename="gmodule.h"
line="75">there was an error loading or opening a module file</doc>
</member>
<member name="check_failed"
value="1"
c:identifier="G_MODULE_ERROR_CHECK_FAILED">
<doc xml:space="preserve"
filename="gmodule.h"
line="76">a module returned an error from its `g_module_check_init()` function</doc>
</member>
</enumeration>
<bitfield name="ModuleFlags" c:type="GModuleFlags">
<doc xml:space="preserve"
filename="gmodule.h"
@@ -305,7 +366,7 @@ It is passed the #GModule structure.</doc>
moved-to="Module.build_path">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="150">A portable way to build the filename of a module. The platform-specific
line="159">A portable way to build the filename of a module. The platform-specific
prefix and suffix are added to the filename, if needed, and the result
is added to the directory, using the correct separator character.
@@ -318,11 +379,11 @@ For example, calling g_module_build_path() on a Linux system with a
@directory of `/lib` and a @module_name of "mylibrary" will return
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
directory it will return `\Windows\mylibrary.dll`.</doc>
<source-position filename="gmodule.h" line="112"/>
<source-position filename="gmodule.h" line="137"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="171">the complete path of the module, including the standard library
line="180">the complete path of the module, including the standard library
prefix and suffix. This should be freed when no longer needed</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
@@ -333,7 +394,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="152">the directory where the module is. This can be
line="161">the directory where the module is. This can be
%NULL or the empty string to indicate that the standard platform-specific
directories will be used, though that is not recommended</doc>
<type name="utf8" c:type="const gchar*"/>
@@ -341,7 +402,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
<parameter name="module_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="155">the name of the module</doc>
line="164">the name of the module</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
@@ -351,33 +412,40 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
moved-to="Module.error">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="186">Gets a string describing the last module error.</doc>
<source-position filename="gmodule.h" line="88"/>
line="195">Gets a string describing the last module error.</doc>
<source-position filename="gmodule.h" line="113"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="191">a string describing the last module error</doc>
line="200">a string describing the last module error</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
</function>
<function name="module_error_quark"
c:identifier="g_module_error_quark"
moved-to="Module.error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="module_supported"
c:identifier="g_module_supported"
moved-to="Module.supported">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="240">Checks if modules are supported on the current platform.</doc>
<source-position filename="gmodule.h" line="71"/>
line="264">Checks if modules are supported on the current platform.</doc>
<source-position filename="gmodule.h" line="91"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="245">%TRUE if modules are supported</doc>
line="269">%TRUE if modules are supported</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<docsection name="modules">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="70">These functions provide a portable way to dynamically load object files
line="79">These functions provide a portable way to dynamically load object files
(commonly known as 'plug-ins'). The current implementation supports all
systems that provide an implementation of dlopen() (e.g. Linux/Sun), as
well as Windows platforms via DLLs.

File diff suppressed because it is too large Load Diff

22729
Gdk-3.0.gir

File diff suppressed because it is too large Load Diff

19031
Gdk-4.0.gir

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -25,63 +25,78 @@ and/or use gtk-doc annotations. -->
</constant>
<constant name="PIXDATA_HEADER_LENGTH"
value="24"
c:type="GDK_PIXDATA_HEADER_LENGTH">
c:type="GDK_PIXDATA_HEADER_LENGTH"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="98">The length of a #GdkPixdata structure without the @pixel_data pointer.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="103"/>
line="83">The length of a #GdkPixdata structure without the @pixel_data pointer.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="90"/>
<type name="gint" c:type="gint"/>
</constant>
<record name="Pixdata" c:type="GdkPixdata">
<record name="Pixdata"
c:type="GdkPixdata"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="67">A #GdkPixdata contains pixbuf information in a form suitable for
serialization and streaming.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="96"/>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="25">A pixel buffer suitable for serialization and streaming.
Using `GdkPixdata`, images can be compiled into an application,
making it unnecessary to refer to external image files at runtime.
`GdkPixbuf` includes a utility named `gdk-pixbuf-csource`, which
can be used to convert image files into `GdkPixdata` structures suitable
for inclusion in C sources. To convert the `GdkPixdata` structures back
into a `GdkPixbuf`, use `gdk_pixbuf_from_pixdata()`.</doc>
<doc-deprecated xml:space="preserve">`GdkPixdata` should not be used any more. `GResource`
should be used to save the original compressed images inside the
program's binary</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="81"/>
<field name="magic" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="69">magic number. A valid #GdkPixdata structure must have
#GDK_PIXBUF_MAGIC_NUMBER here.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="27">magic number. A valid `GdkPixdata` structure must have
`GDK_PIXBUF_MAGIC_NUMBER` here</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="length" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="71">less than 1 to disable length checks, otherwise
#GDK_PIXDATA_HEADER_LENGTH + length of @pixel_data.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="29">less than 1 to disable length checks, otherwise
`GDK_PIXDATA_HEADER_LENGTH` plus the length of `pixel_data`</doc>
<type name="gint32" c:type="gint32"/>
</field>
<field name="pixdata_type" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="73">information about colorspace, sample width and
encoding, in a #GdkPixdataType.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="31">information about colorspace, sample width and
encoding, in a `GdkPixdataType`</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="rowstride" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="75">Distance in bytes between rows.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="33">Distance in bytes between rows</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="width" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="76">Width of the image in pixels.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="34">Width of the image in pixels</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="height" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="77">Height of the image in pixels.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="35">Height of the image in pixels</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="pixel_data" writable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="78">@width x @height pixels, encoded according to @pixdata_type
and @rowstride.</doc>
filename="../gdk-pixbuf/gdk-pixdata.c"
line="36">`width` x `height`
pixels, encoded according to `pixdata_type` and `rowstride`</doc>
<array zero-terminated="0" c:type="guint8*">
<type name="guint8"/>
</array>
@@ -93,39 +108,43 @@ serialization and streaming.</doc>
throws="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="186">Deserializes (reconstruct) a #GdkPixdata structure from a byte stream.
line="199">Deserializes (reconstruct) a #GdkPixdata structure from a byte stream.
The byte stream consists of a straightforward writeout of the
#GdkPixdata fields in network byte order, plus the @pixel_data
`GdkPixdata` fields in network byte order, plus the `pixel_data`
bytes the structure points to.
The @pixdata contents are reconstructed byte by byte and are checked
for validity. This function may fail with %GDK_PIXBUF_ERROR_CORRUPT_IMAGE
or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="110"/>
The `pixdata` contents are reconstructed byte by byte and are checked
for validity.
This function may fail with `GDK_PIXBUF_ERROR_CORRUPT_IMAGE`
or `GDK_PIXBUF_ERROR_UNKNOWN_TYPE`.</doc>
<doc-deprecated xml:space="preserve">Use `GResource` instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="97"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="202">Upon successful deserialization %TRUE is returned,
%FALSE otherwise.</doc>
line="219">Upon successful deserialization `TRUE` is returned,
`FALSE` otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="188">a #GdkPixdata structure to be filled in.</doc>
line="201">a #GdkPixdata structure to be filled in.</doc>
<type name="Pixdata" c:type="GdkPixdata*"/>
</instance-parameter>
<parameter name="stream_length" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="189">length of the stream used for deserialization.</doc>
line="202">length of the stream used for deserialization.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="190">stream of bytes containing a
line="203">stream of bytes containing a
serialized #GdkPixdata structure.</doc>
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
@@ -140,36 +159,39 @@ or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="321">Converts a #GdkPixbuf to a #GdkPixdata. If @use_rle is %TRUE, the
pixel data is run-length encoded into newly-allocated memory and a
pointer to that memory is returned.</doc>
line="338">Converts a `GdkPixbuf` to a `GdkPixdata`.
If `use_rle` is `TRUE`, the pixel data is run-length encoded into
newly-allocated memory and a pointer to that memory is returned.</doc>
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="115"/>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="102"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="331">If @use_rle is %TRUE, a pointer to the
newly-allocated memory for the run-length encoded pixel data,
otherwise %NULL.</doc>
<type name="gpointer" c:type="gpointer"/>
line="349">If `use_rle` is
`TRUE`, a pointer to the newly-allocated memory for the run-length
encoded pixel data, otherwise `NULL`.</doc>
<array zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="323">a #GdkPixdata to fill.</doc>
line="340">a `GdkPixdata` to fill.</doc>
<type name="Pixdata" c:type="GdkPixdata*"/>
</instance-parameter>
<parameter name="pixbuf" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="324">the data to fill @pixdata with.</doc>
line="341">the data to fill `pixdata` with.</doc>
<type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
</parameter>
<parameter name="use_rle" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="325">whether to use run-length encoding for the pixel data.</doc>
line="342">whether to use run-length encoding for the pixel data.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
@@ -180,16 +202,16 @@ pointer to that memory is returned.</doc>
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="97">Serializes a #GdkPixdata structure into a byte stream.
line="110">Serializes a #GdkPixdata structure into a byte stream.
The byte stream consists of a straightforward writeout of the
#GdkPixdata fields in network byte order, plus the @pixel_data
bytes the structure points to.</doc>
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="107"/>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="94"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="107">A
line="120">A
newly-allocated string containing the serialized #GdkPixdata
structure.</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
@@ -200,7 +222,7 @@ structure.</doc>
<instance-parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="99">a valid #GdkPixdata structure to serialize.</doc>
line="112">a valid #GdkPixdata structure to serialize.</doc>
<type name="Pixdata" c:type="const GdkPixdata*"/>
</instance-parameter>
<parameter name="stream_length_p"
@@ -209,7 +231,7 @@ structure.</doc>
transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="100">location to store the resulting stream length in.</doc>
line="113">location to store the resulting stream length in.</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
@@ -220,60 +242,61 @@ structure.</doc>
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="690">Generates C source code suitable for compiling images directly
line="711">Generates C source code suitable for compiling images directly
into programs.
gdk-pixbuf ships with a program called
[gdk-pixbuf-csource][gdk-pixbuf-csource], which offers a command
line interface to this function.</doc>
GdkPixbuf ships with a program called `gdk-pixbuf-csource`, which offers
a command line interface to this function.</doc>
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="167"/>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="156"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="704">a newly-allocated string containing the C source form
of @pixdata.</doc>
line="723">a newly-allocated string buffer containing
the C source form of `pixdata`.</doc>
<type name="GLib.String" c:type="GString*"/>
</return-value>
<parameters>
<instance-parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="692">a #GdkPixdata to convert to C source.</doc>
line="713">a `GdkPixdata` to convert to C source</doc>
<type name="Pixdata" c:type="GdkPixdata*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="693">used for naming generated data structures or macros.</doc>
line="714">used for naming generated data structures or macros</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dump_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="694">a #GdkPixdataDumpType determining the kind of C
source to be generated.</doc>
line="715">the kind of C source to be generated</doc>
<type name="PixdataDumpType" c:type="GdkPixdataDumpType"/>
</parameter>
</parameters>
</method>
</record>
<bitfield name="PixdataDumpType" c:type="GdkPixdataDumpType">
<bitfield name="PixdataDumpType"
deprecated="1"
deprecated-version="2.32"
c:type="GdkPixdataDumpType">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="122">An enumeration which is used by gdk_pixdata_to_csource() to
line="109">An enumeration which is used by gdk_pixdata_to_csource() to
determine the form of C source to be generated. The three values
@GDK_PIXDATA_DUMP_PIXDATA_STREAM, @GDK_PIXDATA_DUMP_PIXDATA_STRUCT
and @GDK_PIXDATA_DUMP_MACROS are mutually exclusive, as are
@GDK_PIXBUF_DUMP_GTYPES and @GDK_PIXBUF_DUMP_CTYPES. The remaining
elements are optional flags that can be freely added.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="163"/>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="152"/>
<member name="pixdata_stream"
value="0"
c:identifier="GDK_PIXDATA_DUMP_PIXDATA_STREAM">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="124">Generate pixbuf data stream (a single
line="111">Generate pixbuf data stream (a single
string containing a serialized #GdkPixdata structure in network byte
order).</doc>
</member>
@@ -282,13 +305,13 @@ elements are optional flags that can be freely added.</doc>
c:identifier="GDK_PIXDATA_DUMP_PIXDATA_STRUCT">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="127">Generate #GdkPixdata structure (needs
line="114">Generate #GdkPixdata structure (needs
the #GdkPixdata structure definition from gdk-pixdata.h).</doc>
</member>
<member name="macros" value="2" c:identifier="GDK_PIXDATA_DUMP_MACROS">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="129">Generate &lt;function&gt;*_ROWSTRIDE&lt;/function&gt;,
line="116">Generate &lt;function&gt;*_ROWSTRIDE&lt;/function&gt;,
&lt;function&gt;*_WIDTH&lt;/function&gt;, &lt;function&gt;*_HEIGHT&lt;/function&gt;,
&lt;function&gt;*_BYTES_PER_PIXEL&lt;/function&gt; and
&lt;function&gt;*_RLE_PIXEL_DATA&lt;/function&gt; or &lt;function&gt;*_PIXEL_DATA&lt;/function&gt;
@@ -297,41 +320,44 @@ elements are optional flags that can be freely added.</doc>
<member name="gtypes" value="0" c:identifier="GDK_PIXDATA_DUMP_GTYPES">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="134">Generate GLib data types instead of
line="121">Generate GLib data types instead of
standard C data types.</doc>
</member>
<member name="ctypes" value="256" c:identifier="GDK_PIXDATA_DUMP_CTYPES">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="136">Generate standard C data types instead of
line="123">Generate standard C data types instead of
GLib data types.</doc>
</member>
<member name="static" value="512" c:identifier="GDK_PIXDATA_DUMP_STATIC">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="138">Generate static symbols.</doc>
line="125">Generate static symbols.</doc>
</member>
<member name="const" value="1024" c:identifier="GDK_PIXDATA_DUMP_CONST">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="139">Generate const symbols.</doc>
line="126">Generate const symbols.</doc>
</member>
<member name="rle_decoder"
value="65536"
c:identifier="GDK_PIXDATA_DUMP_RLE_DECODER">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="140">Provide a &lt;function&gt;*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)&lt;/function&gt;
line="127">Provide a &lt;function&gt;*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)&lt;/function&gt;
macro definition to decode run-length encoded image data.</doc>
</member>
</bitfield>
<bitfield name="PixdataType" c:type="GdkPixdataType">
<bitfield name="PixdataType"
deprecated="1"
deprecated-version="2.32"
c:type="GdkPixdataType">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="32">An enumeration containing three sets of flags for a #GdkPixdata struct:
one for the used colorspace, one for the width of the samples and one
for the encoding of the pixel data.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="65"/>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="67"/>
<member name="color_type_rgb"
value="1"
c:identifier="GDK_PIXDATA_COLOR_TYPE_RGB">
@@ -394,19 +420,6 @@ for the encoding of the pixel data.</doc>
line="46">mask for the encoding flags of the enum.</doc>
</member>
</bitfield>
<docsection name="inline">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="25">Using #GdkPixdata, images can be compiled into an application,
making it unnecessary to refer to external image files at runtime.
GdkPixBuf includes a utility named gdk-pixbuf-csource, which
can be used to convert image files into #GdkPixdata structures suitable
for inclusion in C sources. To convert the #GdkPixdata structures back
into #GdkPixbufs, use gdk_pixbuf_from_pixdata.
#GdkPixdata should not be used any more. #GResource should be used to save
the original compressed images inside the program's binary.</doc>
</docsection>
<function name="pixbuf_from_pixdata"
c:identifier="gdk_pixbuf_from_pixdata"
deprecated="1"
@@ -414,29 +427,31 @@ the original compressed images inside the program's binary.</doc>
throws="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="420">Converts a #GdkPixdata to a #GdkPixbuf. If @copy_pixels is %TRUE or
if the pixel data is run-length-encoded, the pixel data is copied into
newly-allocated memory; otherwise it is reused.</doc>
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="119"/>
line="438">Converts a `GdkPixdata` to a `GdkPixbuf`.
If `copy_pixels` is `TRUE` or if the pixel data is run-length-encoded,
the pixel data is copied into newly-allocated memory; otherwise it is
reused.</doc>
<doc-deprecated xml:space="preserve">Use `GResource` instead.</doc-deprecated>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="106"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="431">a new #GdkPixbuf.</doc>
line="451">a new pixbuf</doc>
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
</return-value>
<parameters>
<parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="422">a #GdkPixdata to convert into a #GdkPixbuf.</doc>
line="440">a #GdkPixdata to convert into a `GdkPixbuf`.</doc>
<type name="Pixdata" c:type="const GdkPixdata*"/>
</parameter>
<parameter name="copy_pixels" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="423">whether to copy raw pixel data; run-length encoded
pixel data is always copied.</doc>
line="441">whether to copy raw pixel data; run-length encoded
pixel data is always copied.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>

View File

@@ -8,147 +8,170 @@ and/or use gtk-doc annotations. -->
<c:include name="gdk/wayland/gdkwayland.h"/>
<namespace name="GdkWayland" version="4.0" shared-library="libgtk-4.so.1" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
<function-macro name="IS_WAYLAND_DEVICE" c:identifier="GDK_IS_WAYLAND_DEVICE" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="42"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_DEVICE_CLASS" c:identifier="GDK_IS_WAYLAND_DEVICE_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="43"/>
<parameters>
<parameter name="c">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_DISPLAY" c:identifier="GDK_IS_WAYLAND_DISPLAY" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="41"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_DISPLAY_CLASS" c:identifier="GDK_IS_WAYLAND_DISPLAY_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="42"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_MONITOR" c:identifier="GDK_IS_WAYLAND_MONITOR" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="35"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_POPUP" c:identifier="GDK_IS_WAYLAND_POPUP" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="51"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_SEAT" c:identifier="GDK_IS_WAYLAND_SEAT" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="41"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_SURFACE" c:identifier="GDK_IS_WAYLAND_SURFACE" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="43"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WAYLAND_TOPLEVEL" c:identifier="GDK_IS_WAYLAND_TOPLEVEL" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="47"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DEVICE" c:identifier="GDK_WAYLAND_DEVICE" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="40"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DEVICE_CLASS" c:identifier="GDK_WAYLAND_DEVICE_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="41"/>
<parameters>
<parameter name="c">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DEVICE_GET_CLASS" c:identifier="GDK_WAYLAND_DEVICE_GET_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="44"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DISPLAY" c:identifier="GDK_WAYLAND_DISPLAY" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="39"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DISPLAY_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="40"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_DISPLAY_GET_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_GET_CLASS" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="43"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_GL_CONTEXT" c:identifier="GDK_WAYLAND_GL_CONTEXT" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="34"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_IS_GL_CONTEXT" c:identifier="GDK_WAYLAND_IS_GL_CONTEXT" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_MONITOR" c:identifier="GDK_WAYLAND_MONITOR" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="34"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_POPUP" c:identifier="GDK_WAYLAND_POPUP" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="50"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_SEAT" c:identifier="GDK_WAYLAND_SEAT" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="40"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_SURFACE" c:identifier="GDK_WAYLAND_SURFACE" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="42"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WAYLAND_TOPLEVEL" c:identifier="GDK_WAYLAND_TOPLEVEL" introspectable="0">
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="46"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<class name="WaylandDevice" c:symbol-prefix="wayland_device" c:type="GdkWaylandDevice" parent="Gdk.Device" glib:type-name="GdkWaylandDevice" glib:get-type="gdk_wayland_device_get_type" glib:type-struct="WaylandDeviceClass">
<doc xml:space="preserve">The Wayland implementation of `GdkDevice`.
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="57">The Wayland implementation of `GdkDevice`.
Beyond the regular [class@Gdk.Device] API, the Wayland implementation
provides access to Wayland objects such as the `wl_seat` with
[method@GdkWayland.WaylandDevice.get_wl_seat], the `wl_keyboard` with
[method@GdkWayland.WaylandDevice.get_wl_keyboard] and the `wl_pointer` with
[method@GdkWayland.WaylandDevice.get_wl_pointer].</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="37"/>
<method name="get_node_path" c:identifier="gdk_wayland_device_get_node_path">
<doc xml:space="preserve">Returns the `/dev/input/event*` path of this device.
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5240">Returns the `/dev/input/event*` path of this device.
For `GdkDevice`s that possibly coalesce multiple hardware
devices (eg. mouse, keyboard, touch,...), this function
@@ -156,74 +179,81 @@ will return %NULL.
This is most notably implemented for devices of type
%GDK_SOURCE_PEN, %GDK_SOURCE_TABLET_PAD.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="59"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the `/dev/input/event*`
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5253">the `/dev/input/event*`
path of this device</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDevice`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5242">a `GdkDevice`</doc>
<type name="WaylandDevice" c:type="GdkDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_wl_keyboard" c:identifier="gdk_wayland_device_get_wl_keyboard" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_keyboard` of a `GdkDevice`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1023">Returns the Wayland `wl_keyboard` of a `GdkDevice`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="54"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_keyboard`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1029">a Wayland `wl_keyboard`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDevice`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1025">a `GdkDevice`</doc>
<type name="WaylandDevice" c:type="GdkDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_wl_pointer" c:identifier="gdk_wayland_device_get_wl_pointer" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_pointer` of a `GdkDevice`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1004">Returns the Wayland `wl_pointer` of a `GdkDevice`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="52"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_pointer`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1010">a Wayland `wl_pointer`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDevice`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1006">a `GdkDevice`</doc>
<type name="WaylandDevice" c:type="GdkDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_wl_seat" c:identifier="gdk_wayland_device_get_wl_seat" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_seat` of a `GdkDevice`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="985">Returns the Wayland `wl_seat` of a `GdkDevice`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="50"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_seat`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="991">a Wayland `wl_seat`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDevice`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="987">a `GdkDevice`</doc>
<type name="WaylandDevice" c:type="GdkDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xkb_keymap" c:identifier="gdk_wayland_device_get_xkb_keymap" version="4.4">
<doc xml:space="preserve">Returns the `xkb_keymap` of a `GdkDevice`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1042">Returns the `xkb_keymap` of a `GdkDevice`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="56"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a `struct xkb_keymap`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1048">a `struct xkb_keymap`</doc>
<type name="gpointer" c:type="xkb_keymap*"/>
</return-value>
<parameters>
<instance-parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDevice`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1044">a `GdkDevice`</doc>
<type name="WaylandDevice" c:type="GdkDevice*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="WaylandDeviceClass" c:type="GdkWaylandDeviceClass" disguised="1" glib:is-gtype-struct-for="WaylandDevice"/>
<record name="WaylandDeviceClass" c:type="GdkWaylandDeviceClass" disguised="1" glib:is-gtype-struct-for="WaylandDevice">
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="37"/>
</record>
<class name="WaylandDisplay" c:symbol-prefix="wayland_display" c:type="GdkWaylandDisplay" parent="Gdk.Display" glib:type-name="GdkWaylandDisplay" glib:get-type="gdk_wayland_display_get_type" glib:type-struct="WaylandDisplayClass">
<doc xml:space="preserve">The Wayland implementation of `GdkDisplay`.
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="74">The Wayland implementation of `GdkDisplay`.
Beyond the regular [class@Gdk.Display] API, the Wayland implementation
provides access to Wayland objects such as the `wl_display` with
@@ -232,99 +262,106 @@ provides access to Wayland objects such as the `wl_display` with
You can find out what Wayland globals are supported by a display
with [method@GdkWayland.WaylandDisplay.query_registry].</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="36"/>
<method name="get_egl_display" c:identifier="gdk_wayland_display_get_egl_display" version="4.4">
<doc xml:space="preserve">Retrieves the EGL display connection object for the given GDK display.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="367">Retrieves the EGL display connection object for the given GDK display.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="67"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the EGL display</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="373">the EGL display</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a Wayland display</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="369">a Wayland display</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_startup_notification_id" c:identifier="gdk_wayland_display_get_startup_notification_id">
<doc xml:space="preserve">Gets the startup notification ID for a Wayland display, or %NULL
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="814">Gets the startup notification ID for a Wayland display, or %NULL
if no ID has been defined.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="57"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the startup notification ID for @display</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="821">the startup notification ID for @display</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="816">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_wl_compositor" c:identifier="gdk_wayland_display_get_wl_compositor" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_compositor` of a `GdkDisplay`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1156">Returns the Wayland `wl_compositor` of a `GdkDisplay`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="51"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_compositor`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1162">a Wayland `wl_compositor`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1158">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_wl_display" c:identifier="gdk_wayland_display_get_wl_display" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_display` of a `GdkDisplay`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1140">Returns the Wayland `wl_display` of a `GdkDisplay`.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="49"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_display`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1146">a Wayland `wl_display`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1142">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="query_registry" c:identifier="gdk_wayland_display_query_registry">
<doc xml:space="preserve">Returns %TRUE if the the interface was found in the display
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2622">Returns %TRUE if the the interface was found in the display
`wl_registry.global` handler.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="63"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the global is offered by the compositor</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2630">%TRUE if the global is offered by the compositor</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2624">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="global" transfer-ownership="none">
<doc xml:space="preserve">global interface to query in the registry</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2625">global interface to query in the registry</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="set_cursor_theme" c:identifier="gdk_wayland_display_set_cursor_theme">
<doc xml:space="preserve">Sets the cursor theme for the given @display.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1043">Sets the cursor theme for the given @display.</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1045">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the new cursor theme</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1046">the new cursor theme</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve">the size to use for cursors</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1047">the size to use for cursors</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="set_startup_notification_id" c:identifier="gdk_wayland_display_set_startup_notification_id">
<doc xml:space="preserve">Sets the startup notification ID for a display.
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="829">Sets the startup notification ID for a display.
This is usually taken from the value of the `DESKTOP_STARTUP_ID`
environment variable, but in some cases (such as the application not
@@ -333,94 +370,109 @@ being launched using exec()) it can come from other sources.
The startup ID is also what is used to signal that the startup is
complete (for example, when opening a window or when calling
[method@Gdk.Display.notify_startup_complete]).</doc>
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="59"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="831">a `GdkDisplay`</doc>
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="startup_id" transfer-ownership="none">
<doc xml:space="preserve">the startup notification ID (must be valid utf8)</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="832">the startup notification ID (must be valid utf8)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
</class>
<record name="WaylandDisplayClass" c:type="GdkWaylandDisplayClass" disguised="1" glib:is-gtype-struct-for="WaylandDisplay"/>
<record name="WaylandDisplayClass" c:type="GdkWaylandDisplayClass" disguised="1" glib:is-gtype-struct-for="WaylandDisplay">
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="36"/>
</record>
<class name="WaylandGLContext" c:symbol-prefix="wayland_gl_context" c:type="GdkWaylandGLContext" parent="Gdk.GLContext" glib:type-name="GdkWaylandGLContext" glib:get-type="gdk_wayland_gl_context_get_type" glib:type-struct="WaylandGLContextClass">
<doc xml:space="preserve">The Wayland implementation of `GdkGLContext`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="40">The Wayland implementation of `GdkGLContext`.</doc>
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="38"/>
</class>
<record name="WaylandGLContextClass" c:type="GdkWaylandGLContextClass" disguised="1" glib:is-gtype-struct-for="WaylandGLContext"/>
<record name="WaylandGLContextClass" c:type="GdkWaylandGLContextClass" disguised="1" glib:is-gtype-struct-for="WaylandGLContext">
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="38"/>
</record>
<class name="WaylandMonitor" c:symbol-prefix="wayland_monitor" c:type="GdkWaylandMonitor" parent="Gdk.Monitor" glib:type-name="GdkWaylandMonitor" glib:get-type="gdk_wayland_monitor_get_type" glib:type-struct="WaylandMonitorClass">
<doc xml:space="preserve">The Wayland implementation of `GdkMonitor`.
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="26">The Wayland implementation of `GdkMonitor`.
Beyond the [class@Gdk.Monitor] API, the Wayland implementation
offers access to the Wayland `wl_output` object with
[method@GdkWayland.WaylandMonitor.get_wl_output].</doc>
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="38"/>
<method name="get_wl_output" c:identifier="gdk_wayland_monitor_get_wl_output" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_output` of a `GdkMonitor`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="61">Returns the Wayland `wl_output` of a `GdkMonitor`.</doc>
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="44"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_output`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="67">a Wayland `wl_output`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="monitor" transfer-ownership="none">
<doc xml:space="preserve">a `GdkMonitor`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="63">a `GdkMonitor`</doc>
<type name="WaylandMonitor" c:type="GdkMonitor*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="WaylandMonitorClass" c:type="GdkWaylandMonitorClass" disguised="1" glib:is-gtype-struct-for="WaylandMonitor"/>
<record name="WaylandMonitorClass" c:type="GdkWaylandMonitorClass" disguised="1" glib:is-gtype-struct-for="WaylandMonitor">
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="38"/>
</record>
<class name="WaylandPopup" c:symbol-prefix="wayland_popup" c:type="GdkWaylandPopup" parent="WaylandSurface" glib:type-name="GdkWaylandPopup" glib:get-type="gdk_wayland_popup_get_type">
<doc xml:space="preserve">The Wayland implementation of `GdkPopup`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="67">The Wayland implementation of `GdkPopup`.</doc>
<implements name="Gdk.Popup"/>
</class>
<class name="WaylandSeat" c:symbol-prefix="wayland_seat" c:type="GdkWaylandSeat" parent="Gdk.Seat" glib:type-name="GdkWaylandSeat" glib:get-type="gdk_wayland_seat_get_type" glib:type-struct="WaylandSeatClass">
<doc xml:space="preserve">The Wayland implementation of `GdkSeat`.
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="69">The Wayland implementation of `GdkSeat`.
Beyond the regular [class@Gdk.Seat] API, the Wayland implementation
provides access to the Wayland `wl_seat` object with
[method@GdkWayland.WaylandSeat.get_wl_seat].</doc>
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="37"/>
<method name="get_wl_seat" c:identifier="gdk_wayland_seat_get_wl_seat" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_seat` of a `GdkSeat`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5224">Returns the Wayland `wl_seat` of a `GdkSeat`.</doc>
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="47"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_seat`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5230">a Wayland `wl_seat`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="seat" transfer-ownership="none">
<doc xml:space="preserve">a `GdkSeat`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5226">a `GdkSeat`</doc>
<type name="WaylandSeat" c:type="GdkSeat*"/>
</instance-parameter>
</parameters>
</method>
</class>
<record name="WaylandSeatClass" c:type="GdkWaylandSeatClass" disguised="1" glib:is-gtype-struct-for="WaylandSeat"/>
<record name="WaylandSeatClass" c:type="GdkWaylandSeatClass" disguised="1" glib:is-gtype-struct-for="WaylandSeat">
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="37"/>
</record>
<class name="WaylandSurface" c:symbol-prefix="wayland_surface" c:type="GdkWaylandSurface" parent="Gdk.Surface" glib:type-name="GdkWaylandSurface" glib:get-type="gdk_wayland_surface_get_type">
<doc xml:space="preserve">The Wayland implementation of `GdkSurface`.
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="46">The Wayland implementation of `GdkSurface`.
Beyond the [class@Gdk.Surface] API, the Wayland implementation offers
access to the Wayland `wl_surface` object with
[method@GdkWayland.WaylandSurface.get_wl_surface].</doc>
<method name="get_wl_surface" c:identifier="gdk_wayland_surface_get_wl_surface" introspectable="0">
<doc xml:space="preserve">Returns the Wayland `wl_surface` of a `GdkSurface`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4302">Returns the Wayland `wl_surface` of a `GdkSurface`.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="63"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a Wayland `wl_surface`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4308">a Wayland `wl_surface`</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a `GdkSurface`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4304">a `GdkSurface`</doc>
<type name="WaylandSurface" c:type="GdkSurface*"/>
</instance-parameter>
</parameters>
</method>
</class>
<class name="WaylandToplevel" c:symbol-prefix="wayland_toplevel" c:type="GdkWaylandToplevel" parent="WaylandSurface" glib:type-name="GdkWaylandToplevel" glib:get-type="gdk_wayland_toplevel_get_type">
<doc xml:space="preserve">The Wayland implementation of `GdkToplevel`.
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="56">The Wayland implementation of `GdkToplevel`.
Beyond the [iface@Gdk.Toplevel] API, the Wayland implementation
has API to set up cross-process parent-child relationships between
@@ -428,7 +480,7 @@ surfaces with [method@GdkWayland.WaylandToplevel.export_handle] and
[method@GdkWayland.WaylandToplevel.set_transient_for_exported].</doc>
<implements name="Gdk.Toplevel"/>
<method name="export_handle" c:identifier="gdk_wayland_toplevel_export_handle">
<doc xml:space="preserve">Asynchronously obtains a handle for a surface that can be passed
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4490">Asynchronously obtains a handle for a surface that can be passed
to other processes.
When the handle has been obtained, @callback will be called.
@@ -445,48 +497,50 @@ from another surface as transient for this one, see
Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="70"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the handle has been requested, %FALSE if
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4515">%TRUE if the handle has been requested, %FALSE if
an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="toplevel" transfer-ownership="none">
<doc xml:space="preserve">the `GdkToplevel` to obtain a handle for</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4492">the `GdkToplevel` to obtain a handle for</doc>
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
</instance-parameter>
<parameter name="callback" transfer-ownership="none" scope="notified" closure="1" destroy="2">
<doc xml:space="preserve">callback to call with the handle</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4493">callback to call with the handle</doc>
<type name="WaylandToplevelExported" c:type="GdkWaylandToplevelExported"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data for @callback</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4494">user data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_func" transfer-ownership="none" scope="async">
<doc xml:space="preserve">destroy notify for @user_data</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4495">destroy notify for @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_application_id" c:identifier="gdk_wayland_toplevel_set_application_id">
<doc xml:space="preserve">Sets the application id on a `GdkToplevel`.</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1904">Sets the application id on a `GdkToplevel`.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="83"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="toplevel" transfer-ownership="none">
<doc xml:space="preserve">a `GdkToplevel`</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1906">a `GdkToplevel`</doc>
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
</instance-parameter>
<parameter name="application_id" transfer-ownership="none">
<doc xml:space="preserve">the application id for the @toplevel</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1907">the application id for the @toplevel</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="set_transient_for_exported" c:identifier="gdk_wayland_toplevel_set_transient_for_exported">
<doc xml:space="preserve">Marks @toplevel as transient for the surface to which the given
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4609">Marks @toplevel as transient for the surface to which the given
@parent_handle_str refers.
Typically, the handle will originate from a
@@ -494,24 +548,25 @@ Typically, the handle will originate from a
Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="79"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the surface has been marked as transient,
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4623">%TRUE if the surface has been marked as transient,
%FALSE if an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="toplevel" transfer-ownership="none">
<doc xml:space="preserve">the `GdkToplevel` to make as transient</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4611">the `GdkToplevel` to make as transient</doc>
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
</instance-parameter>
<parameter name="parent_handle_str" transfer-ownership="none">
<doc xml:space="preserve">an exported handle for a surface</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4612">an exported handle for a surface</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="unexport_handle" c:identifier="gdk_wayland_toplevel_unexport_handle">
<doc xml:space="preserve">Destroys the handle that was obtained with
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4555">Destroys the handle that was obtained with
gdk_wayland_toplevel_export_handle().
It is an error to call this function on a surface that
@@ -519,39 +574,41 @@ does not have a handle.
Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="76"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="toplevel" transfer-ownership="none">
<doc xml:space="preserve">the `GdkToplevel` to unexport</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4557">the `GdkToplevel` to unexport</doc>
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
</instance-parameter>
</parameters>
</method>
</class>
<callback name="WaylandToplevelExported" c:type="GdkWaylandToplevelExported">
<doc xml:space="preserve">Callback that gets called when the handle for a surface has been
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4469">Callback that gets called when the handle for a surface has been
obtained from the Wayland compositor.
This callback is used in [method@GdkWayland.WaylandToplevel.export_handle].
The @handle can be passed to other processes, for the purpose of
marking surfaces as transient for out-of-process surfaces.</doc>
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="65"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="toplevel" transfer-ownership="none">
<doc xml:space="preserve">the `GdkToplevel` that is exported</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4471">the `GdkToplevel` that is exported</doc>
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
</parameter>
<parameter name="handle" transfer-ownership="none">
<doc xml:space="preserve">the handle</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4472">the handle</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 that was passed to [method@GdkWayland.WaylandToplevel.export_handle]</doc>
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4473">user data that was passed to [method@GdkWayland.WaylandToplevel.export_handle]</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>

File diff suppressed because it is too large Load Diff

29038
Gio-2.0.gir

File diff suppressed because it is too large Load Diff

View File

@@ -2135,18 +2135,6 @@ a #graphene_frustum_t.</doc>
</parameters>
</method>
</record>
<constant name="HAS_GCC" value="1" c:type="GRAPHENE_HAS_GCC">
<source-position filename="../include/graphene-config.h" line="26"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="HAS_SCALAR" value="1" c:type="GRAPHENE_HAS_SCALAR">
<source-position filename="../include/graphene-config.h" line="29"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="HAS_SSE" value="1" c:type="GRAPHENE_HAS_SSE">
<source-position filename="../include/graphene-config.h" line="18"/>
<type name="gint" c:type="gint"/>
</constant>
<record name="Matrix"
c:type="graphene_matrix_t"
glib:type-name="GrapheneMatrix"
@@ -7421,13 +7409,13 @@ values of another #graphene_ray_t.</doc>
version="1.10">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="470">Intersects the given #graphene_ray_t @r with the given
line="486">Intersects the given #graphene_ray_t @r with the given
#graphene_box_t @b.</doc>
<source-position filename="../include/graphene-ray.h" line="123"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="479">the type of intersection</doc>
line="495">the type of intersection</doc>
<type name="RayIntersectionKind"
c:type="graphene_ray_intersection_kind_t"/>
</return-value>
@@ -7435,13 +7423,13 @@ values of another #graphene_ray_t.</doc>
<instance-parameter name="r" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="472">a #graphene_ray_t</doc>
line="488">a #graphene_ray_t</doc>
<type name="Ray" c:type="const graphene_ray_t*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="473">a #graphene_box_t</doc>
line="489">a #graphene_box_t</doc>
<type name="Box" c:type="const graphene_box_t*"/>
</parameter>
<parameter name="t_out"
@@ -7450,7 +7438,7 @@ values of another #graphene_ray_t.</doc>
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="474">the distance of the point on the ray that intersects the box</doc>
line="490">the distance of the point on the ray that intersects the box</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
</parameters>
@@ -7499,13 +7487,13 @@ values of another #graphene_ray_t.</doc>
version="1.10">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="612">Intersects the given #graphene_ray_t @r with the given
line="636">Intersects the given #graphene_ray_t @r with the given
#graphene_triangle_t @t.</doc>
<source-position filename="../include/graphene-ray.h" line="130"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="621">the type of intersection</doc>
line="645">the type of intersection</doc>
<type name="RayIntersectionKind"
c:type="graphene_ray_intersection_kind_t"/>
</return-value>
@@ -7513,13 +7501,13 @@ values of another #graphene_ray_t.</doc>
<instance-parameter name="r" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="614">a #graphene_ray_t</doc>
line="638">a #graphene_ray_t</doc>
<type name="Ray" c:type="const graphene_ray_t*"/>
</instance-parameter>
<parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="615">a #graphene_triangle_t</doc>
line="639">a #graphene_triangle_t</doc>
<type name="Triangle" c:type="const graphene_triangle_t*"/>
</parameter>
<parameter name="t_out"
@@ -7528,7 +7516,7 @@ values of another #graphene_ray_t.</doc>
transfer-ownership="full">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="616">the distance of the point on the ray that intersects the triangle</doc>
line="640">the distance of the point on the ray that intersects the triangle</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
</parameters>
@@ -7538,7 +7526,7 @@ values of another #graphene_ray_t.</doc>
version="1.10">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="591">Checks whether the given #graphene_ray_t @r intersects the
line="615">Checks whether the given #graphene_ray_t @r intersects the
given #graphene_box_t @b.
See also: graphene_ray_intersect_box()</doc>
@@ -7546,20 +7534,20 @@ See also: graphene_ray_intersect_box()</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="601">`true` if the ray intersects the box</doc>
line="625">`true` if the ray intersects the box</doc>
<type name="gboolean" c:type="_Bool"/>
</return-value>
<parameters>
<instance-parameter name="r" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="593">a #graphene_ray_t</doc>
line="617">a #graphene_ray_t</doc>
<type name="Ray" c:type="const graphene_ray_t*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="594">a #graphene_box_t</doc>
line="618">a #graphene_box_t</doc>
<type name="Box" c:type="const graphene_box_t*"/>
</parameter>
</parameters>
@@ -7600,7 +7588,7 @@ See also: graphene_ray_intersect_sphere()</doc>
version="1.10">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="712">Checks whether the given #graphene_ray_t @r intersects the
line="736">Checks whether the given #graphene_ray_t @r intersects the
given #graphene_triangle_t @b.
See also: graphene_ray_intersect_triangle()</doc>
@@ -7608,20 +7596,20 @@ See also: graphene_ray_intersect_triangle()</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="722">`true` if the ray intersects the triangle</doc>
line="746">`true` if the ray intersects the triangle</doc>
<type name="gboolean" c:type="_Bool"/>
</return-value>
<parameters>
<instance-parameter name="r" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="714">a #graphene_ray_t</doc>
line="738">a #graphene_ray_t</doc>
<type name="Ray" c:type="const graphene_ray_t*"/>
</instance-parameter>
<parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="../src/graphene-ray.c"
line="715">a #graphene_triangle_t</doc>
line="739">a #graphene_triangle_t</doc>
<type name="Triangle" c:type="const graphene_triangle_t*"/>
</parameter>
</parameters>
@@ -8725,10 +8713,6 @@ a size of 0, 0.</doc>
</return-value>
</function>
</record>
<constant name="SIMD_S" value="sse" c:type="GRAPHENE_SIMD_S">
<source-position filename="../include/graphene-config.h" line="34"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="SIZE_INIT"
c:identifier="GRAPHENE_SIZE_INIT"
version="1.0"
@@ -8756,7 +8740,7 @@ declaring it, e.g.:
</parameters>
</function-macro>
<record name="Simd4F" c:type="graphene_simd4f_t">
<source-position filename="../include/graphene-config.h" line="88"/>
<source-position filename="../include/graphene-config.h" line="90"/>
<field name="x" readable="0" private="1">
<type name="gfloat" c:type="float"/>
</field>
@@ -8771,7 +8755,7 @@ declaring it, e.g.:
</field>
</record>
<record name="Simd4X4F" c:type="graphene_simd4x4f_t">
<source-position filename="../include/graphene-config.h" line="94"/>
<source-position filename="../include/graphene-config.h" line="96"/>
<field name="x" readable="0" private="1">
<type name="Simd4F" c:type="graphene_simd4f_t"/>
</field>

File diff suppressed because it is too large Load Diff

119274
Gtk-3.0.gir

File diff suppressed because it is too large Load Diff

36967
Gtk-4.0.gir

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,355 @@
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GObject" version="2.0"/>
<package name="javascriptcoregtk-4.0"/>
<c:include name="JavaScriptCore/JavaScript.h"/>
<namespace name="JavaScriptCore" version="4.0" shared-library="libjavascriptcoregtk-4.0.so.18" c:identifier-prefixes="JS" c:symbol-prefixes="JS">
<!-- Patches for incomplete type information in glib-compatible javascriptcore. -->
<callback name="Constructor" c:type="JSCConstructor">
<return-value transfer-ownership="full">
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<parameter name="args" transfer-ownership="none">
<type name="GLib.PtrArray" c:type="GPtrArray*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="ClassVariadicFunction" c:type="JSCClassVariadicFunction">
<return-value transfer-ownership="full">
<type name="Value" c:type="JSCValue*"/>
</return-value>
<parameters>
<parameter name="instance" transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="args" transfer-ownership="none">
<type name="GLib.PtrArray" c:type="GPtrArray*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="PropertyGetter" c:type="JSCPropertyGetter">
<return-value transfer-ownership="full">
<type name="Value" c:type="JSCValue*"/>
</return-value>
<parameters>
<parameter name="instance" transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="PropertySetter" c:type="JSCPropertySetter">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="instance" transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="Value" c:type="JSCValue*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="VariadicFunction" c:type="JSCVariadicFunction">
<return-value transfer-ownership="full">
<type name="Value" c:type="JSCValue*"/>
</return-value>
<parameters>
<parameter name="args" transfer-ownership="none">
<type name="GLib.PtrArray" c:type="GPtrArray*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="Getter" c:type="JSCGetter">
<return-value transfer-ownership="full">
<type name="Value" c:type="JSCValue*"/>
</return-value>
<parameters>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<callback name="Setter" c:type="JSCSetter">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<type name="Value" c:type="JSCValue*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<!-- Patches for non-glib javascriptcore that deprecated webkitgtk functions still reference. -->
<record name="GlobalContextRef" c:type="JSGlobalContextRef" deprecated="1" deprecated-version="2.22" disguised="1" foreign="1">
<method name="ref" c:identifier="JSGlobalContextRetain">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="JSGlobalContextRelease">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="ValueRef" c:type="JSValueRef" deprecated="1" deprecated-version="2.22" disguised="1">
<function name="ValueIsArray" c:identifier="JSValueIsArray" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueProtect" c:type="JSValueProtect">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueUnprotect" c:type="JSValueUnprotect">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsBoolean" c:identifier="JSValueIsBoolean" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsDate" c:identifier="JSValueIsDate" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsObject" c:identifier="JSValueIsObject" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsNull" c:identifier="JSValueIsNull" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsNumber" c:identifier="JSValueIsNumber" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsString" c:identifier="JSValueIsString" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueIsUndefined" c:identifier="JSValueIsUndefined" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueToBoolean" c:identifier="JSValueToBoolean" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
</parameters>
</function>
<function name="ValueToNumber" c:identifier="JSValueToNumber" deprecated="1" deprecated-version="2.22">
<return-value transfer-ownership="none">
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
<parameter name="exception" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">return location for a #JSCException, or %NULL to ignore</doc>
<type name="Exception" c:type="JSCException**"/>
</parameter>
</parameters>
</function>
<function name="ValueToStringCopy" c:identifier="JSValueToStringCopy">
<return-value transfer-ownership="none">
<type name="StringRef" c:type="JSStringRef"/>
</return-value>
<parameters>
<parameter name="ctx" transfer-ownership="none">
<type name="GlobalContextRef" c:type="JSGlobalContextRef"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<type name="ValueRef" c:type="JSValueRef"/>
</parameter>
<parameter name="exception" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<type name="ValueRef" c:type="JSValueRef*"/>
</parameter>
</parameters>
</function>
</record>
<record name="StringRef" c:type="JSStringRef" deprecated="1" deprecated-version="2.22" disguised="1" foreign="1">
<method name="ref" c:identifier="JSStringRetain">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="string" transfer-ownership="none">
<type name="StringRef" c:type="JSStringRef"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="JSStringRelease">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="string" transfer-ownership="none">
<type name="StringRef" c:type="JSStringRef"/>
</instance-parameter>
</parameters>
</method>
<method name="GetMaximumUTF8CStringSize" c:identifier="JSStringGetMaximumUTF8CStringSize">
<return-value transfer-ownership="none">
<type name="gsize" c:type="gsize"/>
</return-value>
<parameters>
<instance-parameter name="string" transfer-ownership="none">
<type name="StringRef" c:type="JSStringRef"/>
</instance-parameter>
</parameters>
</method>
<method name="GetUTF8CStringJSStringGetUTF8CString" c:identifier="JSStringGetUTF8CString">
<return-value transfer-ownership="none">
<type name="gsize" c:type="gsize"/>
</return-value>
<parameters>
<instance-parameter name="string" transfer-ownership="none">
<type name="StringRef" c:type="JSStringRef"/>
</instance-parameter>
<parameter name="buffer" direction="inout" caller-allocates="1" transfer-ownership="none">
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="buffer_size" transfer-ownership="none">
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
</record>
</namespace>
</repository>

File diff suppressed because it is too large Load Diff

84
JavaScriptCore-4.0.xsl Normal file
View File

@@ -0,0 +1,84 @@
<xsl:stylesheet xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:gir="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<!-- Insert non-glib types and additional callback types. -->
<xsl:template match="/gir:repository/gir:namespace[@name='JavaScriptCore' and not(./gir:record[@name='GlobalContextRef'])]">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:text>&#xa;</xsl:text>
<xsl:apply-templates select="document('JavaScriptCore-4.0-patch.gir')/gir:repository/gir:namespace/*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<!-- Patch up class callback types. -->
<xsl:template match="//gir:class[@name='Class']/gir:method[@name='add_constructor_variadic']//gir:parameter[@name='callback']/gir:type">
<xsl:copy>
<xsl:attribute name="name">Constructor</xsl:attribute>
<xsl:attribute name="c:type">JSCConstructor</xsl:attribute>
</xsl:copy>
</xsl:template>
<xsl:template match="//gir:class[@name='Class']/gir:method[@name='add_method_variadic']//gir:parameter[@name='callback']/gir:type">
<xsl:copy>
<xsl:attribute name="name">ClassVariadicFunction</xsl:attribute>
<xsl:attribute name="c:type">JSCClassVariadicFunction</xsl:attribute>
</xsl:copy>
</xsl:template>
<xsl:template match="//gir:class[@name='Class']/gir:method[@name='add_property']//gir:parameter[@name='getter']">
<xsl:copy>
<xsl:apply-templates select="@*[not(name()='scope') and not(name()='closure')]"/>
<xsl:attribute name="scope">notified</xsl:attribute>
<xsl:attribute name="closure">4</xsl:attribute>
<xsl:attribute name="destroy">5</xsl:attribute>
<xsl:text>&#xa;</xsl:text>
<xsl:apply-templates select="*[not(name()='type')]"/>
<xsl:text>&#xa;</xsl:text>
<type name="PropertyGetter" c:type="JSCPropertyGetter"/>
</xsl:copy>
</xsl:template>
<xsl:template match="//gir:class[@name='Class']/gir:method[@name='add_property']//gir:parameter[@name='setter']/gir:type">
<xsl:copy>
<xsl:attribute name="name">PropertySetter</xsl:attribute>
<xsl:attribute name="c:type">JSCPropertySetter</xsl:attribute>
</xsl:copy>
</xsl:template>
<!-- Patch up value callback types. -->
<xsl:template match="//gir:class[@name='Value']/gir:constructor[@name='new_function_variadic']//gir:parameter[@name='callback']/gir:type">
<xsl:copy>
<xsl:attribute name="name">VariadicFunction</xsl:attribute>
<xsl:attribute name="c:type">JSCVariadicFunction</xsl:attribute>
</xsl:copy>
</xsl:template>
<xsl:template match="//gir:class[@name='Value']/gir:method[@name='object_define_property_accessor']//gir:parameter[@name='getter']">
<xsl:copy>
<xsl:apply-templates select="@*[not(name()='scope') and not(name()='closure')]"/>
<xsl:attribute name="scope">notified</xsl:attribute>
<xsl:attribute name="closure">5</xsl:attribute>
<xsl:attribute name="destroy">6</xsl:attribute>
<xsl:text>&#xa;</xsl:text>
<xsl:apply-templates select="*[not(name()='type')]"/>
<xsl:text>&#xa;</xsl:text>
<type name="Getter" c:type="JSCGetter"/>
</xsl:copy>
</xsl:template>
<xsl:template match="//gir:class[@name='Value']/gir:method[@name='object_define_property_accessor']//gir:parameter[@name='setter']/gir:type">
<xsl:copy>
<xsl:attribute name="name">Setter</xsl:attribute>
<xsl:attribute name="c:type">JSCSetter</xsl:attribute>
</xsl:copy>
</xsl:template>
<!-- Identity template. -->
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,63 +2,112 @@
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="PangoFc" version="1.0"/>
<include name="freetype2" version="2.0"/>
<package name="pangoft2"/>
<c:include name="pango/pangoft2.h"/>
<namespace name="PangoFT2" version="1.0" shared-library="libpangoft2-1.0.so.0" c:identifier-prefixes="PangoFT2" c:symbol-prefixes="pango_ft2">
<function-macro name="FONT_MAP" c:identifier="PANGO_FT2_FONT_MAP" introspectable="0">
<namespace name="PangoFT2"
version="1.0"
shared-library="libpangoft2-1.0.so.0"
c:identifier-prefixes="PangoFT2"
c:symbol-prefixes="pango_ft2">
<function-macro name="FONT_MAP"
c:identifier="PANGO_FT2_FONT_MAP"
introspectable="0">
<source-position filename="../pango/pangoft2.h" line="53"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<class name="FontMap" c:symbol-prefix="font_map" c:type="PangoFT2FontMap" parent="PangoFc.FontMap" glib:type-name="PangoFT2FontMap" glib:get-type="pango_ft2_font_map_get_type">
<doc xml:space="preserve">The `PangoFT2FontMap` is the `PangoFontMap` implementation for FreeType fonts.</doc>
<constructor name="new" c:identifier="pango_ft2_font_map_new" version="1.2">
<doc xml:space="preserve">Create a new `PangoFT2FontMap` object.
<class name="FontMap"
c:symbol-prefix="font_map"
c:type="PangoFT2FontMap"
parent="PangoFc.FontMap"
glib:type-name="PangoFT2FontMap"
glib:get-type="pango_ft2_font_map_get_type">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="40">The `PangoFT2FontMap` is the `PangoFontMap` implementation for FreeType fonts.</doc>
<constructor name="new"
c:identifier="pango_ft2_font_map_new"
version="1.2">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="118">Create a new `PangoFT2FontMap` object.
A fontmap is used to cache information about available fonts,
and holds certain global parameters such as the resolution and
the default substitute function (see
[method@PangoFT2.FontMap.set_default_substitute]).</doc>
<source-position filename="../pango/pangoft2.h" line="114"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created fontmap object. Unref
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="128">the newly created fontmap object. Unref
with g_object_unref() when you are finished with it.</doc>
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</constructor>
<function name="for_display" c:identifier="pango_ft2_font_map_for_display" introspectable="0">
<doc xml:space="preserve">Returns a `PangoFT2FontMap`.
<function name="for_display"
c:identifier="pango_ft2_font_map_for_display"
introspectable="0">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="279">Returns a `PangoFT2FontMap`.
This font map is cached and should
not be freed. If the font map is no longer needed, it can
be released with pango_ft2_shutdown_display(). Use of the
global PangoFT2 fontmap is deprecated; use pango_ft2_font_map_new()
instead.</doc>
<source-position filename="../pango/pangoft2.h" line="139"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a `PangoFT2FontMap`.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="290">a `PangoFT2FontMap`.</doc>
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</function>
<method name="create_context" c:identifier="pango_ft2_font_map_create_context" version="1.2" introspectable="0" deprecated="1" deprecated-version="1.22">
<doc xml:space="preserve">Create a `PangoContext` for the given fontmap.</doc>
<method name="create_context"
c:identifier="pango_ft2_font_map_create_context"
version="1.2"
introspectable="0"
deprecated="1"
deprecated-version="1.22">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="232">Create a `PangoContext` for the given fontmap.</doc>
<doc-deprecated xml:space="preserve">Use [method@Pango.FontMap.create_context] instead.</doc-deprecated>
<source-position filename="../pango/pangoft2.h" line="128"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created context; free with
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="238">the newly created context; free with
g_object_unref().</doc>
<type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
<parameters>
<instance-parameter name="fontmap" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFT2FontMap`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="234">a `PangoFT2FontMap`</doc>
<type name="FontMap" c:type="PangoFT2FontMap*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_default_substitute" c:identifier="pango_ft2_font_map_set_default_substitute" version="1.2" deprecated="1" deprecated-version="1.46">
<doc xml:space="preserve">Sets a function that will be called to do final configuration
<method name="set_default_substitute"
c:identifier="pango_ft2_font_map_set_default_substitute"
version="1.2"
deprecated="1"
deprecated-version="1.46">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="157">Sets a function that will be called to do final configuration
substitution on a `FcPattern` before it is used to load
the font.
@@ -66,51 +115,84 @@ This function can be used to do things like set
hinting and antialiasing options.</doc>
<doc-deprecated xml:space="preserve">Use [method@PangoFc.FontMap.set_default_substitute]
instead.</doc-deprecated>
<source-position filename="../pango/pangoft2.h" line="121"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="fontmap" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFT2FontMap`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="159">a `PangoFT2FontMap`</doc>
<type name="FontMap" c:type="PangoFT2FontMap*"/>
</instance-parameter>
<parameter name="func" transfer-ownership="none" scope="notified" closure="1" destroy="2">
<doc xml:space="preserve">function to call to to do final config tweaking
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="1"
destroy="2">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="160">function to call to to do final config tweaking
on #FcPattern objects.</doc>
<type name="SubstituteFunc" c:type="PangoFT2SubstituteFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">data to pass to @func</doc>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="162">data to pass to @func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="notify" transfer-ownership="none" scope="async">
<doc xml:space="preserve">function to call when @data is no longer used.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="163">function to call when @data is no longer used.</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_resolution" c:identifier="pango_ft2_font_map_set_resolution" version="1.2">
<doc xml:space="preserve">Sets the horizontal and vertical resolutions for the fontmap.</doc>
<method name="set_resolution"
c:identifier="pango_ft2_font_map_set_resolution"
version="1.2">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="209">Sets the horizontal and vertical resolutions for the fontmap.</doc>
<source-position filename="../pango/pangoft2.h" line="116"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="fontmap" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFT2FontMap`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="211">a `PangoFT2FontMap`</doc>
<type name="FontMap" c:type="PangoFT2FontMap*"/>
</instance-parameter>
<parameter name="dpi_x" transfer-ownership="none">
<doc xml:space="preserve">dots per inch in the X direction</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="212">dots per inch in the X direction</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="dpi_y" transfer-ownership="none">
<doc xml:space="preserve">dots per inch in the Y direction</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="213">dots per inch in the Y direction</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="substitute_changed" c:identifier="pango_ft2_font_map_substitute_changed" version="1.2" deprecated="1" deprecated-version="1.46">
<doc xml:space="preserve">Call this function any time the results of the
<method name="substitute_changed"
c:identifier="pango_ft2_font_map_substitute_changed"
version="1.2"
deprecated="1"
deprecated-version="1.46">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="187">Call this function any time the results of the
default substitution function set with
pango_ft2_font_map_set_default_substitute() change.
@@ -118,60 +200,90 @@ That is, if your substitution function will return different
results for the same input pattern, you must call this function.</doc>
<doc-deprecated xml:space="preserve">Use [method@PangoFc.FontMap.substitute_changed]
instead.</doc-deprecated>
<source-position filename="../pango/pangoft2.h" line="126"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="fontmap" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFT2FontMap`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="189">a `PangoFT2FontMap`</doc>
<type name="FontMap" c:type="PangoFT2FontMap*"/>
</instance-parameter>
</parameters>
</method>
</class>
<function-macro name="IS_FONT_MAP" c:identifier="PANGO_FT2_IS_FONT_MAP" introspectable="0">
<function-macro name="IS_FONT_MAP"
c:identifier="PANGO_FT2_IS_FONT_MAP"
introspectable="0">
<source-position filename="../pango/pangoft2.h" line="54"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<callback name="SubstituteFunc" c:type="PangoFT2SubstituteFunc">
<doc xml:space="preserve">Function type for doing final config tweaking on prepared FcPatterns.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.h"
line="63">Function type for doing final config tweaking on prepared FcPatterns.</doc>
<source-position filename="../pango/pangoft2.h" line="70"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="pattern" transfer-ownership="none">
<doc xml:space="preserve">the FcPattern to tweak.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.h"
line="65">the FcPattern to tweak.</doc>
<type name="fontconfig.Pattern" c:type="FcPattern*"/>
</parameter>
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data.</doc>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../pango/pangoft2.h"
line="66">user data.</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<function name="font_get_coverage" c:identifier="pango_ft2_font_get_coverage">
<doc xml:space="preserve">Gets the `PangoCoverage` for a `PangoFT2Font`.
<function name="font_get_coverage"
c:identifier="pango_ft2_font_get_coverage">
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="471">Gets the `PangoCoverage` for a `PangoFT2Font`.
Use [method@Pango.Font.get_coverage] instead.</doc>
<source-position filename="../pango/pangoft2.h" line="152"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a `PangoCoverage`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="480">a `PangoCoverage`</doc>
<type name="Pango.Coverage" c:type="PangoCoverage*"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">a Pango FT2 font</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="473">a Pango FT2 font</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
<parameter name="language" transfer-ownership="none">
<doc xml:space="preserve">a language tag.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="474">a language tag.</doc>
<type name="Pango.Language" c:type="PangoLanguage*"/>
</parameter>
</parameters>
</function>
<function name="font_get_face" c:identifier="pango_ft2_font_get_face" introspectable="0">
<doc xml:space="preserve">Returns the native FreeType2 `FT_Face` structure
<function name="font_get_face"
c:identifier="pango_ft2_font_get_face"
introspectable="0">
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="153">Returns the native FreeType2 `FT_Face` structure
used for this `PangoFont`.
This may be useful if you want to use FreeType2
@@ -180,219 +292,323 @@ functions directly.
Use [method@PangoFc.Font.lock_face] instead; when you are
done with a face from [method@PangoFc.Font.lock_face], you
must call [method@PangoFc.Font.unlock_face].</doc>
<source-position filename="../pango/pangoft2.h" line="150"/>
<return-value nullable="1">
<doc xml:space="preserve">a pointer to a `FT_Face` structure,
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="167">a pointer to a `FT_Face` structure,
with the size set correctly</doc>
<type name="freetype2.Face" c:type="FT_Face"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFont`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="155">a `PangoFont`</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
</parameters>
</function>
<function name="font_get_kerning" c:identifier="pango_ft2_font_get_kerning">
<doc xml:space="preserve">Retrieves kerning information for a combination of two glyphs.
<function name="font_get_kerning"
c:identifier="pango_ft2_font_get_kerning">
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="382">Retrieves kerning information for a combination of two glyphs.
Use pango_fc_font_kern_glyphs() instead.</doc>
<source-position filename="../pango/pangoft2.h" line="146"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The amount of kerning (in Pango units) to
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="392">The amount of kerning (in Pango units) to
apply for the given combination of glyphs.</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFont`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="384">a `PangoFont`</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
<parameter name="left" transfer-ownership="none">
<doc xml:space="preserve">the left `PangoGlyph`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="385">the left `PangoGlyph`</doc>
<type name="Pango.Glyph" c:type="PangoGlyph"/>
</parameter>
<parameter name="right" transfer-ownership="none">
<doc xml:space="preserve">the right `PangoGlyph`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="386">the right `PangoGlyph`</doc>
<type name="Pango.Glyph" c:type="PangoGlyph"/>
</parameter>
</parameters>
</function>
<function name="get_context" c:identifier="pango_ft2_get_context" introspectable="0" deprecated="1" deprecated-version="1.22">
<doc xml:space="preserve">Retrieves a `PangoContext` for the default PangoFT2 fontmap
<function name="get_context"
c:identifier="pango_ft2_get_context"
introspectable="0"
deprecated="1"
deprecated-version="1.22">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="253">Retrieves a `PangoContext` for the default PangoFT2 fontmap
(see pango_ft2_font_map_for_display()) and sets the resolution
for the default fontmap to @dpi_x by @dpi_y.</doc>
<doc-deprecated xml:space="preserve">Use [method@Pango.FontMap.create_context] instead.</doc-deprecated>
<source-position filename="../pango/pangoft2.h" line="136"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new `PangoContext`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="262">the new `PangoContext`</doc>
<type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
<parameters>
<parameter name="dpi_x" transfer-ownership="none">
<doc xml:space="preserve">the horizontal DPI of the target device</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="255">the horizontal DPI of the target device</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="dpi_y" transfer-ownership="none">
<doc xml:space="preserve">the vertical DPI of the target device</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="256">the vertical DPI of the target device</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</function>
<function name="get_unknown_glyph" c:identifier="pango_ft2_get_unknown_glyph">
<doc xml:space="preserve">Return the index of a glyph suitable for drawing unknown
<function name="get_unknown_glyph"
c:identifier="pango_ft2_get_unknown_glyph">
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="491">Return the index of a glyph suitable for drawing unknown
characters with @font, or %PANGO_GLYPH_EMPTY if no suitable
glyph found.
If you want to draw an unknown-box for a character that
is not covered by the font, use PANGO_GET_UNKNOWN_GLYPH()
instead.</doc>
<source-position filename="../pango/pangoft2.h" line="144"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a glyph index into @font, or %PANGO_GLYPH_EMPTY</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="503">a glyph index into @font, or %PANGO_GLYPH_EMPTY</doc>
<type name="Pango.Glyph" c:type="PangoGlyph"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">a `PangoFont`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2.c"
line="493">a `PangoFont`</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
</parameters>
</function>
<function name="render" c:identifier="pango_ft2_render">
<doc xml:space="preserve">Renders a `PangoGlyphString` onto a FreeType2 bitmap.</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="740">Renders a `PangoGlyphString` onto a FreeType2 bitmap.</doc>
<source-position filename="../pango/pangoft2.h" line="76"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">the FreeType2 bitmap onto which to draw the string</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="742">the FreeType2 bitmap onto which to draw the string</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">the font in which to draw the string</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="743">the font in which to draw the string</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
<parameter name="glyphs" transfer-ownership="none">
<doc xml:space="preserve">the glyph string to draw</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="744">the glyph string to draw</doc>
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x position of the start of the string (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="745">the x position of the start of the string (in pixels)</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y position of the baseline (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="746">the y position of the baseline (in pixels)</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="render_layout" c:identifier="pango_ft2_render_layout">
<doc xml:space="preserve">Render a `PangoLayout` onto a FreeType2 bitmap</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="619">Render a `PangoLayout` onto a FreeType2 bitmap</doc>
<source-position filename="../pango/pangoft2.h" line="100"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">a FT_Bitmap to render the layout onto</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="621">a FT_Bitmap to render the layout onto</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">a `PangoLayout`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="622">a `PangoLayout`</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the X position of the left of the layout (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="623">the X position of the left of the layout (in pixels)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the Y position of the top of the layout (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="624">the Y position of the top of the layout (in pixels)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="render_layout_line" c:identifier="pango_ft2_render_layout_line">
<doc xml:space="preserve">Render a `PangoLayoutLine` onto a FreeType2 bitmap</doc>
<function name="render_layout_line"
c:identifier="pango_ft2_render_layout_line">
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="676">Render a `PangoLayoutLine` onto a FreeType2 bitmap</doc>
<source-position filename="../pango/pangoft2.h" line="90"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">a FT_Bitmap to render the line onto</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="678">a FT_Bitmap to render the line onto</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">a `PangoLayoutLine`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="679">a `PangoLayoutLine`</doc>
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x position of start of string (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="680">the x position of start of string (in pixels)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y position of baseline (in pixels)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="681">the y position of baseline (in pixels)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="render_layout_line_subpixel" c:identifier="pango_ft2_render_layout_line_subpixel" version="1.6">
<doc xml:space="preserve">Render a `PangoLayoutLine` onto a FreeType2 bitmap, with he
<function name="render_layout_line_subpixel"
c:identifier="pango_ft2_render_layout_line_subpixel"
version="1.6">
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="637">Render a `PangoLayoutLine` onto a FreeType2 bitmap, with he
location specified in fixed-point Pango units rather than
pixels.
(Using this will avoid extra inaccuracies from rounding
to integer pixels multiple times, even if the final glyph
positions are integers.)</doc>
<source-position filename="../pango/pangoft2.h" line="95"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">a FT_Bitmap to render the line onto</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="639">a FT_Bitmap to render the line onto</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">a `PangoLayoutLine`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="640">a `PangoLayoutLine`</doc>
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x position of start of string (in Pango units)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="641">the x position of start of string (in Pango units)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y position of baseline (in Pango units)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="642">the y position of baseline (in Pango units)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="render_layout_subpixel" c:identifier="pango_ft2_render_layout_subpixel" version="1.6">
<doc xml:space="preserve">Render a `PangoLayout` onto a FreeType2 bitmap, with he
<function name="render_layout_subpixel"
c:identifier="pango_ft2_render_layout_subpixel"
version="1.6">
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="580">Render a `PangoLayout` onto a FreeType2 bitmap, with he
location specified in fixed-point Pango units rather than
pixels.
(Using this will avoid extra inaccuracies from rounding
to integer pixels multiple times, even if the final glyph
positions are integers.)</doc>
<source-position filename="../pango/pangoft2.h" line="105"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">a FT_Bitmap to render the layout onto</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="582">a FT_Bitmap to render the layout onto</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="layout" transfer-ownership="none">
<doc xml:space="preserve">a `PangoLayout`</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="583">a `PangoLayout`</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the X position of the left of the layout (in Pango units)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="584">the X position of the left of the layout (in Pango units)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the Y position of the top of the layout (in Pango units)</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="585">the Y position of the top of the layout (in Pango units)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="render_transformed" c:identifier="pango_ft2_render_transformed" version="1.6">
<doc xml:space="preserve">Renders a `PangoGlyphString` onto a FreeType2 bitmap, possibly
<function name="render_transformed"
c:identifier="pango_ft2_render_transformed"
version="1.6">
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="694">Renders a `PangoGlyphString` onto a FreeType2 bitmap, possibly
transforming the layed-out coordinates through a transformation
matrix.
@@ -400,41 +616,61 @@ Note that the transformation matrix for @font is not
changed, so to produce correct rendering results, the @font
must have been loaded using a `PangoContext` with an identical
transformation matrix to that passed in to this function.</doc>
<source-position filename="../pango/pangoft2.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="bitmap" transfer-ownership="none">
<doc xml:space="preserve">the FreeType2 bitmap onto which to draw the string</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="696">the FreeType2 bitmap onto which to draw the string</doc>
<type name="freetype2.Bitmap" c:type="FT_Bitmap*"/>
</parameter>
<parameter name="matrix" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a `PangoMatrix`</doc>
<parameter name="matrix"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="698">a `PangoMatrix`</doc>
<type name="Pango.Matrix" c:type="const PangoMatrix*"/>
</parameter>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">the font in which to draw the string</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="697">the font in which to draw the string</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
<parameter name="glyphs" transfer-ownership="none">
<doc xml:space="preserve">the glyph string to draw</doc>
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="699">the glyph string to draw</doc>
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x position of the start of the string (in Pango
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="700">the x position of the start of the string (in Pango
units in user space coordinates)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y position of the baseline (in Pango units
<doc xml:space="preserve"
filename="../pango/pangoft2-render.c"
line="702">the y position of the baseline (in Pango units
in user space coordinates)</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</function>
<function name="shutdown_display" c:identifier="pango_ft2_shutdown_display">
<doc xml:space="preserve">Free the global fontmap. (See pango_ft2_font_map_for_display())
<function name="shutdown_display"
c:identifier="pango_ft2_shutdown_display">
<doc xml:space="preserve"
filename="../pango/pangoft2-fontmap.c"
line="301">Free the global fontmap. (See pango_ft2_font_map_for_display())
Use of the global PangoFT2 fontmap is deprecated.</doc>
<source-position filename="../pango/pangoft2.h" line="141"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

44471
Soup-2.4.gir

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

23
dl.sh
View File

@@ -1,17 +1,18 @@
#!/bin/bash
set -e
./gir-dl.sh https://packages.debian.org/stable/amd64/libatk1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libgirepository1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libgraphene-1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libgdk-pixbuf-2.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libgtk-3-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libgtk-4-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libharfbuzz-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libpango1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libjavascriptcoregtk-4.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libsoup2.4-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/stable/amd64/libwebkit2gtk-4.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libatk1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libgirepository1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libgraphene-1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libgdk-pixbuf-2.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libgtk-3-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libgtk-4-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libharfbuzz-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libpango1.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libjavascriptcoregtk-4.0-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libsoup2.4-dev/download http.us.debian.org
./gir-dl.sh https://packages.debian.org/unstable/amd64/libwebkit2gtk-4.0-dev/download http.us.debian.org
./reformat.sh
./fix.sh

20
fix.sh
View File

@@ -141,3 +141,23 @@ xmlstarlet ed -L \
-u '//_:constant[@name="INVALID_LIST_POSITION"]/_:type/@name' -v "guint" \
-u '//_:constant[@name="INVALID_LIST_POSITION"]/_:type/@c:type' -v "guint" \
Gtk-4.0.gir
# change int to uint to prevent overflow
xmlstarlet ed -L \
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type[@name="gint"]/@c:type' -v "guint" \
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type[@name="gint"]/@name' -v "guint" \
WebKit2WebExtension-4.0.gir
xmlstarlet tr JavaScriptCore-4.0.xsl JavaScriptCore-4.0.gir | xmlstarlet fo >JavaScriptCore-4.0.gir.tmp
mv JavaScriptCore-4.0.gir.tmp JavaScriptCore-4.0.gir
# fill in types from JavaScriptCore
xmlstarlet ed -L \
-i '///_:type[not(@name) and @c:type="JSGlobalContextRef"]' -t 'attr' -n 'name' -v "JavaScriptCore.GlobalContextRef" \
-i '///_:type[not(@name) and @c:type="JSValueRef"]' -t 'attr' -n 'name' -v "JavaScriptCore.ValueRef" \
WebKit2WebExtension-4.0.gir WebKit2-4.0.gir
xmlstarlet ed -L \
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type/@name' -v "guint" \
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type/@c:type' -v "guint" \
WebKit2WebExtension-4.0.gir

View File

@@ -1,16 +1,9 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="freetype2" version="2.0"
c:identifier-prefixes="FT"
c:symbol-prefixes="FT">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="freetype2" version="2.0" c:identifier-prefixes="FT" c:symbol-prefixes="FT">
<record name="Bitmap" c:type="FT_Bitmap"/>
<record name="Face" c:type="FT_Face"/>
<record name="Library" c:type="FT_Library"/>
<alias name="Int32" c:type="FT_Int32">
<type name="int32"/>
</alias>
<function name="library_version" c:identifier="FT_Library_Version">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="win32" version="1.0"
c:identifier-prefixes=""
c:symbol-prefixes="Win32">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="win32" version="1.0" c:identifier-prefixes="" c:symbol-prefixes="Win32">
<alias name="HWND" c:type="HWND">
<type name="guint" c:type="guint"/>
</alias>
@@ -16,4 +12,3 @@
</alias>
</namespace>
</repository>