[+] Vala includes
[-] Link archives
This commit is contained in:
Reece Wilson 2022-03-06 17:47:05 +00:00
parent 4bec033c6c
commit e65b32e9b9
360 changed files with 730113 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Protocol Buffers - Google's data interchange format
https://developers.google.com/protocol-buffers/
Copyright (C) 1998-2020 glib contributors - https://github.com/GNOME/glib
Copyright (C) 1998-2022 glib contributors - https://github.com/GNOME/glib
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
@ -52,4 +52,17 @@ LibFFI https://github.com/libffi/libffi
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
DEALINGS IN THE SOFTWARE.
M4 http://ftp.gnu.org/gnu/m4
Copyright (C) 1989-1994, 2004-2014, 2016-2017, 2020-2022 Free Software Foundation, Inc.
GNU M4 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
GNU M4 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

BIN
ccode.dll

Binary file not shown.

BIN
ccode.exp

Binary file not shown.

BIN
ccode.lib

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
gee.dll

Binary file not shown.

BIN
gee.exp

Binary file not shown.

BIN
gee.lib

Binary file not shown.

BIN
gidl.lib

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
libffi-7.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
libglib-2.0-0.dll Normal file

Binary file not shown.

BIN
libgmodule-2.0-0.dll Normal file

Binary file not shown.

BIN
libgobject-2.0-0.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
libintl-8.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
libpcre-1.dll Normal file

Binary file not shown.

BIN
libvala-0.54-0.dll Normal file

Binary file not shown.

BIN
libvalaccodegen.dll Normal file

Binary file not shown.

BIN
libwinpthread-1.dll Normal file

Binary file not shown.

BIN
m4.exe Normal file

Binary file not shown.

BIN
msys-iconv-2.dll Normal file

Binary file not shown.

BIN
pcre.dll

Binary file not shown.

BIN
vala.dll

Binary file not shown.

BIN
vala.exp

Binary file not shown.

BIN
vala.lib

Binary file not shown.

23682
vala/gir-1.0/Atk-1.0.gir Normal file

File diff suppressed because it is too large Load Diff

32
vala/gir-1.0/DBus-1.0.gir Normal file
View File

@ -0,0 +1,32 @@
<?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"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
c:identifier-prefixes="DBus"
c:symbol-prefixes="DBus">
<package name="dbus-1"/>
<namespace name="DBus"
version="1.0"
c:prefix="DBus">
<enumeration name="BusType" c:type="DBusBusType">
<member name="session" value="0" c:identifier="DBUS_BUS_SESSION"/>
<member name="system" value="1" c:identifier="DBUS_BUS_SYSTEM"/>
<member name="starter" value="2" c:identifier="DBUS_BUS_STARTER"/>
</enumeration>
<record name="Connection"
c:type="DBusConnection"
glib:type-name="DBusConnection"
glib:get-type="dbus_connection_get_type">
</record>
<record name="Error" c:type="DBusError">
</record>
<record name="Message"
c:type="DBusMessage">
</record>
<record name="MessageIter" c:type="DBusMessageIter">
</record>
<record name="PendingCall" c:type="DBusPendingCall">
</record>
</namespace>
</repository>

View File

@ -0,0 +1,18 @@
<?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"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
c:identifier-prefixes="DBus"
c:symbol-prefixes="DBus">
<include name="GObject" version="2.0"/>
<package name="dbus-glib-1"/>
<namespace name="DBusGLib" version="1.0" c:prefix="DBusG">
<record name="Connection" c:type="DBusGConnection"/>
<record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
<class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
</class>
<record name="ProxyClass" c:type="DBusGProxyClass"/>
</namespace>
</repository>

File diff suppressed because it is too large Load Diff

31
vala/gir-1.0/GL-1.0.gir Normal file
View File

@ -0,0 +1,31 @@
<?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="GL" version="1.0"
c:identifier-prefixes="GL"
c:symbol-prefixes="gl">
<record name="bitfield" c:type="GLbitfield"/>
<record name="charARB" c:type="GLcharARB"/>
<record name="clampf" c:type="GLclampf"/>
<record name="boolean" c:type="GLboolean"/>
<record name="enum" c:type="GLenum"/>
<record name="float" c:type="GLfloat"/>
<record name="handleARB" c:type="GLhandleARB"/>
<record name="int" c:type="GLint"/>
<record name="intptr" c:type="GLintptr"/>
<record name="sizei" c:type="GLsizei"/>
<record name="sizeiptr" c:type="GLsizeiptr"/>
<record name="uint" c:type="GLuint"/>
<record name="void" c:type="GLvoid"/>
<function name="InitNames" c:identifier="glInitNames">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

83281
vala/gir-1.0/GLib-2.0.gir Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,522 @@
<?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 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="GLib" version="2.0"/>
<package name="gmodule-2.0"/>
<c:include name="gmodule.h"/>
<namespace name="GModule"
version="2.0"
shared-library="libgmodule-2.0-0.dll"
c:identifier-prefixes="G"
c:symbol-prefixes="g">
<record name="Module" c:type="GModule" disguised="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="5">The #GModule struct is an opaque data structure to represent a
[dynamically-loaded module][glib-Dynamic-Loading-of-Modules].
It should only be accessed via the following functions.</doc>
<source-position filename="gmodule.h" line="65"/>
<method name="close" c:identifier="g_module_close">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="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="187">a #GModule to close</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
</method>
<method name="make_resident" c:identifier="g_module_make_resident">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="109"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="206">a #GModule to make permanently resident</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
</method>
<method name="name" c:identifier="g_module_name">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="123"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="215">a #GModule</doc>
<type name="Module" c:type="GModule*"/>
</instance-parameter>
</parameters>
</method>
<method name="symbol" c:identifier="g_module_symbol">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="117"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="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="276">the name of the symbol to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="symbol"
direction="out"
caller-allocates="0"
transfer-ownership="full"
nullable="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="277">returns the pointer to the symbol value</doc>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
</parameters>
</method>
<function name="build_path" c:identifier="g_module_build_path">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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.
The directory should specify the directory where the module can be found.
It can be %NULL or an empty string to indicate that the module is in a
standard platform-specific directory, though this is not recommended
since the wrong module may be found.
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="137"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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>
<parameters>
<parameter name="directory"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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*"/>
</parameter>
<parameter name="module_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="164">the name of the module</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="error" c:identifier="g_module_error">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="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="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="234">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="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="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>
</parameters>
</function>
<function name="supported" c:identifier="g_module_supported">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="269">%TRUE if modules are supported</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
</record>
<callback name="ModuleCheckInit" c:type="GModuleCheckInit">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="14">Specifies the type of the module initialization function.
If a module contains a function named g_module_check_init() it is called
automatically when the module is loaded. It is passed the #GModule structure
and should return %NULL on success or a string describing the initialization
error.</doc>
<source-position filename="gmodule.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="24">%NULL on success, or a string describing the initialization error</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="16">the #GModule corresponding to the module which has just been loaded</doc>
<type name="Module" c:type="GModule*"/>
</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"
line="44">Flags passed to g_module_open().
Note that these flags are not supported on all platforms.</doc>
<source-position filename="gmodule.h" line="63"/>
<member name="lazy" value="1" c:identifier="G_MODULE_BIND_LAZY">
<doc xml:space="preserve"
filename="gmodule.h"
line="46">specifies that symbols are only resolved when
needed. The default action is to bind all symbols when the module
is loaded.</doc>
</member>
<member name="local" value="2" c:identifier="G_MODULE_BIND_LOCAL">
<doc xml:space="preserve"
filename="gmodule.h"
line="49">specifies that symbols in the module should
not be added to the global name space. The default action on most
platforms is to place symbols in the module in the global name space,
which may cause conflicts with existing symbols.</doc>
</member>
<member name="mask" value="3" c:identifier="G_MODULE_BIND_MASK">
<doc xml:space="preserve"
filename="gmodule.h"
line="53">mask for all flags.</doc>
</member>
</bitfield>
<callback name="ModuleUnload" c:type="GModuleUnload">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="28">Specifies the type of the module function called when it is unloaded.
If a module contains a function named g_module_unload() it is called
automatically when the module is unloaded.
It is passed the #GModule structure.</doc>
<source-position filename="gmodule.h" line="67"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="module" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="30">the #GModule about to be unloaded</doc>
<type name="Module" c:type="GModule*"/>
</parameter>
</parameters>
</callback>
<function name="module_build_path"
c:identifier="g_module_build_path"
moved-to="Module.build_path">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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.
The directory should specify the directory where the module can be found.
It can be %NULL or an empty string to indicate that the module is in a
standard platform-specific directory, though this is not recommended
since the wrong module may be found.
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="137"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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>
<parameters>
<parameter name="directory"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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*"/>
</parameter>
<parameter name="module_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
line="164">the name of the module</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="module_error"
c:identifier="g_module_error"
moved-to="Module.error">
<doc xml:space="preserve"
filename="gmodule-2.0.c"
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="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="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="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="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.
A program which wants to use these functions must be linked to the
libraries output by the command `pkg-config --libs gmodule-2.0`.
To use them you must first determine whether dynamic loading
is supported on the platform by calling g_module_supported().
If it is, you can open a module with g_module_open(),
find the module's symbols (e.g. function names) with g_module_symbol(),
and later close the module with g_module_close().
g_module_name() will return the file name of a currently opened module.
If any of the above functions fail, the error status can be found with
g_module_error().
The #GModule implementation features reference counting for opened modules,
and supports hook functions within a module which are called when the
module is loaded and unloaded (see #GModuleCheckInit and #GModuleUnload).
If your module introduces static data to common subsystems in the running
program, e.g. through calling
`g_quark_from_static_string ("my-module-stuff")`,
it must ensure that it is never unloaded, by calling g_module_make_resident().
Example: Calling a function defined in a GModule
|[&lt;!-- language="C" --&gt;
// the function signature for 'say_hello'
typedef void (* SayHelloFunc) (const char *message);
gboolean
just_say_hello (const char *filename, GError **error)
{
SayHelloFunc say_hello;
GModule *module;
module = g_module_open (filename, G_MODULE_BIND_LAZY);
if (!module)
{
g_set_error (error, FOO_ERROR, FOO_ERROR_BLAH,
"%s", g_module_error ());
return FALSE;
}
if (!g_module_symbol (module, "say_hello", (gpointer *)&amp;say_hello))
{
g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN,
"%s: %s", filename, g_module_error ());
if (!g_module_close (module))
g_warning ("%s: %s", filename, g_module_error ());
return FALSE;
}
if (say_hello == NULL)
{
g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN,
"symbol say_hello is NULL");
if (!g_module_close (module))
g_warning ("%s: %s", filename, g_module_error ());
return FALSE;
}
// call our function in the module
say_hello ("Hello world!");
if (!g_module_close (module))
g_warning ("%s: %s", filename, g_module_error ());
return TRUE;
}
]|</doc>
</docsection>
</namespace>
</repository>

26265
vala/gir-1.0/GObject-2.0.gir Normal file

File diff suppressed because it is too large Load Diff

35687
vala/gir-1.0/Gdk-2.0.gir Normal file

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,460 @@
<?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 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="GdkPixbuf" version="2.0"/>
<package name="gdk-pixbuf-2.0"/>
<c:include name="gdk-pixbuf/gdk-pixdata.h"/>
<namespace name="GdkPixdata"
version="2.0"
shared-library="libgdk_pixbuf-2.0-0.dll"
c:identifier-prefixes="Gdk"
c:symbol-prefixes="gdk">
<constant name="PIXBUF_MAGIC_NUMBER"
value="1197763408"
c:type="GDK_PIXBUF_MAGIC_NUMBER">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="25">Magic number for #GdkPixdata structures.</doc>
<source-position filename="../gdk-pixbuf/gdk-pixdata.h" line="30"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="PIXDATA_HEADER_LENGTH"
value="24"
c:type="GDK_PIXDATA_HEADER_LENGTH"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
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"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
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.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.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.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.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.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.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.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>
</field>
<method name="deserialize"
c:identifier="gdk_pixdata_deserialize"
deprecated="1"
deprecated-version="2.32"
throws="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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`
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="97"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="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="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="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"/>
</array>
</parameter>
</parameters>
</method>
<method name="from_pixbuf"
c:identifier="gdk_pixdata_from_pixbuf"
introspectable="0"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="102"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="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="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="342">whether to use run-length encoding for the pixel data.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="serialize"
c:identifier="gdk_pixdata_serialize"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="94"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="120">A
newly-allocated string containing the serialized #GdkPixdata
structure.</doc>
<array length="0" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="pixdata" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="112">a valid #GdkPixdata structure to serialize.</doc>
<type name="Pixdata" c:type="const GdkPixdata*"/>
</instance-parameter>
<parameter name="stream_length_p"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="113">location to store the resulting stream length in.</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="to_csource"
c:identifier="gdk_pixdata_to_csource"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
line="711">Generates C source code suitable for compiling images directly
into programs.
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="156"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="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="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="715">the kind of C source to be generated</doc>
<type name="PixdataDumpType" c:type="GdkPixdataDumpType"/>
</parameter>
</parameters>
</method>
</record>
<bitfield name="PixdataDumpType"
deprecated="1"
deprecated-version="2.32"
c:type="GdkPixdataDumpType">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
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="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="111">Generate pixbuf data stream (a single
string containing a serialized #GdkPixdata structure in network byte
order).</doc>
</member>
<member name="pixdata_struct"
value="1"
c:identifier="GDK_PIXDATA_DUMP_PIXDATA_STRUCT">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
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="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;
macro definitions for the image.</doc>
</member>
<member name="gtypes" value="0" c:identifier="GDK_PIXDATA_DUMP_GTYPES">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
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="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="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="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="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"
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="67"/>
<member name="color_type_rgb"
value="1"
c:identifier="GDK_PIXDATA_COLOR_TYPE_RGB">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="34">each pixel has red, green and blue samples.</doc>
</member>
<member name="color_type_rgba"
value="2"
c:identifier="GDK_PIXDATA_COLOR_TYPE_RGBA">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="35">each pixel has red, green and blue samples
and an alpha value.</doc>
</member>
<member name="color_type_mask"
value="255"
c:identifier="GDK_PIXDATA_COLOR_TYPE_MASK">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="37">mask for the colortype flags of the enum.</doc>
</member>
<member name="sample_width_8"
value="65536"
c:identifier="GDK_PIXDATA_SAMPLE_WIDTH_8">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="38">each sample has 8 bits.</doc>
</member>
<member name="sample_width_mask"
value="983040"
c:identifier="GDK_PIXDATA_SAMPLE_WIDTH_MASK">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="39">mask for the sample width flags of the enum.</doc>
</member>
<member name="encoding_raw"
value="16777216"
c:identifier="GDK_PIXDATA_ENCODING_RAW">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="40">the pixel data is in raw form.</doc>
</member>
<member name="encoding_rle"
value="33554432"
c:identifier="GDK_PIXDATA_ENCODING_RLE">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="41">the pixel data is run-length encoded. Runs may
be up to 127 bytes long; their length is stored in a single byte
preceding the pixel data for the run. If a run is constant, its length
byte has the high bit set and the pixel data consists of a single pixel
which must be repeated.</doc>
</member>
<member name="encoding_mask"
value="251658240"
c:identifier="GDK_PIXDATA_ENCODING_MASK">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.h"
line="46">mask for the encoding flags of the enum.</doc>
</member>
</bitfield>
<function name="pixbuf_from_pixdata"
c:identifier="gdk_pixbuf_from_pixdata"
deprecated="1"
deprecated-version="2.32"
throws="1">
<doc xml:space="preserve"
filename="../gdk-pixbuf/gdk-pixdata.c"
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="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="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="441">whether to copy raw pixel data; run-length encoded
pixel data is always copied.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>

File diff suppressed because it is too large Load Diff

128737
vala/gir-1.0/Gio-2.0.gir Normal file

File diff suppressed because it is too large Load Diff

166097
vala/gir-1.0/Gtk-2.0.gir Normal file

File diff suppressed because it is too large Load Diff

24243
vala/gir-1.0/HarfBuzz-0.0.gir Normal file

File diff suppressed because it is too large Load Diff

22770
vala/gir-1.0/Pango-1.0.gir Normal file

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,679 @@
<?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 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-0.dll"
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"
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"
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"
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"
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"
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"
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"
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"
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.
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"
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"
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"
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"
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"
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"
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"
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"
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"
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.
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"
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">
<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"
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"
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"
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"
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"
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"
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"
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"
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
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
filename="../pango/pangoft2-render.c"
line="694">Renders a `PangoGlyphString` onto a FreeType2 bitmap, possibly
transforming the layed-out coordinates through a transformation
matrix.
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"
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"
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"
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"
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"
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"
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"
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>
</function>
</namespace>
</repository>

1254
vala/gir-1.0/PangoFc-1.0.gir Normal file

File diff suppressed because it is too large Load Diff

1523
vala/gir-1.0/PangoOT-1.0.gir Normal file

File diff suppressed because it is too large Load Diff

14774
vala/gir-1.0/Poppler-0.18.gir Normal file

File diff suppressed because it is too large Load Diff

2476
vala/gir-1.0/Rsvg-2.0.gir Normal file

File diff suppressed because it is too large Load Diff

799
vala/gir-1.0/Vulkan-1.0.gir Normal file
View File

@ -0,0 +1,799 @@
<?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="Vulkan" version="1.0"
c:identifier-prefixes="VK"
c:symbol-prefixes="vk">
<record name="Flags" c:type="VkFlags"/>
<record name="Bool32" c:type="VkBool32"/>
<record name="DeviceSize" c:type="VkDeviceSize"/>
<record name="SampleMask" c:type="VkSampleMask"/>
<record name="Instance" c:type="VkInstance"/>
<record name="PhysicalDevice" c:type="VkPhysicalDevice"/>
<record name="Device" c:type="VkDevice"/>
<record name="Queue" c:type="VkQueue"/>
<record name="Semaphore" c:type="VkSemaphore"/>
<record name="CommandBuffer" c:type="VkCommandBuffer"/>
<record name="Fence" c:type="VkFence"/>
<record name="DeviceMemory" c:type="VkDeviceMemory"/>
<record name="Buffer" c:type="VkBuffer"/>
<record name="Image" c:type="VkImage"/>
<record name="Event" c:type="VkEvent"/>
<record name="QueryPool" c:type="VkQueryPool"/>
<record name="BufferView" c:type="VkBufferView"/>
<record name="ImageView" c:type="VkImageView"/>
<record name="ShaderModule" c:type="VkShaderModule"/>
<record name="PipelineCache" c:type="VkPipelineCache"/>
<record name="PipelineLayout" c:type="VkPipelineLayout"/>
<record name="RenderPass" c:type="VkRenderPass"/>
<record name="Pipeline" c:type="VkPipeline"/>
<record name="DescriptorSetLayout" c:type="VkDescriptorSetLayout"/>
<record name="Sampler" c:type="VkSampler"/>
<record name="DescriptorPool" c:type="VkDescriptorPool"/>
<record name="DescriptorSet" c:type="VkDescriptorSet"/>
<record name="Framebuffer" c:type="VkFramebuffer"/>
<record name="CommandPool" c:type="VkCommandPool"/>
<record name="PipelineCacheHeaderVersion" c:type="VkPipelineCacheHeaderVersion"/>
<record name="Result" c:type="VkResult"/>
<record name="StructureType" c:type="VkStructureType"/>
<record name="SystemAllocationScope" c:type="VkSystemAllocationScope"/>
<record name="InternalAllocationType" c:type="VkInternalAllocationType"/>
<record name="Format" c:type="VkFormat"/>
<record name="ImageType" c:type="VkImageType"/>
<record name="ImageTiling" c:type="VkImageTiling"/>
<record name="PhysicalDeviceType" c:type="VkPhysicalDeviceType"/>
<record name="QueryType" c:type="VkQueryType"/>
<record name="SharingMode" c:type="VkSharingMode"/>
<record name="ImageLayout" c:type="VkImageLayout"/>
<record name="ImageViewType" c:type="VkImageViewType"/>
<record name="ComponentSwizzle" c:type="VkComponentSwizzle"/>
<record name="VertexInputRate" c:type="VkVertexInputRate"/>
<record name="PrimitiveTopology" c:type="VkPrimitiveTopology"/>
<record name="PolygonMode" c:type="VkPolygonMode"/>
<record name="FrontFace" c:type="VkFrontFace"/>
<record name="CompareOp" c:type="VkCompareOp"/>
<record name="StencilOp" c:type="VkStencilOp"/>
<record name="LogicOp" c:type="VkLogicOp"/>
<record name="BlendFactor" c:type="VkBlendFactor"/>
<record name="BlendOp" c:type="VkBlendOp"/>
<record name="DynamicState" c:type="VkDynamicState"/>
<record name="Filter" c:type="VkFilter"/>
<record name="SamplerMipmapMode" c:type="VkSamplerMipmapMode"/>
<record name="SamplerAddressMode" c:type="VkSamplerAddressMode"/>
<record name="BorderColor" c:type="VkBorderColor"/>
<record name="DescriptorType" c:type="VkDescriptorType"/>
<record name="AttachmentLoadOp" c:type="VkAttachmentLoadOp"/>
<record name="AttachmentStoreOp" c:type="VkAttachmentStoreOp"/>
<record name="PipelineBindPoint" c:type="VkPipelineBindPoint"/>
<record name="CommandBufferLevel" c:type="VkCommandBufferLevel"/>
<record name="IndexType" c:type="VkIndexType"/>
<record name="SubpassContents" c:type="VkSubpassContents"/>
<record name="ObjectType" c:type="VkObjectType"/>
<record name="VendorId" c:type="VkVendorId"/>
<record name="InstanceCreateFlags" c:type="VkInstanceCreateFlags"/>
<record name="FormatFeatureFlagBits" c:type="VkFormatFeatureFlagBits"/>
<record name="FormatFeatureFlags" c:type="VkFormatFeatureFlags"/>
<record name="ImageUsageFlagBits" c:type="VkImageUsageFlagBits"/>
<record name="ImageUsageFlags" c:type="VkImageUsageFlags"/>
<record name="ImageCreateFlagBits" c:type="VkImageCreateFlagBits"/>
<record name="ImageCreateFlags" c:type="VkImageCreateFlags"/>
<record name="SampleCountFlagBits" c:type="VkSampleCountFlagBits"/>
<record name="SampleCountFlags" c:type="VkSampleCountFlags"/>
<record name="QueueFlagBits" c:type="VkQueueFlagBits"/>
<record name="QueueFlags" c:type="VkQueueFlags"/>
<record name="MemoryPropertyFlagBits" c:type="VkMemoryPropertyFlagBits"/>
<record name="MemoryPropertyFlags" c:type="VkMemoryPropertyFlags"/>
<record name="MemoryHeapFlagBits" c:type="VkMemoryHeapFlagBits"/>
<record name="MemoryHeapFlags" c:type="VkMemoryHeapFlags"/>
<record name="DeviceCreateFlags" c:type="VkDeviceCreateFlags"/>
<record name="DeviceQueueCreateFlagBits" c:type="VkDeviceQueueCreateFlagBits"/>
<record name="DeviceQueueCreateFlags" c:type="VkDeviceQueueCreateFlags"/>
<record name="PipelineStageFlagBits" c:type="VkPipelineStageFlagBits"/>
<record name="PipelineStageFlags" c:type="VkPipelineStageFlags"/>
<record name="MemoryMapFlags" c:type="VkMemoryMapFlags"/>
<record name="ImageAspectFlagBits" c:type="VkImageAspectFlagBits"/>
<record name="ImageAspectFlags" c:type="VkImageAspectFlags"/>
<record name="SparseImageFormatFlagBits" c:type="VkSparseImageFormatFlagBits"/>
<record name="SparseImageFormatFlags" c:type="VkSparseImageFormatFlags"/>
<record name="SparseMemoryBindFlagBits" c:type="VkSparseMemoryBindFlagBits"/>
<record name="SparseMemoryBindFlags" c:type="VkSparseMemoryBindFlags"/>
<record name="FenceCreateFlagBits" c:type="VkFenceCreateFlagBits"/>
<record name="FenceCreateFlags" c:type="VkFenceCreateFlags"/>
<record name="SemaphoreCreateFlags" c:type="VkSemaphoreCreateFlags"/>
<record name="EventCreateFlags" c:type="VkEventCreateFlags"/>
<record name="QueryPoolCreateFlags" c:type="VkQueryPoolCreateFlags"/>
<record name="QueryPipelineStatisticFlagBits" c:type="VkQueryPipelineStatisticFlagBits"/>
<record name="QueryPipelineStatisticFlags" c:type="VkQueryPipelineStatisticFlags"/>
<record name="QueryResultFlagBits" c:type="VkQueryResultFlagBits"/>
<record name="QueryResultFlags" c:type="VkQueryResultFlags"/>
<record name="BufferCreateFlagBits" c:type="VkBufferCreateFlagBits"/>
<record name="BufferCreateFlags" c:type="VkBufferCreateFlags"/>
<record name="BufferUsageFlagBits" c:type="VkBufferUsageFlagBits"/>
<record name="BufferUsageFlags" c:type="VkBufferUsageFlags"/>
<record name="BufferViewCreateFlags" c:type="VkBufferViewCreateFlags"/>
<record name="ImageViewCreateFlagBits" c:type="VkImageViewCreateFlagBits"/>
<record name="ImageViewCreateFlags" c:type="VkImageViewCreateFlags"/>
<record name="ShaderModuleCreateFlags" c:type="VkShaderModuleCreateFlags"/>
<record name="PipelineCacheCreateFlags" c:type="VkPipelineCacheCreateFlags"/>
<record name="PipelineCreateFlagBits" c:type="VkPipelineCreateFlagBits"/>
<record name="PipelineCreateFlags" c:type="VkPipelineCreateFlags"/>
<record name="PipelineShaderStageCreateFlags" c:type="VkPipelineShaderStageCreateFlags"/>
<record name="ShaderStageFlagBits" c:type="VkShaderStageFlagBits"/>
<record name="PipelineVertexInputStateCreateFlags" c:type="VkPipelineVertexInputStateCreateFlags"/>
<record name="PipelineInputAssemblyStateCreateFlags" c:type="VkPipelineInputAssemblyStateCreateFlags"/>
<record name="PipelineTessellationStateCreateFlags" c:type="VkPipelineTessellationStateCreateFlags"/>
<record name="PipelineViewportStateCreateFlags" c:type="VkPipelineViewportStateCreateFlags"/>
<record name="PipelineRasterizationStateCreateFlags" c:type="VkPipelineRasterizationStateCreateFlags"/>
<record name="CullModeFlagBits" c:type="VkCullModeFlagBits"/>
<record name="CullModeFlags" c:type="VkCullModeFlags"/>
<record name="PipelineMultisampleStateCreateFlags" c:type="VkPipelineMultisampleStateCreateFlags"/>
<record name="PipelineDepthStencilStateCreateFlags" c:type="VkPipelineDepthStencilStateCreateFlags"/>
<record name="PipelineColorBlendStateCreateFlags" c:type="VkPipelineColorBlendStateCreateFlags"/>
<record name="ColorComponentFlagBits" c:type="VkColorComponentFlagBits"/>
<record name="ColorComponentFlags" c:type="VkColorComponentFlags"/>
<record name="PipelineDynamicStateCreateFlags" c:type="VkPipelineDynamicStateCreateFlags"/>
<record name="PipelineLayoutCreateFlags" c:type="VkPipelineLayoutCreateFlags"/>
<record name="ShaderStageFlags" c:type="VkShaderStageFlags"/>
<record name="SamplerCreateFlagBits" c:type="VkSamplerCreateFlagBits"/>
<record name="SamplerCreateFlags" c:type="VkSamplerCreateFlags"/>
<record name="DescriptorSetLayoutCreateFlagBits" c:type="VkDescriptorSetLayoutCreateFlagBits"/>
<record name="DescriptorSetLayoutCreateFlags" c:type="VkDescriptorSetLayoutCreateFlags"/>
<record name="DescriptorPoolCreateFlagBits" c:type="VkDescriptorPoolCreateFlagBits"/>
<record name="DescriptorPoolCreateFlags" c:type="VkDescriptorPoolCreateFlags"/>
<record name="DescriptorPoolResetFlags" c:type="VkDescriptorPoolResetFlags"/>
<record name="FramebufferCreateFlags" c:type="VkFramebufferCreateFlags"/>
<record name="RenderPassCreateFlags" c:type="VkRenderPassCreateFlags"/>
<record name="AttachmentDescriptionFlagBits" c:type="VkAttachmentDescriptionFlagBits"/>
<record name="AttachmentDescriptionFlags" c:type="VkAttachmentDescriptionFlags"/>
<record name="SubpassDescriptionFlagBits" c:type="VkSubpassDescriptionFlagBits"/>
<record name="SubpassDescriptionFlags" c:type="VkSubpassDescriptionFlags"/>
<record name="AccessFlagBits" c:type="VkAccessFlagBits"/>
<record name="AccessFlags" c:type="VkAccessFlags"/>
<record name="DependencyFlagBits" c:type="VkDependencyFlagBits"/>
<record name="DependencyFlags" c:type="VkDependencyFlags"/>
<record name="CommandPoolCreateFlagBits" c:type="VkCommandPoolCreateFlagBits"/>
<record name="CommandPoolCreateFlags" c:type="VkCommandPoolCreateFlags"/>
<record name="CommandPoolResetFlagBits" c:type="VkCommandPoolResetFlagBits"/>
<record name="CommandPoolResetFlags" c:type="VkCommandPoolResetFlags"/>
<record name="CommandBufferUsageFlagBits" c:type="VkCommandBufferUsageFlagBits"/>
<record name="CommandBufferUsageFlags" c:type="VkCommandBufferUsageFlags"/>
<record name="QueryControlFlagBits" c:type="VkQueryControlFlagBits"/>
<record name="QueryControlFlags" c:type="VkQueryControlFlags"/>
<record name="CommandBufferResetFlagBits" c:type="VkCommandBufferResetFlagBits"/>
<record name="CommandBufferResetFlags" c:type="VkCommandBufferResetFlags"/>
<record name="StencilFaceFlagBits" c:type="VkStencilFaceFlagBits"/>
<record name="StencilFaceFlags" c:type="VkStencilFaceFlags"/>
<record name="ApplicationInfo" c:type="VkApplicationInfo"/>
<record name="InstanceCreateInfo" c:type="VkInstanceCreateInfo"/>
<record name="AllocationCallbacks" c:type="VkAllocationCallbacks"/>
<record name="PhysicalDeviceFeatures" c:type="VkPhysicalDeviceFeatures"/>
<record name="FormatProperties" c:type="VkFormatProperties"/>
<record name="Extent3D" c:type="VkExtent3D"/>
<record name="ImageFormatProperties" c:type="VkImageFormatProperties"/>
<record name="PhysicalDeviceLimits" c:type="VkPhysicalDeviceLimits"/>
<record name="PhysicalDeviceSparseProperties" c:type="VkPhysicalDeviceSparseProperties"/>
<record name="PhysicalDeviceProperties" c:type="VkPhysicalDeviceProperties"/>
<record name="QueueFamilyProperties" c:type="VkQueueFamilyProperties"/>
<record name="MemoryType" c:type="VkMemoryType"/>
<record name="MemoryHeap" c:type="VkMemoryHeap"/>
<record name="PhysicalDeviceMemoryProperties" c:type="VkPhysicalDeviceMemoryProperties"/>
<record name="DeviceQueueCreateInfo" c:type="VkDeviceQueueCreateInfo"/>
<record name="DeviceCreateInfo" c:type="VkDeviceCreateInfo"/>
<record name="ExtensionProperties" c:type="VkExtensionProperties"/>
<record name="LayerProperties" c:type="VkLayerProperties"/>
<record name="SubmitInfo" c:type="VkSubmitInfo"/>
<record name="MemoryAllocateInfo" c:type="VkMemoryAllocateInfo"/>
<record name="MappedMemoryRange" c:type="VkMappedMemoryRange"/>
<record name="MemoryRequirements" c:type="VkMemoryRequirements"/>
<record name="SparseImageFormatProperties" c:type="VkSparseImageFormatProperties"/>
<record name="SparseImageMemoryRequirements" c:type="VkSparseImageMemoryRequirements"/>
<record name="SparseMemoryBind" c:type="VkSparseMemoryBind"/>
<record name="SparseBufferMemoryBindInfo" c:type="VkSparseBufferMemoryBindInfo"/>
<record name="SparseImageOpaqueMemoryBindInfo" c:type="VkSparseImageOpaqueMemoryBindInfo"/>
<record name="ImageSubresource" c:type="VkImageSubresource"/>
<record name="Offset3D" c:type="VkOffset3D"/>
<record name="SparseImageMemoryBind" c:type="VkSparseImageMemoryBind"/>
<record name="SparseImageMemoryBindInfo" c:type="VkSparseImageMemoryBindInfo"/>
<record name="BindSparseInfo" c:type="VkBindSparseInfo"/>
<record name="FenceCreateInfo" c:type="VkFenceCreateInfo"/>
<record name="SemaphoreCreateInfo" c:type="VkSemaphoreCreateInfo"/>
<record name="EventCreateInfo" c:type="VkEventCreateInfo"/>
<record name="QueryPoolCreateInfo" c:type="VkQueryPoolCreateInfo"/>
<record name="BufferCreateInfo" c:type="VkBufferCreateInfo"/>
<record name="BufferViewCreateInfo" c:type="VkBufferViewCreateInfo"/>
<record name="ImageCreateInfo" c:type="VkImageCreateInfo"/>
<record name="SubresourceLayout" c:type="VkSubresourceLayout"/>
<record name="ComponentMapping" c:type="VkComponentMapping"/>
<record name="ImageSubresourceRange" c:type="VkImageSubresourceRange"/>
<record name="ImageViewCreateInfo" c:type="VkImageViewCreateInfo"/>
<record name="ShaderModuleCreateInfo" c:type="VkShaderModuleCreateInfo"/>
<record name="PipelineCacheCreateInfo" c:type="VkPipelineCacheCreateInfo"/>
<record name="SpecializationMapEntry" c:type="VkSpecializationMapEntry"/>
<record name="SpecializationInfo" c:type="VkSpecializationInfo"/>
<record name="PipelineShaderStageCreateInfo" c:type="VkPipelineShaderStageCreateInfo"/>
<record name="VertexInputBindingDescription" c:type="VkVertexInputBindingDescription"/>
<record name="VertexInputAttributeDescription" c:type="VkVertexInputAttributeDescription"/>
<record name="PipelineVertexInputStateCreateInfo" c:type="VkPipelineVertexInputStateCreateInfo"/>
<record name="PipelineInputAssemblyStateCreateInfo" c:type="VkPipelineInputAssemblyStateCreateInfo"/>
<record name="PipelineTessellationStateCreateInfo" c:type="VkPipelineTessellationStateCreateInfo"/>
<record name="Viewport" c:type="VkViewport"/>
<record name="Offset2D" c:type="VkOffset2D"/>
<record name="Extent2D" c:type="VkExtent2D"/>
<record name="Rect2D" c:type="VkRect2D"/>
<record name="PipelineViewportStateCreateInfo" c:type="VkPipelineViewportStateCreateInfo"/>
<record name="PipelineRasterizationStateCreateInfo" c:type="VkPipelineRasterizationStateCreateInfo"/>
<record name="PipelineMultisampleStateCreateInfo" c:type="VkPipelineMultisampleStateCreateInfo"/>
<record name="StencilOpState" c:type="VkStencilOpState"/>
<record name="PipelineDepthStencilStateCreateInfo" c:type="VkPipelineDepthStencilStateCreateInfo"/>
<record name="PipelineColorBlendAttachmentState" c:type="VkPipelineColorBlendAttachmentState"/>
<record name="PipelineColorBlendStateCreateInfo" c:type="VkPipelineColorBlendStateCreateInfo"/>
<record name="PipelineDynamicStateCreateInfo" c:type="VkPipelineDynamicStateCreateInfo"/>
<record name="GraphicsPipelineCreateInfo" c:type="VkGraphicsPipelineCreateInfo"/>
<record name="ComputePipelineCreateInfo" c:type="VkComputePipelineCreateInfo"/>
<record name="PushConstantRange" c:type="VkPushConstantRange"/>
<record name="PipelineLayoutCreateInfo" c:type="VkPipelineLayoutCreateInfo"/>
<record name="SamplerCreateInfo" c:type="VkSamplerCreateInfo"/>
<record name="DescriptorSetLayoutBinding" c:type="VkDescriptorSetLayoutBinding"/>
<record name="DescriptorSetLayoutCreateInfo" c:type="VkDescriptorSetLayoutCreateInfo"/>
<record name="DescriptorPoolSize" c:type="VkDescriptorPoolSize"/>
<record name="DescriptorPoolCreateInfo" c:type="VkDescriptorPoolCreateInfo"/>
<record name="DescriptorSetAllocateInfo" c:type="VkDescriptorSetAllocateInfo"/>
<record name="DescriptorImageInfo" c:type="VkDescriptorImageInfo"/>
<record name="DescriptorBufferInfo" c:type="VkDescriptorBufferInfo"/>
<record name="WriteDescriptorSet" c:type="VkWriteDescriptorSet"/>
<record name="CopyDescriptorSet" c:type="VkCopyDescriptorSet"/>
<record name="FramebufferCreateInfo" c:type="VkFramebufferCreateInfo"/>
<record name="AttachmentDescription" c:type="VkAttachmentDescription"/>
<record name="AttachmentReference" c:type="VkAttachmentReference"/>
<record name="SubpassDescription" c:type="VkSubpassDescription"/>
<record name="SubpassDependency" c:type="VkSubpassDependency"/>
<record name="RenderPassCreateInfo" c:type="VkRenderPassCreateInfo"/>
<record name="CommandPoolCreateInfo" c:type="VkCommandPoolCreateInfo"/>
<record name="CommandBufferAllocateInfo" c:type="VkCommandBufferAllocateInfo"/>
<record name="CommandBufferInheritanceInfo" c:type="VkCommandBufferInheritanceInfo"/>
<record name="CommandBufferBeginInfo" c:type="VkCommandBufferBeginInfo"/>
<record name="BufferCopy" c:type="VkBufferCopy"/>
<record name="ImageSubresourceLayers" c:type="VkImageSubresourceLayers"/>
<record name="ImageCopy" c:type="VkImageCopy"/>
<record name="ImageBlit" c:type="VkImageBlit"/>
<record name="BufferImageCopy" c:type="VkBufferImageCopy"/>
<record name="ClearColorValue" c:type="VkClearColorValue"/>
<record name="ClearDepthStencilValue" c:type="VkClearDepthStencilValue"/>
<record name="ClearValue" c:type="VkClearValue"/>
<record name="ClearAttachment" c:type="VkClearAttachment"/>
<record name="ClearRect" c:type="VkClearRect"/>
<record name="ImageResolve" c:type="VkImageResolve"/>
<record name="MemoryBarrier" c:type="VkMemoryBarrier"/>
<record name="BufferMemoryBarrier" c:type="VkBufferMemoryBarrier"/>
<record name="ImageMemoryBarrier" c:type="VkImageMemoryBarrier"/>
<record name="RenderPassBeginInfo" c:type="VkRenderPassBeginInfo"/>
<record name="DispatchIndirectCommand" c:type="VkDispatchIndirectCommand"/>
<record name="DrawIndexedIndirectCommand" c:type="VkDrawIndexedIndirectCommand"/>
<record name="DrawIndirectCommand" c:type="VkDrawIndirectCommand"/>
<record name="BaseOutStructure" c:type="VkBaseOutStructure"/>
<record name="BaseInStructure" c:type="VkBaseInStructure"/>
<record name="SamplerYcbcrConversion" c:type="VkSamplerYcbcrConversion"/>
<record name="DescriptorUpdateTemplate" c:type="VkDescriptorUpdateTemplate"/>
<record name="PointClippingBehavior" c:type="VkPointClippingBehavior"/>
<record name="TessellationDomainOrigin" c:type="VkTessellationDomainOrigin"/>
<record name="SamplerYcbcrModelConversion" c:type="VkSamplerYcbcrModelConversion"/>
<record name="SamplerYcbcrRange" c:type="VkSamplerYcbcrRange"/>
<record name="ChromaLocation" c:type="VkChromaLocation"/>
<record name="DescriptorUpdateTemplateType" c:type="VkDescriptorUpdateTemplateType"/>
<record name="SubgroupFeatureFlagBits" c:type="VkSubgroupFeatureFlagBits"/>
<record name="SubgroupFeatureFlags" c:type="VkSubgroupFeatureFlags"/>
<record name="PeerMemoryFeatureFlagBits" c:type="VkPeerMemoryFeatureFlagBits"/>
<record name="PeerMemoryFeatureFlags" c:type="VkPeerMemoryFeatureFlags"/>
<record name="MemoryAllocateFlagBits" c:type="VkMemoryAllocateFlagBits"/>
<record name="MemoryAllocateFlags" c:type="VkMemoryAllocateFlags"/>
<record name="CommandPoolTrimFlags" c:type="VkCommandPoolTrimFlags"/>
<record name="DescriptorUpdateTemplateCreateFlags" c:type="VkDescriptorUpdateTemplateCreateFlags"/>
<record name="ExternalMemoryHandleTypeFlagBits" c:type="VkExternalMemoryHandleTypeFlagBits"/>
<record name="ExternalMemoryHandleTypeFlags" c:type="VkExternalMemoryHandleTypeFlags"/>
<record name="ExternalMemoryFeatureFlagBits" c:type="VkExternalMemoryFeatureFlagBits"/>
<record name="ExternalMemoryFeatureFlags" c:type="VkExternalMemoryFeatureFlags"/>
<record name="ExternalFenceHandleTypeFlagBits" c:type="VkExternalFenceHandleTypeFlagBits"/>
<record name="ExternalFenceHandleTypeFlags" c:type="VkExternalFenceHandleTypeFlags"/>
<record name="ExternalFenceFeatureFlagBits" c:type="VkExternalFenceFeatureFlagBits"/>
<record name="ExternalFenceFeatureFlags" c:type="VkExternalFenceFeatureFlags"/>
<record name="FenceImportFlagBits" c:type="VkFenceImportFlagBits"/>
<record name="FenceImportFlags" c:type="VkFenceImportFlags"/>
<record name="SemaphoreImportFlagBits" c:type="VkSemaphoreImportFlagBits"/>
<record name="SemaphoreImportFlags" c:type="VkSemaphoreImportFlags"/>
<record name="ExternalSemaphoreHandleTypeFlagBits" c:type="VkExternalSemaphoreHandleTypeFlagBits"/>
<record name="ExternalSemaphoreHandleTypeFlags" c:type="VkExternalSemaphoreHandleTypeFlags"/>
<record name="ExternalSemaphoreFeatureFlagBits" c:type="VkExternalSemaphoreFeatureFlagBits"/>
<record name="ExternalSemaphoreFeatureFlags" c:type="VkExternalSemaphoreFeatureFlags"/>
<record name="PhysicalDeviceSubgroupProperties" c:type="VkPhysicalDeviceSubgroupProperties"/>
<record name="BindBufferMemoryInfo" c:type="VkBindBufferMemoryInfo"/>
<record name="BindImageMemoryInfo" c:type="VkBindImageMemoryInfo"/>
<record name="PhysicalDevice16BitStorageFeatures" c:type="VkPhysicalDevice16BitStorageFeatures"/>
<record name="MemoryDedicatedRequirements" c:type="VkMemoryDedicatedRequirements"/>
<record name="MemoryDedicatedAllocateInfo" c:type="VkMemoryDedicatedAllocateInfo"/>
<record name="MemoryAllocateFlagsInfo" c:type="VkMemoryAllocateFlagsInfo"/>
<record name="DeviceGroupRenderPassBeginInfo" c:type="VkDeviceGroupRenderPassBeginInfo"/>
<record name="DeviceGroupCommandBufferBeginInfo" c:type="VkDeviceGroupCommandBufferBeginInfo"/>
<record name="DeviceGroupSubmitInfo" c:type="VkDeviceGroupSubmitInfo"/>
<record name="DeviceGroupBindSparseInfo" c:type="VkDeviceGroupBindSparseInfo"/>
<record name="BindBufferMemoryDeviceGroupInfo" c:type="VkBindBufferMemoryDeviceGroupInfo"/>
<record name="BindImageMemoryDeviceGroupInfo" c:type="VkBindImageMemoryDeviceGroupInfo"/>
<record name="PhysicalDeviceGroupProperties" c:type="VkPhysicalDeviceGroupProperties"/>
<record name="DeviceGroupDeviceCreateInfo" c:type="VkDeviceGroupDeviceCreateInfo"/>
<record name="BufferMemoryRequirementsInfo2" c:type="VkBufferMemoryRequirementsInfo2"/>
<record name="ImageMemoryRequirementsInfo2" c:type="VkImageMemoryRequirementsInfo2"/>
<record name="ImageSparseMemoryRequirementsInfo2" c:type="VkImageSparseMemoryRequirementsInfo2"/>
<record name="MemoryRequirements2" c:type="VkMemoryRequirements2"/>
<record name="MemoryRequirements2KHR" c:type="VkMemoryRequirements2KHR"/>
<record name="SparseImageMemoryRequirements2" c:type="VkSparseImageMemoryRequirements2"/>
<record name="PhysicalDeviceFeatures2" c:type="VkPhysicalDeviceFeatures2"/>
<record name="PhysicalDeviceProperties2" c:type="VkPhysicalDeviceProperties2"/>
<record name="FormatProperties2" c:type="VkFormatProperties2"/>
<record name="ImageFormatProperties2" c:type="VkImageFormatProperties2"/>
<record name="PhysicalDeviceImageFormatInfo2" c:type="VkPhysicalDeviceImageFormatInfo2"/>
<record name="QueueFamilyProperties2" c:type="VkQueueFamilyProperties2"/>
<record name="PhysicalDeviceMemoryProperties2" c:type="VkPhysicalDeviceMemoryProperties2"/>
<record name="SparseImageFormatProperties2" c:type="VkSparseImageFormatProperties2"/>
<record name="PhysicalDeviceSparseImageFormatInfo2" c:type="VkPhysicalDeviceSparseImageFormatInfo2"/>
<record name="PhysicalDevicePointClippingProperties" c:type="VkPhysicalDevicePointClippingProperties"/>
<record name="InputAttachmentAspectReference" c:type="VkInputAttachmentAspectReference"/>
<record name="RenderPassInputAttachmentAspectCreateInfo" c:type="VkRenderPassInputAttachmentAspectCreateInfo"/>
<record name="ImageViewUsageCreateInfo" c:type="VkImageViewUsageCreateInfo"/>
<record name="PipelineTessellationDomainOriginStateCreateInfo" c:type="VkPipelineTessellationDomainOriginStateCreateInfo"/>
<record name="RenderPassMultiviewCreateInfo" c:type="VkRenderPassMultiviewCreateInfo"/>
<record name="PhysicalDeviceMultiviewFeatures" c:type="VkPhysicalDeviceMultiviewFeatures"/>
<record name="PhysicalDeviceMultiviewProperties" c:type="VkPhysicalDeviceMultiviewProperties"/>
<record name="PhysicalDeviceVariablePointersFeatures" c:type="VkPhysicalDeviceVariablePointersFeatures"/>
<record name="PhysicalDeviceVariablePointerFeatures" c:type="VkPhysicalDeviceVariablePointerFeatures"/>
<record name="PhysicalDeviceProtectedMemoryFeatures" c:type="VkPhysicalDeviceProtectedMemoryFeatures"/>
<record name="PhysicalDeviceProtectedMemoryProperties" c:type="VkPhysicalDeviceProtectedMemoryProperties"/>
<record name="DeviceQueueInfo2" c:type="VkDeviceQueueInfo2"/>
<record name="ProtectedSubmitInfo" c:type="VkProtectedSubmitInfo"/>
<record name="SamplerYcbcrConversionCreateInfo" c:type="VkSamplerYcbcrConversionCreateInfo"/>
<record name="SamplerYcbcrConversionInfo" c:type="VkSamplerYcbcrConversionInfo"/>
<record name="BindImagePlaneMemoryInfo" c:type="VkBindImagePlaneMemoryInfo"/>
<record name="ImagePlaneMemoryRequirementsInfo" c:type="VkImagePlaneMemoryRequirementsInfo"/>
<record name="PhysicalDeviceSamplerYcbcrConversionFeatures" c:type="VkPhysicalDeviceSamplerYcbcrConversionFeatures"/>
<record name="SamplerYcbcrConversionImageFormatProperties" c:type="VkSamplerYcbcrConversionImageFormatProperties"/>
<record name="DescriptorUpdateTemplateEntry" c:type="VkDescriptorUpdateTemplateEntry"/>
<record name="DescriptorUpdateTemplateCreateInfo" c:type="VkDescriptorUpdateTemplateCreateInfo"/>
<record name="ExternalMemoryProperties" c:type="VkExternalMemoryProperties"/>
<record name="PhysicalDeviceExternalImageFormatInfo" c:type="VkPhysicalDeviceExternalImageFormatInfo"/>
<record name="ExternalImageFormatProperties" c:type="VkExternalImageFormatProperties"/>
<record name="PhysicalDeviceExternalBufferInfo" c:type="VkPhysicalDeviceExternalBufferInfo"/>
<record name="ExternalBufferProperties" c:type="VkExternalBufferProperties"/>
<record name="PhysicalDeviceIDProperties" c:type="VkPhysicalDeviceIDProperties"/>
<record name="ExternalMemoryImageCreateInfo" c:type="VkExternalMemoryImageCreateInfo"/>
<record name="ExternalMemoryBufferCreateInfo" c:type="VkExternalMemoryBufferCreateInfo"/>
<record name="ExportMemoryAllocateInfo" c:type="VkExportMemoryAllocateInfo"/>
<record name="PhysicalDeviceExternalFenceInfo" c:type="VkPhysicalDeviceExternalFenceInfo"/>
<record name="ExternalFenceProperties" c:type="VkExternalFenceProperties"/>
<record name="ExportFenceCreateInfo" c:type="VkExportFenceCreateInfo"/>
<record name="ExportSemaphoreCreateInfo" c:type="VkExportSemaphoreCreateInfo"/>
<record name="PhysicalDeviceExternalSemaphoreInfo" c:type="VkPhysicalDeviceExternalSemaphoreInfo"/>
<record name="ExternalSemaphoreProperties" c:type="VkExternalSemaphoreProperties"/>
<record name="PhysicalDeviceMaintenance3Properties" c:type="VkPhysicalDeviceMaintenance3Properties"/>
<record name="DescriptorSetLayoutSupport" c:type="VkDescriptorSetLayoutSupport"/>
<record name="PhysicalDeviceShaderDrawParametersFeatures" c:type="VkPhysicalDeviceShaderDrawParametersFeatures"/>
<record name="PhysicalDeviceShaderDrawParameterFeatures" c:type="VkPhysicalDeviceShaderDrawParameterFeatures"/>
<record name="SurfaceKHR" c:type="VkSurfaceKHR"/>
<record name="ColorSpaceKHR" c:type="VkColorSpaceKHR"/>
<record name="PresentModeKHR" c:type="VkPresentModeKHR"/>
<record name="SurfaceTransformFlagBitsKHR" c:type="VkSurfaceTransformFlagBitsKHR"/>
<record name="SurfaceTransformFlagsKHR" c:type="VkSurfaceTransformFlagsKHR"/>
<record name="CompositeAlphaFlagBitsKHR" c:type="VkCompositeAlphaFlagBitsKHR"/>
<record name="CompositeAlphaFlagsKHR" c:type="VkCompositeAlphaFlagsKHR"/>
<record name="SurfaceCapabilitiesKHR" c:type="VkSurfaceCapabilitiesKHR"/>
<record name="SurfaceFormatKHR" c:type="VkSurfaceFormatKHR"/>
<record name="SwapchainKHR" c:type="VkSwapchainKHR"/>
<record name="SwapchainCreateFlagBitsKHR" c:type="VkSwapchainCreateFlagBitsKHR"/>
<record name="SwapchainCreateFlagsKHR" c:type="VkSwapchainCreateFlagsKHR"/>
<record name="DeviceGroupPresentModeFlagBitsKHR" c:type="VkDeviceGroupPresentModeFlagBitsKHR"/>
<record name="DeviceGroupPresentModeFlagsKHR" c:type="VkDeviceGroupPresentModeFlagsKHR"/>
<record name="SwapchainCreateInfoKHR" c:type="VkSwapchainCreateInfoKHR"/>
<record name="PresentInfoKHR" c:type="VkPresentInfoKHR"/>
<record name="ImageSwapchainCreateInfoKHR" c:type="VkImageSwapchainCreateInfoKHR"/>
<record name="BindImageMemorySwapchainInfoKHR" c:type="VkBindImageMemorySwapchainInfoKHR"/>
<record name="AcquireNextImageInfoKHR" c:type="VkAcquireNextImageInfoKHR"/>
<record name="DeviceGroupPresentCapabilitiesKHR" c:type="VkDeviceGroupPresentCapabilitiesKHR"/>
<record name="DeviceGroupPresentInfoKHR" c:type="VkDeviceGroupPresentInfoKHR"/>
<record name="DeviceGroupSwapchainCreateInfoKHR" c:type="VkDeviceGroupSwapchainCreateInfoKHR"/>
<record name="DisplayKHR" c:type="VkDisplayKHR"/>
<record name="DisplayModeKHR" c:type="VkDisplayModeKHR"/>
<record name="DisplayPlaneAlphaFlagBitsKHR" c:type="VkDisplayPlaneAlphaFlagBitsKHR"/>
<record name="DisplayPlaneAlphaFlagsKHR" c:type="VkDisplayPlaneAlphaFlagsKHR"/>
<record name="DisplayModeCreateFlagsKHR" c:type="VkDisplayModeCreateFlagsKHR"/>
<record name="DisplaySurfaceCreateFlagsKHR" c:type="VkDisplaySurfaceCreateFlagsKHR"/>
<record name="DisplayPropertiesKHR" c:type="VkDisplayPropertiesKHR"/>
<record name="DisplayModeParametersKHR" c:type="VkDisplayModeParametersKHR"/>
<record name="DisplayModePropertiesKHR" c:type="VkDisplayModePropertiesKHR"/>
<record name="DisplayModeCreateInfoKHR" c:type="VkDisplayModeCreateInfoKHR"/>
<record name="DisplayPlaneCapabilitiesKHR" c:type="VkDisplayPlaneCapabilitiesKHR"/>
<record name="DisplayPlanePropertiesKHR" c:type="VkDisplayPlanePropertiesKHR"/>
<record name="DisplaySurfaceCreateInfoKHR" c:type="VkDisplaySurfaceCreateInfoKHR"/>
<record name="DisplayPresentInfoKHR" c:type="VkDisplayPresentInfoKHR"/>
<record name="RenderPassMultiviewCreateInfoKHR" c:type="VkRenderPassMultiviewCreateInfoKHR"/>
<record name="PhysicalDeviceMultiviewFeaturesKHR" c:type="VkPhysicalDeviceMultiviewFeaturesKHR"/>
<record name="PhysicalDeviceMultiviewPropertiesKHR" c:type="VkPhysicalDeviceMultiviewPropertiesKHR"/>
<record name="PhysicalDeviceFeatures2KHR" c:type="VkPhysicalDeviceFeatures2KHR"/>
<record name="PhysicalDeviceProperties2KHR" c:type="VkPhysicalDeviceProperties2KHR"/>
<record name="FormatProperties2KHR" c:type="VkFormatProperties2KHR"/>
<record name="ImageFormatProperties2KHR" c:type="VkImageFormatProperties2KHR"/>
<record name="PhysicalDeviceImageFormatInfo2KHR" c:type="VkPhysicalDeviceImageFormatInfo2KHR"/>
<record name="QueueFamilyProperties2KHR" c:type="VkQueueFamilyProperties2KHR"/>
<record name="PhysicalDeviceMemoryProperties2KHR" c:type="VkPhysicalDeviceMemoryProperties2KHR"/>
<record name="SparseImageFormatProperties2KHR" c:type="VkSparseImageFormatProperties2KHR"/>
<record name="PhysicalDeviceSparseImageFormatInfo2KHR" c:type="VkPhysicalDeviceSparseImageFormatInfo2KHR"/>
<record name="PeerMemoryFeatureFlagsKHR" c:type="VkPeerMemoryFeatureFlagsKHR"/>
<record name="PeerMemoryFeatureFlagBitsKHR" c:type="VkPeerMemoryFeatureFlagBitsKHR"/>
<record name="MemoryAllocateFlagsKHR" c:type="VkMemoryAllocateFlagsKHR"/>
<record name="MemoryAllocateFlagBitsKHR" c:type="VkMemoryAllocateFlagBitsKHR"/>
<record name="MemoryAllocateFlagsInfoKHR" c:type="VkMemoryAllocateFlagsInfoKHR"/>
<record name="DeviceGroupRenderPassBeginInfoKHR" c:type="VkDeviceGroupRenderPassBeginInfoKHR"/>
<record name="DeviceGroupCommandBufferBeginInfoKHR" c:type="VkDeviceGroupCommandBufferBeginInfoKHR"/>
<record name="DeviceGroupSubmitInfoKHR" c:type="VkDeviceGroupSubmitInfoKHR"/>
<record name="DeviceGroupBindSparseInfoKHR" c:type="VkDeviceGroupBindSparseInfoKHR"/>
<record name="BindBufferMemoryDeviceGroupInfoKHR" c:type="VkBindBufferMemoryDeviceGroupInfoKHR"/>
<record name="BindImageMemoryDeviceGroupInfoKHR" c:type="VkBindImageMemoryDeviceGroupInfoKHR"/>
<record name="CommandPoolTrimFlagsKHR" c:type="VkCommandPoolTrimFlagsKHR"/>
<record name="PhysicalDeviceGroupPropertiesKHR" c:type="VkPhysicalDeviceGroupPropertiesKHR"/>
<record name="DeviceGroupDeviceCreateInfoKHR" c:type="VkDeviceGroupDeviceCreateInfoKHR"/>
<record name="ExternalMemoryHandleTypeFlagsKHR" c:type="VkExternalMemoryHandleTypeFlagsKHR"/>
<record name="ExternalMemoryHandleTypeFlagBitsKHR" c:type="VkExternalMemoryHandleTypeFlagBitsKHR"/>
<record name="ExternalMemoryFeatureFlagsKHR" c:type="VkExternalMemoryFeatureFlagsKHR"/>
<record name="ExternalMemoryFeatureFlagBitsKHR" c:type="VkExternalMemoryFeatureFlagBitsKHR"/>
<record name="ExternalMemoryPropertiesKHR" c:type="VkExternalMemoryPropertiesKHR"/>
<record name="PhysicalDeviceExternalImageFormatInfoKHR" c:type="VkPhysicalDeviceExternalImageFormatInfoKHR"/>
<record name="ExternalImageFormatPropertiesKHR" c:type="VkExternalImageFormatPropertiesKHR"/>
<record name="PhysicalDeviceExternalBufferInfoKHR" c:type="VkPhysicalDeviceExternalBufferInfoKHR"/>
<record name="ExternalBufferPropertiesKHR" c:type="VkExternalBufferPropertiesKHR"/>
<record name="PhysicalDeviceIDPropertiesKHR" c:type="VkPhysicalDeviceIDPropertiesKHR"/>
<record name="ExternalMemoryImageCreateInfoKHR" c:type="VkExternalMemoryImageCreateInfoKHR"/>
<record name="ExternalMemoryBufferCreateInfoKHR" c:type="VkExternalMemoryBufferCreateInfoKHR"/>
<record name="ExportMemoryAllocateInfoKHR" c:type="VkExportMemoryAllocateInfoKHR"/>
<record name="ImportMemoryFdInfoKHR" c:type="VkImportMemoryFdInfoKHR"/>
<record name="MemoryFdPropertiesKHR" c:type="VkMemoryFdPropertiesKHR"/>
<record name="MemoryGetFdInfoKHR" c:type="VkMemoryGetFdInfoKHR"/>
<record name="ExternalSemaphoreHandleTypeFlagsKHR" c:type="VkExternalSemaphoreHandleTypeFlagsKHR"/>
<record name="ExternalSemaphoreHandleTypeFlagBitsKHR" c:type="VkExternalSemaphoreHandleTypeFlagBitsKHR"/>
<record name="ExternalSemaphoreFeatureFlagsKHR" c:type="VkExternalSemaphoreFeatureFlagsKHR"/>
<record name="ExternalSemaphoreFeatureFlagBitsKHR" c:type="VkExternalSemaphoreFeatureFlagBitsKHR"/>
<record name="PhysicalDeviceExternalSemaphoreInfoKHR" c:type="VkPhysicalDeviceExternalSemaphoreInfoKHR"/>
<record name="ExternalSemaphorePropertiesKHR" c:type="VkExternalSemaphorePropertiesKHR"/>
<record name="SemaphoreImportFlagsKHR" c:type="VkSemaphoreImportFlagsKHR"/>
<record name="SemaphoreImportFlagBitsKHR" c:type="VkSemaphoreImportFlagBitsKHR"/>
<record name="ExportSemaphoreCreateInfoKHR" c:type="VkExportSemaphoreCreateInfoKHR"/>
<record name="ImportSemaphoreFdInfoKHR" c:type="VkImportSemaphoreFdInfoKHR"/>
<record name="SemaphoreGetFdInfoKHR" c:type="VkSemaphoreGetFdInfoKHR"/>
<record name="PhysicalDevicePushDescriptorPropertiesKHR" c:type="VkPhysicalDevicePushDescriptorPropertiesKHR"/>
<record name="PhysicalDeviceFloat16Int8FeaturesKHR" c:type="VkPhysicalDeviceFloat16Int8FeaturesKHR"/>
<record name="PhysicalDevice16BitStorageFeaturesKHR" c:type="VkPhysicalDevice16BitStorageFeaturesKHR"/>
<record name="RectLayerKHR" c:type="VkRectLayerKHR"/>
<record name="PresentRegionKHR" c:type="VkPresentRegionKHR"/>
<record name="PresentRegionsKHR" c:type="VkPresentRegionsKHR"/>
<record name="DescriptorUpdateTemplateKHR" c:type="VkDescriptorUpdateTemplateKHR"/>
<record name="DescriptorUpdateTemplateTypeKHR" c:type="VkDescriptorUpdateTemplateTypeKHR"/>
<record name="DescriptorUpdateTemplateCreateFlagsKHR" c:type="VkDescriptorUpdateTemplateCreateFlagsKHR"/>
<record name="DescriptorUpdateTemplateEntryKHR" c:type="VkDescriptorUpdateTemplateEntryKHR"/>
<record name="DescriptorUpdateTemplateCreateInfoKHR" c:type="VkDescriptorUpdateTemplateCreateInfoKHR"/>
<record name="AttachmentDescription2KHR" c:type="VkAttachmentDescription2KHR"/>
<record name="AttachmentReference2KHR" c:type="VkAttachmentReference2KHR"/>
<record name="SubpassDescription2KHR" c:type="VkSubpassDescription2KHR"/>
<record name="SubpassDependency2KHR" c:type="VkSubpassDependency2KHR"/>
<record name="RenderPassCreateInfo2KHR" c:type="VkRenderPassCreateInfo2KHR"/>
<record name="SubpassBeginInfoKHR" c:type="VkSubpassBeginInfoKHR"/>
<record name="SubpassEndInfoKHR" c:type="VkSubpassEndInfoKHR"/>
<record name="SharedPresentSurfaceCapabilitiesKHR" c:type="VkSharedPresentSurfaceCapabilitiesKHR"/>
<record name="ExternalFenceHandleTypeFlagsKHR" c:type="VkExternalFenceHandleTypeFlagsKHR"/>
<record name="ExternalFenceHandleTypeFlagBitsKHR" c:type="VkExternalFenceHandleTypeFlagBitsKHR"/>
<record name="ExternalFenceFeatureFlagsKHR" c:type="VkExternalFenceFeatureFlagsKHR"/>
<record name="ExternalFenceFeatureFlagBitsKHR" c:type="VkExternalFenceFeatureFlagBitsKHR"/>
<record name="PhysicalDeviceExternalFenceInfoKHR" c:type="VkPhysicalDeviceExternalFenceInfoKHR"/>
<record name="ExternalFencePropertiesKHR" c:type="VkExternalFencePropertiesKHR"/>
<record name="FenceImportFlagsKHR" c:type="VkFenceImportFlagsKHR"/>
<record name="FenceImportFlagBitsKHR" c:type="VkFenceImportFlagBitsKHR"/>
<record name="ExportFenceCreateInfoKHR" c:type="VkExportFenceCreateInfoKHR"/>
<record name="ImportFenceFdInfoKHR" c:type="VkImportFenceFdInfoKHR"/>
<record name="FenceGetFdInfoKHR" c:type="VkFenceGetFdInfoKHR"/>
<record name="PointClippingBehaviorKHR" c:type="VkPointClippingBehaviorKHR"/>
<record name="TessellationDomainOriginKHR" c:type="VkTessellationDomainOriginKHR"/>
<record name="PhysicalDevicePointClippingPropertiesKHR" c:type="VkPhysicalDevicePointClippingPropertiesKHR"/>
<record name="RenderPassInputAttachmentAspectCreateInfoKHR" c:type="VkRenderPassInputAttachmentAspectCreateInfoKHR"/>
<record name="InputAttachmentAspectReferenceKHR" c:type="VkInputAttachmentAspectReferenceKHR"/>
<record name="ImageViewUsageCreateInfoKHR" c:type="VkImageViewUsageCreateInfoKHR"/>
<record name="PipelineTessellationDomainOriginStateCreateInfoKHR" c:type="VkPipelineTessellationDomainOriginStateCreateInfoKHR"/>
<record name="PhysicalDeviceSurfaceInfo2KHR" c:type="VkPhysicalDeviceSurfaceInfo2KHR"/>
<record name="SurfaceCapabilities2KHR" c:type="VkSurfaceCapabilities2KHR"/>
<record name="SurfaceFormat2KHR" c:type="VkSurfaceFormat2KHR"/>
<record name="PhysicalDeviceVariablePointerFeaturesKHR" c:type="VkPhysicalDeviceVariablePointerFeaturesKHR"/>
<record name="PhysicalDeviceVariablePointersFeaturesKHR" c:type="VkPhysicalDeviceVariablePointersFeaturesKHR"/>
<record name="DisplayProperties2KHR" c:type="VkDisplayProperties2KHR"/>
<record name="DisplayPlaneProperties2KHR" c:type="VkDisplayPlaneProperties2KHR"/>
<record name="DisplayModeProperties2KHR" c:type="VkDisplayModeProperties2KHR"/>
<record name="DisplayPlaneInfo2KHR" c:type="VkDisplayPlaneInfo2KHR"/>
<record name="DisplayPlaneCapabilities2KHR" c:type="VkDisplayPlaneCapabilities2KHR"/>
<record name="MemoryDedicatedRequirementsKHR" c:type="VkMemoryDedicatedRequirementsKHR"/>
<record name="MemoryDedicatedAllocateInfoKHR" c:type="VkMemoryDedicatedAllocateInfoKHR"/>
<record name="BufferMemoryRequirementsInfo2KHR" c:type="VkBufferMemoryRequirementsInfo2KHR"/>
<record name="ImageMemoryRequirementsInfo2KHR" c:type="VkImageMemoryRequirementsInfo2KHR"/>
<record name="ImageSparseMemoryRequirementsInfo2KHR" c:type="VkImageSparseMemoryRequirementsInfo2KHR"/>
<record name="SparseImageMemoryRequirements2KHR" c:type="VkSparseImageMemoryRequirements2KHR"/>
<record name="ImageFormatListCreateInfoKHR" c:type="VkImageFormatListCreateInfoKHR"/>
<record name="SamplerYcbcrConversionKHR" c:type="VkSamplerYcbcrConversionKHR"/>
<record name="SamplerYcbcrModelConversionKHR" c:type="VkSamplerYcbcrModelConversionKHR"/>
<record name="SamplerYcbcrRangeKHR" c:type="VkSamplerYcbcrRangeKHR"/>
<record name="ChromaLocationKHR" c:type="VkChromaLocationKHR"/>
<record name="SamplerYcbcrConversionCreateInfoKHR" c:type="VkSamplerYcbcrConversionCreateInfoKHR"/>
<record name="SamplerYcbcrConversionInfoKHR" c:type="VkSamplerYcbcrConversionInfoKHR"/>
<record name="BindImagePlaneMemoryInfoKHR" c:type="VkBindImagePlaneMemoryInfoKHR"/>
<record name="ImagePlaneMemoryRequirementsInfoKHR" c:type="VkImagePlaneMemoryRequirementsInfoKHR"/>
<record name="PhysicalDeviceSamplerYcbcrConversionFeaturesKHR" c:type="VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR"/>
<record name="SamplerYcbcrConversionImageFormatPropertiesKHR" c:type="VkSamplerYcbcrConversionImageFormatPropertiesKHR"/>
<record name="BindBufferMemoryInfoKHR" c:type="VkBindBufferMemoryInfoKHR"/>
<record name="BindImageMemoryInfoKHR" c:type="VkBindImageMemoryInfoKHR"/>
<record name="PhysicalDeviceMaintenance3PropertiesKHR" c:type="VkPhysicalDeviceMaintenance3PropertiesKHR"/>
<record name="DescriptorSetLayoutSupportKHR" c:type="VkDescriptorSetLayoutSupportKHR"/>
<record name="PhysicalDevice8BitStorageFeaturesKHR" c:type="VkPhysicalDevice8BitStorageFeaturesKHR"/>
<record name="PhysicalDeviceShaderAtomicInt64FeaturesKHR" c:type="VkPhysicalDeviceShaderAtomicInt64FeaturesKHR"/>
<record name="DriverIdKHR" c:type="VkDriverIdKHR"/>
<record name="ConformanceVersionKHR" c:type="VkConformanceVersionKHR"/>
<record name="PhysicalDeviceDriverPropertiesKHR" c:type="VkPhysicalDeviceDriverPropertiesKHR"/>
<record name="PhysicalDeviceFloatControlsPropertiesKHR" c:type="VkPhysicalDeviceFloatControlsPropertiesKHR"/>
<record name="ResolveModeFlagBitsKHR" c:type="VkResolveModeFlagBitsKHR"/>
<record name="ResolveModeFlagsKHR" c:type="VkResolveModeFlagsKHR"/>
<record name="SubpassDescriptionDepthStencilResolveKHR" c:type="VkSubpassDescriptionDepthStencilResolveKHR"/>
<record name="PhysicalDeviceDepthStencilResolvePropertiesKHR" c:type="VkPhysicalDeviceDepthStencilResolvePropertiesKHR"/>
<record name="PhysicalDeviceVulkanMemoryModelFeaturesKHR" c:type="VkPhysicalDeviceVulkanMemoryModelFeaturesKHR"/>
<record name="SurfaceProtectedCapabilitiesKHR" c:type="VkSurfaceProtectedCapabilitiesKHR"/>
<record name="PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR" c:type="VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR"/>
<record name="DebugReportCallbackEXT" c:type="VkDebugReportCallbackEXT"/>
<record name="DebugReportObjectTypeEXT" c:type="VkDebugReportObjectTypeEXT"/>
<record name="DebugReportFlagBitsEXT" c:type="VkDebugReportFlagBitsEXT"/>
<record name="DebugReportFlagsEXT" c:type="VkDebugReportFlagsEXT"/>
<record name="DebugReportCallbackCreateInfoEXT" c:type="VkDebugReportCallbackCreateInfoEXT"/>
<record name="RasterizationOrderAMD" c:type="VkRasterizationOrderAMD"/>
<record name="PipelineRasterizationStateRasterizationOrderAMD" c:type="VkPipelineRasterizationStateRasterizationOrderAMD"/>
<record name="DebugMarkerObjectNameInfoEXT" c:type="VkDebugMarkerObjectNameInfoEXT"/>
<record name="DebugMarkerObjectTagInfoEXT" c:type="VkDebugMarkerObjectTagInfoEXT"/>
<record name="DebugMarkerMarkerInfoEXT" c:type="VkDebugMarkerMarkerInfoEXT"/>
<record name="DedicatedAllocationImageCreateInfoNV" c:type="VkDedicatedAllocationImageCreateInfoNV"/>
<record name="DedicatedAllocationBufferCreateInfoNV" c:type="VkDedicatedAllocationBufferCreateInfoNV"/>
<record name="DedicatedAllocationMemoryAllocateInfoNV" c:type="VkDedicatedAllocationMemoryAllocateInfoNV"/>
<record name="PipelineRasterizationStateStreamCreateFlagsEXT" c:type="VkPipelineRasterizationStateStreamCreateFlagsEXT"/>
<record name="PhysicalDeviceTransformFeedbackFeaturesEXT" c:type="VkPhysicalDeviceTransformFeedbackFeaturesEXT"/>
<record name="PhysicalDeviceTransformFeedbackPropertiesEXT" c:type="VkPhysicalDeviceTransformFeedbackPropertiesEXT"/>
<record name="PipelineRasterizationStateStreamCreateInfoEXT" c:type="VkPipelineRasterizationStateStreamCreateInfoEXT"/>
<record name="ImageViewHandleInfoNVX" c:type="VkImageViewHandleInfoNVX"/>
<record name="TextureLODGatherFormatPropertiesAMD" c:type="VkTextureLODGatherFormatPropertiesAMD"/>
<record name="ShaderInfoTypeAMD" c:type="VkShaderInfoTypeAMD"/>
<record name="ShaderResourceUsageAMD" c:type="VkShaderResourceUsageAMD"/>
<record name="ShaderStatisticsInfoAMD" c:type="VkShaderStatisticsInfoAMD"/>
<record name="PhysicalDeviceCornerSampledImageFeaturesNV" c:type="VkPhysicalDeviceCornerSampledImageFeaturesNV"/>
<record name="ExternalMemoryHandleTypeFlagBitsNV" c:type="VkExternalMemoryHandleTypeFlagBitsNV"/>
<record name="ExternalMemoryHandleTypeFlagsNV" c:type="VkExternalMemoryHandleTypeFlagsNV"/>
<record name="ExternalMemoryFeatureFlagBitsNV" c:type="VkExternalMemoryFeatureFlagBitsNV"/>
<record name="ExternalMemoryFeatureFlagsNV" c:type="VkExternalMemoryFeatureFlagsNV"/>
<record name="ExternalImageFormatPropertiesNV" c:type="VkExternalImageFormatPropertiesNV"/>
<record name="ExternalMemoryImageCreateInfoNV" c:type="VkExternalMemoryImageCreateInfoNV"/>
<record name="ExportMemoryAllocateInfoNV" c:type="VkExportMemoryAllocateInfoNV"/>
<record name="ValidationCheckEXT" c:type="VkValidationCheckEXT"/>
<record name="ValidationFlagsEXT" c:type="VkValidationFlagsEXT"/>
<record name="ImageViewASTCDecodeModeEXT" c:type="VkImageViewASTCDecodeModeEXT"/>
<record name="PhysicalDeviceASTCDecodeFeaturesEXT" c:type="VkPhysicalDeviceASTCDecodeFeaturesEXT"/>
<record name="ConditionalRenderingFlagBitsEXT" c:type="VkConditionalRenderingFlagBitsEXT"/>
<record name="ConditionalRenderingFlagsEXT" c:type="VkConditionalRenderingFlagsEXT"/>
<record name="ConditionalRenderingBeginInfoEXT" c:type="VkConditionalRenderingBeginInfoEXT"/>
<record name="PhysicalDeviceConditionalRenderingFeaturesEXT" c:type="VkPhysicalDeviceConditionalRenderingFeaturesEXT"/>
<record name="CommandBufferInheritanceConditionalRenderingInfoEXT" c:type="VkCommandBufferInheritanceConditionalRenderingInfoEXT"/>
<record name="ObjectTableNVX" c:type="VkObjectTableNVX"/>
<record name="IndirectCommandsLayoutNVX" c:type="VkIndirectCommandsLayoutNVX"/>
<record name="IndirectCommandsTokenTypeNVX" c:type="VkIndirectCommandsTokenTypeNVX"/>
<record name="ObjectEntryTypeNVX" c:type="VkObjectEntryTypeNVX"/>
<record name="IndirectCommandsLayoutUsageFlagBitsNVX" c:type="VkIndirectCommandsLayoutUsageFlagBitsNVX"/>
<record name="IndirectCommandsLayoutUsageFlagsNVX" c:type="VkIndirectCommandsLayoutUsageFlagsNVX"/>
<record name="ObjectEntryUsageFlagBitsNVX" c:type="VkObjectEntryUsageFlagBitsNVX"/>
<record name="ObjectEntryUsageFlagsNVX" c:type="VkObjectEntryUsageFlagsNVX"/>
<record name="DeviceGeneratedCommandsFeaturesNVX" c:type="VkDeviceGeneratedCommandsFeaturesNVX"/>
<record name="DeviceGeneratedCommandsLimitsNVX" c:type="VkDeviceGeneratedCommandsLimitsNVX"/>
<record name="IndirectCommandsTokenNVX" c:type="VkIndirectCommandsTokenNVX"/>
<record name="IndirectCommandsLayoutTokenNVX" c:type="VkIndirectCommandsLayoutTokenNVX"/>
<record name="IndirectCommandsLayoutCreateInfoNVX" c:type="VkIndirectCommandsLayoutCreateInfoNVX"/>
<record name="CmdProcessCommandsInfoNVX" c:type="VkCmdProcessCommandsInfoNVX"/>
<record name="CmdReserveSpaceForCommandsInfoNVX" c:type="VkCmdReserveSpaceForCommandsInfoNVX"/>
<record name="ObjectTableCreateInfoNVX" c:type="VkObjectTableCreateInfoNVX"/>
<record name="ObjectTableEntryNVX" c:type="VkObjectTableEntryNVX"/>
<record name="ObjectTablePipelineEntryNVX" c:type="VkObjectTablePipelineEntryNVX"/>
<record name="ObjectTableDescriptorSetEntryNVX" c:type="VkObjectTableDescriptorSetEntryNVX"/>
<record name="ObjectTableVertexBufferEntryNVX" c:type="VkObjectTableVertexBufferEntryNVX"/>
<record name="ObjectTableIndexBufferEntryNVX" c:type="VkObjectTableIndexBufferEntryNVX"/>
<record name="ObjectTablePushConstantEntryNVX" c:type="VkObjectTablePushConstantEntryNVX"/>
<record name="ViewportWScalingNV" c:type="VkViewportWScalingNV"/>
<record name="PipelineViewportWScalingStateCreateInfoNV" c:type="VkPipelineViewportWScalingStateCreateInfoNV"/>
<record name="SurfaceCounterFlagBitsEXT" c:type="VkSurfaceCounterFlagBitsEXT"/>
<record name="SurfaceCounterFlagsEXT" c:type="VkSurfaceCounterFlagsEXT"/>
<record name="SurfaceCapabilities2EXT" c:type="VkSurfaceCapabilities2EXT"/>
<record name="DisplayPowerStateEXT" c:type="VkDisplayPowerStateEXT"/>
<record name="DeviceEventTypeEXT" c:type="VkDeviceEventTypeEXT"/>
<record name="DisplayEventTypeEXT" c:type="VkDisplayEventTypeEXT"/>
<record name="DisplayPowerInfoEXT" c:type="VkDisplayPowerInfoEXT"/>
<record name="DeviceEventInfoEXT" c:type="VkDeviceEventInfoEXT"/>
<record name="DisplayEventInfoEXT" c:type="VkDisplayEventInfoEXT"/>
<record name="SwapchainCounterCreateInfoEXT" c:type="VkSwapchainCounterCreateInfoEXT"/>
<record name="RefreshCycleDurationGOOGLE" c:type="VkRefreshCycleDurationGOOGLE"/>
<record name="PastPresentationTimingGOOGLE" c:type="VkPastPresentationTimingGOOGLE"/>
<record name="PresentTimeGOOGLE" c:type="VkPresentTimeGOOGLE"/>
<record name="PresentTimesInfoGOOGLE" c:type="VkPresentTimesInfoGOOGLE"/>
<record name="PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX" c:type="VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX"/>
<record name="ViewportCoordinateSwizzleNV" c:type="VkViewportCoordinateSwizzleNV"/>
<record name="PipelineViewportSwizzleStateCreateFlagsNV" c:type="VkPipelineViewportSwizzleStateCreateFlagsNV"/>
<record name="ViewportSwizzleNV" c:type="VkViewportSwizzleNV"/>
<record name="PipelineViewportSwizzleStateCreateInfoNV" c:type="VkPipelineViewportSwizzleStateCreateInfoNV"/>
<record name="DiscardRectangleModeEXT" c:type="VkDiscardRectangleModeEXT"/>
<record name="PipelineDiscardRectangleStateCreateFlagsEXT" c:type="VkPipelineDiscardRectangleStateCreateFlagsEXT"/>
<record name="PhysicalDeviceDiscardRectanglePropertiesEXT" c:type="VkPhysicalDeviceDiscardRectanglePropertiesEXT"/>
<record name="PipelineDiscardRectangleStateCreateInfoEXT" c:type="VkPipelineDiscardRectangleStateCreateInfoEXT"/>
<record name="ConservativeRasterizationModeEXT" c:type="VkConservativeRasterizationModeEXT"/>
<record name="PipelineRasterizationConservativeStateCreateFlagsEXT" c:type="VkPipelineRasterizationConservativeStateCreateFlagsEXT"/>
<record name="PhysicalDeviceConservativeRasterizationPropertiesEXT" c:type="VkPhysicalDeviceConservativeRasterizationPropertiesEXT"/>
<record name="PipelineRasterizationConservativeStateCreateInfoEXT" c:type="VkPipelineRasterizationConservativeStateCreateInfoEXT"/>
<record name="PipelineRasterizationDepthClipStateCreateFlagsEXT" c:type="VkPipelineRasterizationDepthClipStateCreateFlagsEXT"/>
<record name="PhysicalDeviceDepthClipEnableFeaturesEXT" c:type="VkPhysicalDeviceDepthClipEnableFeaturesEXT"/>
<record name="PipelineRasterizationDepthClipStateCreateInfoEXT" c:type="VkPipelineRasterizationDepthClipStateCreateInfoEXT"/>
<record name="XYColorEXT" c:type="VkXYColorEXT"/>
<record name="HdrMetadataEXT" c:type="VkHdrMetadataEXT"/>
<record name="DebugUtilsMessengerEXT" c:type="VkDebugUtilsMessengerEXT"/>
<record name="DebugUtilsMessengerCallbackDataFlagsEXT" c:type="VkDebugUtilsMessengerCallbackDataFlagsEXT"/>
<record name="DebugUtilsMessengerCreateFlagsEXT" c:type="VkDebugUtilsMessengerCreateFlagsEXT"/>
<record name="DebugUtilsMessageSeverityFlagBitsEXT" c:type="VkDebugUtilsMessageSeverityFlagBitsEXT"/>
<record name="DebugUtilsMessageSeverityFlagsEXT" c:type="VkDebugUtilsMessageSeverityFlagsEXT"/>
<record name="DebugUtilsMessageTypeFlagBitsEXT" c:type="VkDebugUtilsMessageTypeFlagBitsEXT"/>
<record name="DebugUtilsMessageTypeFlagsEXT" c:type="VkDebugUtilsMessageTypeFlagsEXT"/>
<record name="DebugUtilsObjectNameInfoEXT" c:type="VkDebugUtilsObjectNameInfoEXT"/>
<record name="DebugUtilsObjectTagInfoEXT" c:type="VkDebugUtilsObjectTagInfoEXT"/>
<record name="DebugUtilsLabelEXT" c:type="VkDebugUtilsLabelEXT"/>
<record name="DebugUtilsMessengerCallbackDataEXT" c:type="VkDebugUtilsMessengerCallbackDataEXT"/>
<record name="DebugUtilsMessengerCreateInfoEXT" c:type="VkDebugUtilsMessengerCreateInfoEXT"/>
<record name="SamplerReductionModeEXT" c:type="VkSamplerReductionModeEXT"/>
<record name="SamplerReductionModeCreateInfoEXT" c:type="VkSamplerReductionModeCreateInfoEXT"/>
<record name="PhysicalDeviceSamplerFilterMinmaxPropertiesEXT" c:type="VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT"/>
<record name="PhysicalDeviceInlineUniformBlockFeaturesEXT" c:type="VkPhysicalDeviceInlineUniformBlockFeaturesEXT"/>
<record name="PhysicalDeviceInlineUniformBlockPropertiesEXT" c:type="VkPhysicalDeviceInlineUniformBlockPropertiesEXT"/>
<record name="WriteDescriptorSetInlineUniformBlockEXT" c:type="VkWriteDescriptorSetInlineUniformBlockEXT"/>
<record name="DescriptorPoolInlineUniformBlockCreateInfoEXT" c:type="VkDescriptorPoolInlineUniformBlockCreateInfoEXT"/>
<record name="SampleLocationEXT" c:type="VkSampleLocationEXT"/>
<record name="SampleLocationsInfoEXT" c:type="VkSampleLocationsInfoEXT"/>
<record name="AttachmentSampleLocationsEXT" c:type="VkAttachmentSampleLocationsEXT"/>
<record name="SubpassSampleLocationsEXT" c:type="VkSubpassSampleLocationsEXT"/>
<record name="RenderPassSampleLocationsBeginInfoEXT" c:type="VkRenderPassSampleLocationsBeginInfoEXT"/>
<record name="PipelineSampleLocationsStateCreateInfoEXT" c:type="VkPipelineSampleLocationsStateCreateInfoEXT"/>
<record name="PhysicalDeviceSampleLocationsPropertiesEXT" c:type="VkPhysicalDeviceSampleLocationsPropertiesEXT"/>
<record name="MultisamplePropertiesEXT" c:type="VkMultisamplePropertiesEXT"/>
<record name="BlendOverlapEXT" c:type="VkBlendOverlapEXT"/>
<record name="PhysicalDeviceBlendOperationAdvancedFeaturesEXT" c:type="VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT"/>
<record name="PhysicalDeviceBlendOperationAdvancedPropertiesEXT" c:type="VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT"/>
<record name="PipelineColorBlendAdvancedStateCreateInfoEXT" c:type="VkPipelineColorBlendAdvancedStateCreateInfoEXT"/>
<record name="PipelineCoverageToColorStateCreateFlagsNV" c:type="VkPipelineCoverageToColorStateCreateFlagsNV"/>
<record name="PipelineCoverageToColorStateCreateInfoNV" c:type="VkPipelineCoverageToColorStateCreateInfoNV"/>
<record name="CoverageModulationModeNV" c:type="VkCoverageModulationModeNV"/>
<record name="PipelineCoverageModulationStateCreateFlagsNV" c:type="VkPipelineCoverageModulationStateCreateFlagsNV"/>
<record name="PipelineCoverageModulationStateCreateInfoNV" c:type="VkPipelineCoverageModulationStateCreateInfoNV"/>
<record name="DrmFormatModifierPropertiesEXT" c:type="VkDrmFormatModifierPropertiesEXT"/>
<record name="DrmFormatModifierPropertiesListEXT" c:type="VkDrmFormatModifierPropertiesListEXT"/>
<record name="PhysicalDeviceImageDrmFormatModifierInfoEXT" c:type="VkPhysicalDeviceImageDrmFormatModifierInfoEXT"/>
<record name="ImageDrmFormatModifierListCreateInfoEXT" c:type="VkImageDrmFormatModifierListCreateInfoEXT"/>
<record name="ImageDrmFormatModifierExplicitCreateInfoEXT" c:type="VkImageDrmFormatModifierExplicitCreateInfoEXT"/>
<record name="ImageDrmFormatModifierPropertiesEXT" c:type="VkImageDrmFormatModifierPropertiesEXT"/>
<record name="ValidationCacheEXT" c:type="VkValidationCacheEXT"/>
<record name="ValidationCacheHeaderVersionEXT" c:type="VkValidationCacheHeaderVersionEXT"/>
<record name="ValidationCacheCreateFlagsEXT" c:type="VkValidationCacheCreateFlagsEXT"/>
<record name="ValidationCacheCreateInfoEXT" c:type="VkValidationCacheCreateInfoEXT"/>
<record name="ShaderModuleValidationCacheCreateInfoEXT" c:type="VkShaderModuleValidationCacheCreateInfoEXT"/>
<record name="DescriptorBindingFlagBitsEXT" c:type="VkDescriptorBindingFlagBitsEXT"/>
<record name="DescriptorBindingFlagsEXT" c:type="VkDescriptorBindingFlagsEXT"/>
<record name="DescriptorSetLayoutBindingFlagsCreateInfoEXT" c:type="VkDescriptorSetLayoutBindingFlagsCreateInfoEXT"/>
<record name="PhysicalDeviceDescriptorIndexingFeaturesEXT" c:type="VkPhysicalDeviceDescriptorIndexingFeaturesEXT"/>
<record name="PhysicalDeviceDescriptorIndexingPropertiesEXT" c:type="VkPhysicalDeviceDescriptorIndexingPropertiesEXT"/>
<record name="DescriptorSetVariableDescriptorCountAllocateInfoEXT" c:type="VkDescriptorSetVariableDescriptorCountAllocateInfoEXT"/>
<record name="DescriptorSetVariableDescriptorCountLayoutSupportEXT" c:type="VkDescriptorSetVariableDescriptorCountLayoutSupportEXT"/>
<record name="ShadingRatePaletteEntryNV" c:type="VkShadingRatePaletteEntryNV"/>
<record name="CoarseSampleOrderTypeNV" c:type="VkCoarseSampleOrderTypeNV"/>
<record name="ShadingRatePaletteNV" c:type="VkShadingRatePaletteNV"/>
<record name="PipelineViewportShadingRateImageStateCreateInfoNV" c:type="VkPipelineViewportShadingRateImageStateCreateInfoNV"/>
<record name="PhysicalDeviceShadingRateImageFeaturesNV" c:type="VkPhysicalDeviceShadingRateImageFeaturesNV"/>
<record name="PhysicalDeviceShadingRateImagePropertiesNV" c:type="VkPhysicalDeviceShadingRateImagePropertiesNV"/>
<record name="CoarseSampleLocationNV" c:type="VkCoarseSampleLocationNV"/>
<record name="CoarseSampleOrderCustomNV" c:type="VkCoarseSampleOrderCustomNV"/>
<record name="PipelineViewportCoarseSampleOrderStateCreateInfoNV" c:type="VkPipelineViewportCoarseSampleOrderStateCreateInfoNV"/>
<record name="AccelerationStructureNV" c:type="VkAccelerationStructureNV"/>
<record name="RayTracingShaderGroupTypeNV" c:type="VkRayTracingShaderGroupTypeNV"/>
<record name="GeometryTypeNV" c:type="VkGeometryTypeNV"/>
<record name="AccelerationStructureTypeNV" c:type="VkAccelerationStructureTypeNV"/>
<record name="CopyAccelerationStructureModeNV" c:type="VkCopyAccelerationStructureModeNV"/>
<record name="AccelerationStructureMemoryRequirementsTypeNV" c:type="VkAccelerationStructureMemoryRequirementsTypeNV"/>
<record name="GeometryFlagBitsNV" c:type="VkGeometryFlagBitsNV"/>
<record name="GeometryFlagsNV" c:type="VkGeometryFlagsNV"/>
<record name="GeometryInstanceFlagBitsNV" c:type="VkGeometryInstanceFlagBitsNV"/>
<record name="GeometryInstanceFlagsNV" c:type="VkGeometryInstanceFlagsNV"/>
<record name="BuildAccelerationStructureFlagBitsNV" c:type="VkBuildAccelerationStructureFlagBitsNV"/>
<record name="BuildAccelerationStructureFlagsNV" c:type="VkBuildAccelerationStructureFlagsNV"/>
<record name="RayTracingShaderGroupCreateInfoNV" c:type="VkRayTracingShaderGroupCreateInfoNV"/>
<record name="RayTracingPipelineCreateInfoNV" c:type="VkRayTracingPipelineCreateInfoNV"/>
<record name="GeometryTrianglesNV" c:type="VkGeometryTrianglesNV"/>
<record name="GeometryAABBNV" c:type="VkGeometryAABBNV"/>
<record name="GeometryDataNV" c:type="VkGeometryDataNV"/>
<record name="GeometryNV" c:type="VkGeometryNV"/>
<record name="AccelerationStructureInfoNV" c:type="VkAccelerationStructureInfoNV"/>
<record name="AccelerationStructureCreateInfoNV" c:type="VkAccelerationStructureCreateInfoNV"/>
<record name="BindAccelerationStructureMemoryInfoNV" c:type="VkBindAccelerationStructureMemoryInfoNV"/>
<record name="WriteDescriptorSetAccelerationStructureNV" c:type="VkWriteDescriptorSetAccelerationStructureNV"/>
<record name="AccelerationStructureMemoryRequirementsInfoNV" c:type="VkAccelerationStructureMemoryRequirementsInfoNV"/>
<record name="PhysicalDeviceRayTracingPropertiesNV" c:type="VkPhysicalDeviceRayTracingPropertiesNV"/>
<record name="PhysicalDeviceRepresentativeFragmentTestFeaturesNV" c:type="VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV"/>
<record name="PipelineRepresentativeFragmentTestStateCreateInfoNV" c:type="VkPipelineRepresentativeFragmentTestStateCreateInfoNV"/>
<record name="PhysicalDeviceImageViewImageFormatInfoEXT" c:type="VkPhysicalDeviceImageViewImageFormatInfoEXT"/>
<record name="FilterCubicImageViewImageFormatPropertiesEXT" c:type="VkFilterCubicImageViewImageFormatPropertiesEXT"/>
<record name="QueueGlobalPriorityEXT" c:type="VkQueueGlobalPriorityEXT"/>
<record name="DeviceQueueGlobalPriorityCreateInfoEXT" c:type="VkDeviceQueueGlobalPriorityCreateInfoEXT"/>
<record name="ImportMemoryHostPointerInfoEXT" c:type="VkImportMemoryHostPointerInfoEXT"/>
<record name="MemoryHostPointerPropertiesEXT" c:type="VkMemoryHostPointerPropertiesEXT"/>
<record name="PhysicalDeviceExternalMemoryHostPropertiesEXT" c:type="VkPhysicalDeviceExternalMemoryHostPropertiesEXT"/>
<record name="TimeDomainEXT" c:type="VkTimeDomainEXT"/>
<record name="CalibratedTimestampInfoEXT" c:type="VkCalibratedTimestampInfoEXT"/>
<record name="PhysicalDeviceShaderCorePropertiesAMD" c:type="VkPhysicalDeviceShaderCorePropertiesAMD"/>
<record name="MemoryOverallocationBehaviorAMD" c:type="VkMemoryOverallocationBehaviorAMD"/>
<record name="DeviceMemoryOverallocationCreateInfoAMD" c:type="VkDeviceMemoryOverallocationCreateInfoAMD"/>
<record name="PhysicalDeviceVertexAttributeDivisorPropertiesEXT" c:type="VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT"/>
<record name="VertexInputBindingDivisorDescriptionEXT" c:type="VkVertexInputBindingDivisorDescriptionEXT"/>
<record name="PipelineVertexInputDivisorStateCreateInfoEXT" c:type="VkPipelineVertexInputDivisorStateCreateInfoEXT"/>
<record name="PhysicalDeviceVertexAttributeDivisorFeaturesEXT" c:type="VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT"/>
<record name="PipelineCreationFeedbackFlagBitsEXT" c:type="VkPipelineCreationFeedbackFlagBitsEXT"/>
<record name="PipelineCreationFeedbackFlagsEXT" c:type="VkPipelineCreationFeedbackFlagsEXT"/>
<record name="PipelineCreationFeedbackEXT" c:type="VkPipelineCreationFeedbackEXT"/>
<record name="PipelineCreationFeedbackCreateInfoEXT" c:type="VkPipelineCreationFeedbackCreateInfoEXT"/>
<record name="PhysicalDeviceComputeShaderDerivativesFeaturesNV" c:type="VkPhysicalDeviceComputeShaderDerivativesFeaturesNV"/>
<record name="PhysicalDeviceMeshShaderFeaturesNV" c:type="VkPhysicalDeviceMeshShaderFeaturesNV"/>
<record name="PhysicalDeviceMeshShaderPropertiesNV" c:type="VkPhysicalDeviceMeshShaderPropertiesNV"/>
<record name="DrawMeshTasksIndirectCommandNV" c:type="VkDrawMeshTasksIndirectCommandNV"/>
<record name="PhysicalDeviceFragmentShaderBarycentricFeaturesNV" c:type="VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV"/>
<record name="PhysicalDeviceShaderImageFootprintFeaturesNV" c:type="VkPhysicalDeviceShaderImageFootprintFeaturesNV"/>
<record name="PipelineViewportExclusiveScissorStateCreateInfoNV" c:type="VkPipelineViewportExclusiveScissorStateCreateInfoNV"/>
<record name="PhysicalDeviceExclusiveScissorFeaturesNV" c:type="VkPhysicalDeviceExclusiveScissorFeaturesNV"/>
<record name="QueueFamilyCheckpointPropertiesNV" c:type="VkQueueFamilyCheckpointPropertiesNV"/>
<record name="CheckpointDataNV" c:type="VkCheckpointDataNV"/>
<record name="PhysicalDevicePCIBusInfoPropertiesEXT" c:type="VkPhysicalDevicePCIBusInfoPropertiesEXT"/>
<record name="DisplayNativeHdrSurfaceCapabilitiesAMD" c:type="VkDisplayNativeHdrSurfaceCapabilitiesAMD"/>
<record name="SwapchainDisplayNativeHdrCreateInfoAMD" c:type="VkSwapchainDisplayNativeHdrCreateInfoAMD"/>
<record name="PhysicalDeviceFragmentDensityMapFeaturesEXT" c:type="VkPhysicalDeviceFragmentDensityMapFeaturesEXT"/>
<record name="PhysicalDeviceFragmentDensityMapPropertiesEXT" c:type="VkPhysicalDeviceFragmentDensityMapPropertiesEXT"/>
<record name="RenderPassFragmentDensityMapCreateInfoEXT" c:type="VkRenderPassFragmentDensityMapCreateInfoEXT"/>
<record name="PhysicalDeviceScalarBlockLayoutFeaturesEXT" c:type="VkPhysicalDeviceScalarBlockLayoutFeaturesEXT"/>
<record name="PhysicalDeviceMemoryBudgetPropertiesEXT" c:type="VkPhysicalDeviceMemoryBudgetPropertiesEXT"/>
<record name="PhysicalDeviceMemoryPriorityFeaturesEXT" c:type="VkPhysicalDeviceMemoryPriorityFeaturesEXT"/>
<record name="MemoryPriorityAllocateInfoEXT" c:type="VkMemoryPriorityAllocateInfoEXT"/>
<record name="PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV" c:type="VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV"/>
<record name="DeviceAddress" c:type="VkDeviceAddress"/>
<record name="PhysicalDeviceBufferDeviceAddressFeaturesEXT" c:type="VkPhysicalDeviceBufferDeviceAddressFeaturesEXT"/>
<record name="PhysicalDeviceBufferAddressFeaturesEXT" c:type="VkPhysicalDeviceBufferAddressFeaturesEXT"/>
<record name="BufferDeviceAddressInfoEXT" c:type="VkBufferDeviceAddressInfoEXT"/>
<record name="BufferDeviceAddressCreateInfoEXT" c:type="VkBufferDeviceAddressCreateInfoEXT"/>
<record name="ImageStencilUsageCreateInfoEXT" c:type="VkImageStencilUsageCreateInfoEXT"/>
<record name="ValidationFeatureEnableEXT" c:type="VkValidationFeatureEnableEXT"/>
<record name="ValidationFeatureDisableEXT" c:type="VkValidationFeatureDisableEXT"/>
<record name="ValidationFeaturesEXT" c:type="VkValidationFeaturesEXT"/>
<record name="ComponentTypeNV" c:type="VkComponentTypeNV"/>
<record name="ScopeNV" c:type="VkScopeNV"/>
<record name="CooperativeMatrixPropertiesNV" c:type="VkCooperativeMatrixPropertiesNV"/>
<record name="PhysicalDeviceCooperativeMatrixFeaturesNV" c:type="VkPhysicalDeviceCooperativeMatrixFeaturesNV"/>
<record name="PhysicalDeviceCooperativeMatrixPropertiesNV" c:type="VkPhysicalDeviceCooperativeMatrixPropertiesNV"/>
<record name="CoverageReductionModeNV" c:type="VkCoverageReductionModeNV"/>
<record name="PipelineCoverageReductionStateCreateFlagsNV" c:type="VkPipelineCoverageReductionStateCreateFlagsNV"/>
<record name="PhysicalDeviceCoverageReductionModeFeaturesNV" c:type="VkPhysicalDeviceCoverageReductionModeFeaturesNV"/>
<record name="PipelineCoverageReductionStateCreateInfoNV" c:type="VkPipelineCoverageReductionStateCreateInfoNV"/>
<record name="FramebufferMixedSamplesCombinationNV" c:type="VkFramebufferMixedSamplesCombinationNV"/>
<record name="PhysicalDeviceYcbcrImageArraysFeaturesEXT" c:type="VkPhysicalDeviceYcbcrImageArraysFeaturesEXT"/>
<record name="HeadlessSurfaceCreateFlagsEXT" c:type="VkHeadlessSurfaceCreateFlagsEXT"/>
<record name="HeadlessSurfaceCreateInfoEXT" c:type="VkHeadlessSurfaceCreateInfoEXT"/>
<record name="PhysicalDeviceHostQueryResetFeaturesEXT" c:type="VkPhysicalDeviceHostQueryResetFeaturesEXT"/>
</namespace>
</repository>

688
vala/gir-1.0/cairo-1.0.gir Normal file
View File

@ -0,0 +1,688 @@
<?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"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<package name="cairo-gobject"/>
<c:include name="cairo-gobject.h"/>
<namespace name="cairo" version="1.0"
shared-library="libcairo-gobject-2.dll"
c:identifier-prefixes="cairo"
c:symbol-prefixes="cairo">
<record name="Context" c:type="cairo_t" foreign="1"
glib:type-name="CairoContext"
glib:get-type="cairo_gobject_context_get_type"/>
<record name="Device" c:type="cairo_device_t" foreign="1"
glib:type-name="CairoDevice"
glib:get-type="cairo_gobject_device_get_type"/>
<record name="Surface" c:type="cairo_surface_t" foreign="1"
glib:type-name="CairoSurface"
glib:get-type="cairo_gobject_surface_get_type"/>
<record name="Matrix" c:type="cairo_matrix_t" foreign="1"/>
<record name="Pattern" c:type="cairo_pattern_t" foreign="1"
glib:type-name="CairoPattern"
glib:get-type="cairo_gobject_pattern_get_type"/>
<record name="Region" c:type="cairo_region_t" foreign="1"
glib:type-name="CairoRegion"
glib:get-type="cairo_gobject_region_get_type"/>
<enumeration name="Status" c:type="cairo_status_t"
glib:type-name="cairo_status_t"
glib:get-type="cairo_gobject_status_get_type">
<member name="success"
value="0"
c:identifier="CAIRO_STATUS_SUCCESS"/>
<member name="no_memory"
value="1"
c:identifier="CAIRO_STATUS_NO_MEMORY"/>
<member name="invalid_restore"
value="2"
c:identifier="CAIRO_STATUS_INVALID_RESTORE"/>
<member name="invalid_pop_group"
value="3"
c:identifier="CAIRO_STATUS_INVALID_POP_GROUP"/>
<member name="no_current_point"
value="4"
c:identifier="CAIRO_STATUS_NO_CURRENT_POINT"/>
<member name="invalid_matrix"
value="5"
c:identifier="CAIRO_STATUS_INVALID_MATRIX"/>
<member name="invalid_status"
value="6"
c:identifier="CAIRO_STATUS_INVALID_STATUS"/>
<member name="null_pointer"
value="7"
c:identifier="CAIRO_STATUS_NULL_POINTER"/>
<member name="invalid_string"
value="8"
c:identifier="CAIRO_STATUS_INVALID_STRING"/>
<member name="invalid_path_data"
value="9"
c:identifier="CAIRO_STATUS_INVALID_PATH_DATA"/>
<member name="read_error"
value="10"
c:identifier="CAIRO_STATUS_READ_ERROR"/>
<member name="write_error"
value="11"
c:identifier="CAIRO_STATUS_WRITE_ERROR"/>
<member name="surface_finished"
value="12"
c:identifier="CAIRO_STATUS_SURFACE_FINISHED"/>
<member name="surface_type_mismatch"
value="13"
c:identifier="CAIRO_STATUS_SURFACE_TYPE_MISMATCH"/>
<member name="pattern_type_mismatch"
value="14"
c:identifier="CAIRO_STATUS_PATTERN_TYPE_MISMATCH"/>
<member name="invalid_content"
value="15"
c:identifier="CAIRO_STATUS_INVALID_CONTENT"/>
<member name="invalid_format"
value="16"
c:identifier="CAIRO_STATUS_INVALID_FORMAT"/>
<member name="invalid_visual"
value="17"
c:identifier="CAIRO_STATUS_INVALID_VISUAL"/>
<member name="file_not_found"
value="18"
c:identifier="CAIRO_STATUS_FILE_NOT_FOUND"/>
<member name="invalid_dash"
value="19"
c:identifier="CAIRO_STATUS_INVALID_DASH"/>
<member name="invalid_dsc_comment"
value="20"
c:identifier="CAIRO_STATUS_INVALID_DSC_COMMENT"/>
<member name="invalid_index"
value="21"
c:identifier="CAIRO_STATUS_INVALID_INDEX"/>
<member name="clip_not_representable"
value="22"
c:identifier="CAIRO_STATUS_CLIP_NOT_REPRESENTABLE"/>
<member name="temp_file_error"
value="23"
c:identifier="CAIRO_STATUS_TEMP_FILE_ERROR"/>
<member name="invalid_stride"
value="24"
c:identifier="CAIRO_STATUS_INVALID_STRIDE"/>
<member name="font_type_mismatch"
value="25"
c:identifier="CAIRO_STATUS_FONT_TYPE_MISMATCH"/>
<member name="user_font_immutable"
value="26"
c:identifier="CAIRO_STATUS_USER_FONT_IMMUTABLE"/>
<member name="user_font_error"
value="27"
c:identifier="CAIRO_STATUS_USER_FONT_ERROR"/>
<member name="negative_count"
value="28"
c:identifier="CAIRO_STATUS_NEGATIVE_COUNT"/>
<member name="invalid_clusters"
value="29"
c:identifier="CAIRO_STATUS_INVALID_CLUSTERS"/>
<member name="invalid_slant"
value="30"
c:identifier="CAIRO_STATUS_INVALID_SLANT"/>
<member name="invalid_weight"
value="31"
c:identifier="CAIRO_STATUS_INVALID_WEIGHT"/>
<member name="invalid_size"
value="32"
c:identifier="CAIRO_STATUS_INVALID_SIZE"/>
<member name="user_font_not_implemented"
value="33"
c:identifier="CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED"/>
<member name="device_type_mismatch"
value="34"
c:identifier="CAIRO_STATUS_DEVICE_TYPE_MISMATCH"/>
<member name="device_error"
value="35"
c:identifier="CAIRO_STATUS_DEVICE_ERROR"/>
<member name="invalid_mesh_construction"
value="36"
c:identifier="CAIRO_STATUS_INVALID_MESH_CONSTRUCTION"/>
<member name="device_finished"
value="37"
c:identifier="CAIRO_STATUS_DEVICE_FINISHED"/>
<member name="jbig2_global_missing"
value="38"
c:identifier="CAIRO_STATUS_JBIG2_GLOBAL_MISSING"/>
</enumeration>
<enumeration name="Content" c:type="cairo_content_t"
glib:type-name="cairo_content_t"
glib:get-type="cairo_gobject_content_get_type">
<member name="color"
value="4096"
c:identifier="CAIRO_CONTENT_COLOR"/>
<member name="alpha"
value="8192"
c:identifier="CAIRO_CONTENT_ALPHA"/>
<member name="color_alpha"
value="12288"
c:identifier="CAIRO_CONTENT_COLOR_ALPHA"/>
</enumeration>
<enumeration name="Operator" c:type="cairo_operator_t"
glib:type-name="cairo_operator_t"
glib:get-type="cairo_gobject_operator_get_type">
<member name="clear"
value="0"
c:identifier="CAIRO_OPERATOR_CLEAR"/>
<member name="source"
value="1"
c:identifier="CAIRO_OPERATOR_SOURCE"/>
<member name="over"
value="2"
c:identifier="CAIRO_OPERATOR_OVER"/>
<member name="in"
value="3"
c:identifier="CAIRO_OPERATOR_IN"/>
<member name="out"
value="4"
c:identifier="CAIRO_OPERATOR_OUT"/>
<member name="atop"
value="5"
c:identifier="CAIRO_OPERATOR_ATOP"/>
<member name="dest"
value="6"
c:identifier="CAIRO_OPERATOR_DEST"/>
<member name="dest_over"
value="7"
c:identifier="CAIRO_OPERATOR_DEST_OVER"/>
<member name="dest_in"
value="8"
c:identifier="CAIRO_OPERATOR_DEST_IN"/>
<member name="dest_out"
value="9"
c:identifier="CAIRO_OPERATOR_DEST_OUT"/>
<member name="dest_atop"
value="10"
c:identifier="CAIRO_OPERATOR_DEST_ATOP"/>
<member name="xor"
value="11"
c:identifier="CAIRO_OPERATOR_XOR"/>
<member name="add"
value="12"
c:identifier="CAIRO_OPERATOR_ADD"/>
<member name="saturate"
value="13"
c:identifier="CAIRO_OPERATOR_SATURATE"/>
<member name="multiply"
value="14"
c:identifier="CAIRO_OPERATOR_MULTIPLY"/>
<member name="screen"
value="15"
c:identifier="CAIRO_OPERATOR_SCREEN"/>
<member name="overlay"
value="16"
c:identifier="CAIRO_OPERATOR_OVERLAY"/>
<member name="darken"
value="17"
c:identifier="CAIRO_OPERATOR_DARKEN"/>
<member name="lighten"
value="18"
c:identifier="CAIRO_OPERATOR_LIGHTEN"/>
<member name="color_dodge"
value="19"
c:identifier="CAIRO_OPERATOR_COLOR_DODGE"/>
<member name="color_burn"
value="20"
c:identifier="CAIRO_OPERATOR_COLOR_BURN"/>
<member name="hard_light"
value="21"
c:identifier="CAIRO_OPERATOR_HARD_LIGHT"/>
<member name="soft_light"
value="22"
c:identifier="CAIRO_OPERATOR_SOFT_LIGHT"/>
<member name="difference"
value="23"
c:identifier="CAIRO_OPERATOR_DIFFERENCE"/>
<member name="exclusion"
value="24"
c:identifier="CAIRO_OPERATOR_EXCLUSION"/>
<member name="hsl_hue"
value="25"
c:identifier="CAIRO_OPERATOR_HSL_HUE"/>
<member name="hsl_saturation"
value="26"
c:identifier="CAIRO_OPERATOR_HSL_SATURATION"/>
<member name="hsl_color"
value="27"
c:identifier="CAIRO_OPERATOR_HSL_COLOR"/>
<member name="hsl_luminosity"
value="28"
c:identifier="CAIRO_OPERATOR_HSL_LUMINOSITY"/>
</enumeration>
<enumeration name="Antialias" c:type="cairo_antialias_t"
glib:type-name="cairo_antialias_t"
glib:get-type="cairo_gobject_antialias_get_type">
<member name="default"
value="0"
c:identifier="CAIRO_ANTIALIAS_DEFAULT"/>
<member name="none"
value="1"
c:identifier="CAIRO_ANTIALIAS_NONE"/>
<member name="gray"
value="2"
c:identifier="CAIRO_ANTIALIAS_GRAY"/>
<member name="subpixel"
value="3"
c:identifier="CAIRO_ANTIALIAS_SUBPIXEL"/>
<member name="fast"
value="4"
c:identifier="CAIRO_ANTIALIAS_FAST"/>
<member name="good"
value="5"
c:identifier="CAIRO_ANTIALIAS_GOOD"/>
<member name="best"
value="6"
c:identifier="CAIRO_ANTIALIAS_BEST"/>
</enumeration>
<enumeration name="FillRule" c:type="cairo_fill_rule_t"
glib:type-name="cairo_fill_rule_t"
glib:get-type="cairo_gobject_fill_rule_get_type">
<member name="winding"
value="0"
c:identifier="CAIRO_FILL_RULE_WINDING"/>
<member name="even_odd"
value="1"
c:identifier="CAIRO_FILL_RULE_EVEN_ODD"/>
</enumeration>
<enumeration name="LineCap" c:type="cairo_line_cap_t"
glib:type-name="cairo_line_cap_t"
glib:get-type="cairo_gobject_line_cap_get_type">
<member name="butt"
value="0"
c:identifier="CAIRO_LINE_CAP_BUTT"/>
<member name="round"
value="1"
c:identifier="CAIRO_LINE_CAP_ROUND"/>
<member name="square"
value="2"
c:identifier="CAIRO_LINE_CAP_SQUARE"/>
</enumeration>
<enumeration name="LineJoin" c:type="cairo_line_join_t"
glib:type-name="cairo_line_join_t"
glib:get-type="cairo_gobject_line_join_get_type">
<member name="miter"
value="0"
c:identifier="CAIRO_LINE_JOIN_MITER"/>
<member name="round"
value="1"
c:identifier="CAIRO_LINE_JOIN_ROUND"/>
<member name="bevel"
value="2"
c:identifier="CAIRO_LINE_JOIN_BEVEL"/>
</enumeration>
<enumeration name="TextClusterFlags" c:type="cairo_text_cluster_flags_t"
glib:type-name="cairo_text_cluster_flags_t"
glib:get-type="cairo_gobject_text_cluster_flags_get_type">
<member name="backward"
value="1"
c:identifier="CAIRO_TEXT_CLUSTER_FLAG_BACKWARD"/>
</enumeration>
<enumeration name="FontSlant" c:type="cairo_font_slant_t"
glib:type-name="cairo_font_slant_t"
glib:get-type="cairo_gobject_font_slant_get_type">
<member name="normal"
value="0"
c:identifier="CAIRO_FONT_SLANT_NORMAL"/>
<member name="italic"
value="1"
c:identifier="CAIRO_FONT_SLANT_ITALIC"/>
<member name="oblique"
value="2"
c:identifier="CAIRO_FONT_SLANT_OBLIQUE"/>
</enumeration>
<enumeration name="FontWeight" c:type="cairo_font_weight_t"
glib:type-name="cairo_font_weight_t"
glib:get-type="cairo_gobject_font_weight_get_type">
<member name="normal"
value="0"
c:identifier="CAIRO_FONT_WEIGHT_NORMAL"/>
<member name="bold"
value="1"
c:identifier="CAIRO_FONT_WEIGHT_BOLD"/>
</enumeration>
<enumeration name="SubpixelOrder" c:type="cairo_subpixel_order_t"
glib:type-name="cairo_subpixel_order_t"
glib:get-type="cairo_gobject_subpixel_order_get_type">
<member name="default"
value="0"
c:identifier="CAIRO_SUBPIXEL_ORDER_DEFAULT"/>
<member name="rgb"
value="1"
c:identifier="CAIRO_SUBPIXEL_ORDER_RGB"/>
<member name="bgr"
value="2"
c:identifier="CAIRO_SUBPIXEL_ORDER_BGR"/>
<member name="vrgb"
value="3"
c:identifier="CAIRO_SUBPIXEL_ORDER_VRGB"/>
<member name="vbgr"
value="4"
c:identifier="CAIRO_SUBPIXEL_ORDER_VBGR"/>
</enumeration>
<enumeration name="HintStyle" c:type="cairo_hint_style_t"
glib:type-name="cairo_hint_style_t"
glib:get-type="cairo_gobject_hint_style_get_type">
<member name="default"
value="0"
c:identifier="CAIRO_HINT_STYLE_DEFAULT"/>
<member name="none"
value="1"
c:identifier="CAIRO_HINT_STYLE_NONE"/>
<member name="slight"
value="2"
c:identifier="CAIRO_HINT_STYLE_SLIGHT"/>
<member name="medium"
value="3"
c:identifier="CAIRO_HINT_STYLE_MEDIUM"/>
<member name="full"
value="4"
c:identifier="CAIRO_HINT_STYLE_FULL"/>
</enumeration>
<enumeration name="HintMetrics" c:type="cairo_hint_metrics_t"
glib:type-name="cairo_hint_metrics_t"
glib:get-type="cairo_gobject_hint_metrics_get_type">
<member name="default"
value="0"
c:identifier="CAIRO_HINT_METRICS_DEFAULT"/>
<member name="off"
value="1"
c:identifier="CAIRO_HINT_METRICS_OFF"/>
<member name="on"
value="2"
c:identifier="CAIRO_HINT_METRICS_ON"/>
</enumeration>
<record name="FontOptions" c:type="cairo_font_options_t" foreign="1"
glib:type-name="CairoFontOptions"
glib:get-type="cairo_gobject_font_options_get_type"/>
<enumeration name="FontType" c:type="cairo_font_type_t"
glib:type-name="cairo_font_type_t"
glib:get-type="cairo_gobject_font_type_get_type">
<member name="toy"
value="0"
c:identifier="CAIRO_FONT_TYPE_TOY"/>
<member name="ft"
value="1"
c:identifier="CAIRO_FONT_TYPE_FT"/>
<member name="win32"
value="2"
c:identifier="CAIRO_FONT_TYPE_WIN32"/>
<member name="quartz"
value="3"
c:identifier="CAIRO_FONT_TYPE_QUARTZ"/>
<member name="user"
value="4"
c:identifier="CAIRO_FONT_TYPE_USER"/>
</enumeration>
<enumeration name="PathDataType" c:type="cairo_path_data_type_t"
glib:type-name="cairo_path_data_type_t"
glib:get-type="cairo_gobject_path_data_type_get_type">
<member name="move_to"
value="0"
c:identifier="CAIRO_PATH_MOVE_TO"/>
<member name="line_to"
value="1"
c:identifier="CAIRO_PATH_LINE_TO"/>
<member name="curve_to"
value="2"
c:identifier="CAIRO_PATH_CURVE_TO"/>
<member name="close_path"
value="3"
c:identifier="CAIRO_PATH_CLOSE_PATH"/>
</enumeration>
<enumeration name="DeviceType" c:type="cairo_device_type_t"
glib:type-name="cairo_device_type_t"
glib:get-type="cairo_gobject_device_type_get_type">
<member name="drm"
value="0"
c:identifier="CAIRO_DEVICE_TYPE_DRM"/>
<member name="gl"
value="1"
c:identifier="CAIRO_DEVICE_TYPE_GL"/>
<member name="script"
value="2"
c:identifier="CAIRO_DEVICE_TYPE_SCRIPT"/>
<member name="xcb"
value="3"
c:identifier="CAIRO_DEVICE_TYPE_XCB"/>
<member name="xlib"
value="4"
c:identifier="CAIRO_DEVICE_TYPE_XLIB"/>
<member name="xml"
value="5"
c:identifier="CAIRO_DEVICE_TYPE_XML"/>
<member name="cogl"
value="6"
c:identifier="CAIRO_DEVICE_TYPE_COGL"/>
<member name="win32"
value="7"
c:identifier="CAIRO_DEVICE_TYPE_WIN32"/>
<member name="invalid"
value="-1"
c:identifier="CAIRO_DEVICE_TYPE_INVALID"/>
</enumeration>
<enumeration name="SurfaceType" c:type="cairo_surface_type_t"
glib:type-name="cairo_surface_type_t"
glib:get-type="cairo_gobject_surface_type_get_type">
<member name="image"
value="0"
c:identifier="CAIRO_SURFACE_TYPE_IMAGE"/>
<member name="pdf"
value="1"
c:identifier="CAIRO_SURFACE_TYPE_PDF"/>
<member name="ps"
value="2"
c:identifier="CAIRO_SURFACE_TYPE_PS"/>
<member name="xlib"
value="3"
c:identifier="CAIRO_SURFACE_TYPE_XLIB"/>
<member name="xcb"
value="4"
c:identifier="CAIRO_SURFACE_TYPE_XCB"/>
<member name="glitz"
value="5"
c:identifier="CAIRO_SURFACE_TYPE_GLITZ"/>
<member name="quartz"
value="6"
c:identifier="CAIRO_SURFACE_TYPE_QUARTZ"/>
<member name="win32"
value="7"
c:identifier="CAIRO_SURFACE_TYPE_WIN32"/>
<member name="beos"
value="8"
c:identifier="CAIRO_SURFACE_TYPE_BEOS"/>
<member name="directfb"
value="9"
c:identifier="CAIRO_SURFACE_TYPE_DIRECTFB"/>
<member name="svg"
value="10"
c:identifier="CAIRO_SURFACE_TYPE_SVG"/>
<member name="os2"
value="11"
c:identifier="CAIRO_SURFACE_TYPE_OS2"/>
<member name="win32_printing"
value="12"
c:identifier="CAIRO_SURFACE_TYPE_WIN32_PRINTING"/>
<member name="quartz_image"
value="13"
c:identifier="CAIRO_SURFACE_TYPE_QUARTZ_IMAGE"/>
<member name="script"
value="14"
c:identifier="CAIRO_SURFACE_TYPE_SCRIPT"/>
<member name="qt"
value="15"
c:identifier="CAIRO_SURFACE_TYPE_QT"/>
<member name="recording"
value="16"
c:identifier="CAIRO_SURFACE_TYPE_RECORDING"/>
<member name="vg"
value="17"
c:identifier="CAIRO_SURFACE_TYPE_VG"/>
<member name="gl"
value="18"
c:identifier="CAIRO_SURFACE_TYPE_GL"/>
<member name="drm"
value="19"
c:identifier="CAIRO_SURFACE_TYPE_DRM"/>
<member name="tee"
value="20"
c:identifier="CAIRO_SURFACE_TYPE_TEE"/>
<member name="xml"
value="21"
c:identifier="CAIRO_SURFACE_TYPE_XML"/>
<member name="skia"
value="22"
c:identifier="CAIRO_SURFACE_TYPE_SKIA"/>
<member name="subsurface"
value="23"
c:identifier="CAIRO_SURFACE_TYPE_SUBSURFACE"/>
<member name="cogl"
value="24"
c:identifier="CAIRO_SURFACE_TYPE_COGL"/>
</enumeration>
<enumeration name="Format" c:type="cairo_format_t"
glib:type-name="cairo_format_t"
glib:get-type="cairo_gobject_format_get_type">
<member name="invalid"
value="-1"
c:identifier="CAIRO_FORMAT_INVALID"/>
<member name="argb32"
value="0"
c:identifier="CAIRO_FORMAT_ARGB32"/>
<member name="rgb24"
value="1"
c:identifier="CAIRO_FORMAT_RGB24"/>
<member name="a8"
value="2"
c:identifier="CAIRO_FORMAT_A8"/>
<member name="a1"
value="3"
c:identifier="CAIRO_FORMAT_A1"/>
<member name="rgb16_565"
value="4"
c:identifier="CAIRO_FORMAT_RGB16_565"/>
<member name="rgb30"
value="5"
c:identifier="CAIRO_FORMAT_RGB30"/>
</enumeration>
<enumeration name="PatternType" c:type="cairo_pattern_type_t"
glib:type-name="cairo_pattern_type_t"
glib:get-type="cairo_gobject_pattern_type_get_type">
<member name="solid"
value="0"
c:identifier="CAIRO_PATTERN_TYPE_SOLID"/>
<member name="surface"
value="1"
c:identifier="CAIRO_PATTERN_TYPE_SURFACE"/>
<member name="linear"
value="2"
c:identifier="CAIRO_PATTERN_TYPE_LINEAR"/>
<member name="radial"
value="3"
c:identifier="CAIRO_PATTERN_TYPE_RADIAL"/>
<member name="mesh"
value="4"
c:identifier="CAIRO_PATTERN_TYPE_MESH"/>
<member name="raster_source"
value="5"
c:identifier="CAIRO_PATTERN_TYPE_RASTER_SOURCE"/>
</enumeration>
<enumeration name="Extend" c:type="cairo_extend_t"
glib:type-name="cairo_extend_t"
glib:get-type="cairo_gobject_extend_get_type">
<member name="none"
value="0"
c:identifier="CAIRO_EXTEND_NONE"/>
<member name="repeat"
value="1"
c:identifier="CAIRO_EXTEND_REPEAT"/>
<member name="reflect"
value="2"
c:identifier="CAIRO_EXTEND_REFLECT"/>
<member name="pad"
value="3"
c:identifier="CAIRO_EXTEND_PAD"/>
</enumeration>
<enumeration name="Filter" c:type="cairo_filter_t"
glib:type-name="cairo_filter_t"
glib:get-type="cairo_gobject_filter_get_type">
<member name="fast"
value="0"
c:identifier="CAIRO_FILTER_FAST"/>
<member name="good"
value="1"
c:identifier="CAIRO_FILTER_GOOD"/>
<member name="best"
value="2"
c:identifier="CAIRO_FILTER_BEST"/>
<member name="nearest"
value="3"
c:identifier="CAIRO_FILTER_NEAREST"/>
<member name="bilinear"
value="4"
c:identifier="CAIRO_FILTER_BILINEAR"/>
<member name="gaussian"
value="5"
c:identifier="CAIRO_FILTER_GAUSSIAN"/>
</enumeration>
<enumeration name="RegionOverlap" c:type="cairo_region_overlap_t"
glib:type-name="cairo_region_overlap_t"
glib:get-type="cairo_gobject_region_overlap_get_type">
<member name="in"
value="0"
c:identifier="CAIRO_REGION_OVERLAP_IN"/>
<member name="out"
value="1"
c:identifier="CAIRO_REGION_OVERLAP_OUT"/>
<member name="part"
value="2"
c:identifier="CAIRO_REGION_OVERLAP_PART"/>
</enumeration>
<record name="FontFace" c:type="cairo_font_face_t" foreign="1"
glib:type-name="CairoFontFace"
glib:get-type="cairo_gobject_font_face_get_type"/>
<record name="ScaledFont" c:type="cairo_scaled_font_t" foreign="1"
glib:type-name="CairoScaledFont"
glib:get-type="cairo_gobject_scaled_font_get_type"/>
<record name="Path" c:type="cairo_path_t" foreign="1"/>
<record name="Rectangle" c:type="cairo_rectangle_t"
glib:type-name="CairoRectangle"
glib:get-type="cairo_gobject_rectangle_get_type">
<field name="x" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="y" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="width" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="height" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
</record>
<record name="RectangleInt" c:type="cairo_rectangle_int_t"
glib:type-name="CairoRectangleInt"
glib:get-type="cairo_gobject_rectangle_int_get_type">
<field name="x" writable="1">
<type name="gint" c:type="gint"/>
</field>
<field name="y" writable="1">
<type name="gint" c:type="gint"/>
</field>
<field name="width" writable="1">
<type name="gint" c:type="gint"/>
</field>
<field name="height" writable="1">
<type name="gint" c:type="gint"/>
</field>
</record>
<function name="image_surface_create" c:identifier="cairo_image_surface_create">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

View File

@ -0,0 +1,18 @@
<?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="fontconfig" version="2.0"
c:identifier-prefixes="Fc"
c:symbol-prefixes="fc">
<record name="Pattern" c:type="FcPattern"/>
<record name="CharSet" c:type="FcCharSet"/>
<function name="init" c:identifier="FcInit">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

View File

@ -0,0 +1,22 @@
<?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">
<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"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

700
vala/gir-1.0/gir-1.2.rnc Normal file
View File

@ -0,0 +1,700 @@
default namespace core = "http://www.gtk.org/introspection/core/1.0"
namespace c = "http://www.gtk.org/introspection/c/1.0"
namespace glib = "http://www.gtk.org/introspection/glib/1.0"
grammar {
start = Repository
## Root node of a GIR repository. It contains namespaces, which can in turn be implemented in several libraries
Repository =
element repository {
## version number of the repository
attribute version { xsd:string }?,
## prefixes to filter out from C identifiers for data structures and types. For example, GtkWindow will be Window. If c:symbol-prefixes is not used, then this element is used for both
attribute c:identifier-prefixes { xsd:string }?,
## prefixes to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefixes { xsd:string }?,
# Other elements a repository can contain
(Include*
& CInclude*
& Package*
& Namespace*)
}
## Namespace which maps metadata entries to C functionality. This a similar concept to namespace in C++, but for GObject-based C libraries
Namespace =
element namespace {
## name of the namespace. For example, 'Gtk'
attribute name { xsd:string }?,
## version number of the namespace
attribute version { xsd:string }?,
## prefixes to filter out from C identifiers for data structures and types. For example, GtkWindow will be Window. If c:symbol-prefixes is not used, then this element is used for both
attribute c:identifier-prefixes { xsd:string }?,
## prefixes to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefixes { xsd:string }?,
## Deprecated: the same as c:identifier-prefixes. Only used for backward compatibility
attribute c:prefix { xsd:string }?,
## Path to the shared library implementing the namespace. It can be a comma-separated list, with relative path only
attribute shared-library { xsd:string }?,
# Other elements a namespace can contain
(Alias*
& Class*
& Interface*
& Record*
& Enum*
& Function*
& Union*
& BitField*
& Callback*
& Constant*
& Annotation*
& Boxed*)
}
Annotation =
## element defining an annotation from the source code, usually a user-defined annotation associated to a parameter or a return value
element attribute {
## name of the attribute
attribute name { xsd:string },
## value of the attribute
attribute value { xsd:string }
}
CInclude =
## Dependant C header file which should be included in C programs
element c:include {
## File name of the C header file. The path can be relative.
attribute name { xsd:string },
empty
}
Include =
## Dependant namespace to include with the current namespace. For example, Gtk will need the namespace GLib
element include {
## name of the dependant namespace to include
attribute name { xsd:string },
## version of the dependant namespace to use
attribute version { xsd:string }?,
empty
}
Package =
## Deprecated: package name containing the library
element package {
## name of the package
attribute name { xsd:string },
empty
}
Alias =
## Type's name substitution, representing a typedef in C
element alias {
# Attributes of an Alias (see definition below)
Info.attrs,
## the new name or typedef'd name
attribute name { xsd:string },
## the corresponding C type's name
attribute c:type { xsd:string },
# Other elements an alias can contain
(Info.elements
& Type)
}
Interface =
## Abstract interface to other classes
element interface {
# Attributes of an Interface (see definition below)
Info.attrs,
## name of the interface
attribute name { xsd:string },
## Type name compatible with the GObject type system
attribute glib:type-name { xsd:string },
## Function to get the GObject compatible type of the interface
attribute glib:get-type { xsd:string },
## prefix to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefix { xsd:string }?,
## Corresponding C type
attribute c:type { xsd:string }?,
## GObject compatible C structure defining the Interface
attribute glib:type-struct { xsd:string }?,
# Other elements an interface can contain
(Info.elements
& Prerequisite*
& Implements*
& Function*
& Constructor?
& Method*
& VirtualMethod*
& Field*
& Property*
& Signal*
& Callback*
& Constant*)
}
Class =
## GObject inherited class definition
element class {
Info.attrs,
## Name of the class
attribute name { xsd:string },
## GObject compatible type name of the class
attribute glib:type-name { xsd:string },
## Function to get the GObject compatible type of the class
attribute glib:get-type { xsd:string },
## Name of the parent class if any
attribute parent { xsd:string }?,
## GObject compatible C structure defining the class
attribute glib:type-struct { xsd:string }?,
## GObject compatible function to reference or increase the reference count of the class
attribute glib:ref-func { xsd:string }?,
## GObject compatible function to unreference or decrease the reference count of the class
attribute glib:unref-func { xsd:string }?,
## GObject compatible function to set a value of a property of the class
attribute glib:set-value-func { xsd:string }?,
## GObject compatible function to get a value of a property of the class
attribute glib:get-value-func { xsd:string }?,
## C type of the class
attribute c:type { xsd:string }?,
## prefix to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefix { xsd:string }?,
## Binary attribute to declare the class abstract or not
attribute abstract { "0" | "1" }?,
## Binary attribute to declare the class fundamental or not (top-level class which do not derives from any other type)
attribute glib:fundamental { "0" | "1" }?,
## Binary attribute to declare the class final or not (non-derivable class in a derivable hierarchy)
attribute final { "0" | "1" }?,
# Other elements a class can contain
(Info.elements
& Implements*
& Constructor*
& Method*
& Function*
& VirtualMethod*
& Field*
& Property*
& Signal*
& Union*
& Constant*
& Record*
& Callback*)
}
Boxed =
## Boxed type (wrapper to opaque C structures registered by the type system)
element glib:boxed {
Info.attrs,
## GObject compatible type name of the boxed type
attribute glib:name { xsd:string },
## prefix to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefix { xsd:string }?,
## GObject compatible type name of the boxed type
attribute glib:type-name { xsd:string }?,
## Function to get the GObject compatible type of the boxed type
attribute glib:get-type { xsd:string }?,
# Other elements a Boxed type can contain
(Info.elements
& Function*)
}
Record =
## Record definition, equivalent to a C struct, that is a simple structure, not a class
element record {
Info.attrs,
## name of the record
attribute name { xsd:string },
## Corresponding C type of the record
attribute c:type { xsd:string }?,
## Binary attribute to tell if the record is disguised, i.e. whether the c:type is a typedef that doesn't look like a pointer, but is one internally
## Its second meaning is "private" and is set when any typedef struct is parsed which doesn't also include a full struct with fields (https://gitlab.gnome.org/GNOME/gobject-introspection/issues/101)
attribute disguised { "0" | "1" }?,
## GObject compatible C type of the record
attribute glib:type-name { xsd:string }?,
## Function to get the GObject compatible type of the record
attribute glib:get-type { xsd:string }?,
## prefix to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefix { xsd:string }?,
## Binary attribute to tell if the record is foreign, that is it is not available in a g-i supported library
attribute foreign { "0" | "1" }?,
## Name of the GObject compatible gtype this record represents. If empty, this record will be hidden from generated public APIs.
attribute glib:is-gtype-struct-for { xsd:string }?,
# Other elements a record can contain
# mandatory
(Info.elements
& Field*
& Function*
& Union*
& Method*
& Constructor*
& Property*)
}
# Some base information for most elements like version, deprecation, stability, if they are introspectable or not, etc...
Info.attrs = (
## Binary attribute which is "0" (false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code
attribute introspectable { "0" | "1" }?,
## Binary attribute which is "1" (true) if the element has been deprecated
attribute deprecated { xsd:string }?,
## Version number from which this element is deprecated
attribute deprecated-version { xsd:string }?,
## version number of an element
attribute version { xsd:string }?,
## give the statibility status of the element. Can take the values "Stable", "Unstable" or "Private"
attribute stability { xsd:string }?
)
# Documentation of elements
DocElements = (
## Version of the documentation
element doc-version {
## Preserve the original formatting of the documentation from the source code
attribute xml:space { "preserve" }?,
## Preserve the original formatting of the documentation from the source code. Recommended to use this instead of xml:space
attribute xml:whitespace { "preserve" }?,
## the text of the version of the documentation
text
}? &
## give the stability of the documentation
element doc-stability {
## Preserve the original formatting of the documentation from the source code
attribute xml:space { "preserve" }?,
## Preserve the original formatting of the documentation from the source code. Recommended to use this instead of xml:space
attribute xml:whitespace { "preserve" }?,
## a text value about the stability of the documentation. Usually a simple description like stable or unstable
text
}? &
## documentation of an element
element doc {
## Preserve the original formatting of the documentation from the source code
attribute xml:space { "preserve" }?,
## Keep the whitespace as they were in the source code
attribute xml:whitespace { "preserve" }?,
## The file containing this documentation
attribute filename { xsd:string },
## The first line of the documentation in the source code
attribute line { xsd:string },
## The first column of the documentation in the source code
attribute column { xsd:string },
## the text of the documentation
text
}? &
## Deprecated documentation of an element. Kept for historical reasons in general
element doc-deprecated {
## Preserve the original formatting of the documentation from the source code
attribute xml:space { "preserve" }?,
## Keep the whitespace as they were in the source code
attribute xml:whitespace { "preserve" }?,
## the text of the deprecated documentation
text
}? &
## Position of the documentation in the original source code
element source-position {
## File name of the source of the documentation
attribute filename { xsd:string },
## The first line of the documentation in the source code
attribute line { xsd:string },
## The first column of the documentation in the source code
attribute column { xsd:string }
}?
)
# Information about elements can be a documentation of annotations
Info.elements = (
DocElements
& Annotation*
)
Constant =
## A constant entity, similar to const variable in C
element constant {
Info.attrs,
## name of the constant
attribute name { xsd:string },
## value of the constant
attribute value { xsd:string },
## corresponding C type of the constant in C
attribute c:type { xsd:string }?,
## corresponding C identifier in the source code
attribute c:identifier { xsd:string }?,
# Other elements a record can contain
(Info.elements
& AnyType?)
}
Property =
## Property, that is a variable or members with getter and setter functions
element property {
Info.attrs,
## name of the property
attribute name { xsd:string },
## Binary attribute, true if the property is writeable, that is it has a setter function
attribute writable { "0" | "1" }?,
## Binary attribute, true if the property is readable, that is it has a getter function
attribute readable { "0" | "1" }?,
## Binary attribute, true if the property will be set upon construction
attribute construct { "0" | "1" }?,
## Binary attribute, true if the property can only be set upon construction
attribute construct-only { "0" | "1" }?,
## The setter function for this property
attribute setter { xsd:string }?,
## The getter function for this property
attribute getter { xsd:string }?,
# Define the transfer of ownership of the property element
TransferOwnership?,
# Other elements a property can contain
(Info.elements
& AnyType)
}
Signal =
## A signal as defined in the GObject system (https://developer-old.gnome.org/gobject/stable/signal.html)
element glib:signal {
Info.attrs,
## name of the signal
attribute name { xsd:string },
## Binary attribute, true if the signal has a detailed parameter (https://developer-old.gnome.org/gobject/stable/signal.html#signal-detail and https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute detailed { "0" | "1" }?,
## When to run the signal during the 5 steps of signal emission (https://developer-old.gnome.org/gobject/stable/signal.html#signal-emission and https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute when { "first" | "last" | "cleanup" }?,
## Binary attribute, true if the signal can be freely emitted on alive objects from user code (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute action { "0" | "1" }?,
## Binary attribute, true if no emission hooks are supported for this signal (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute no-hooks { "0" | "1" }?,
## Binary attribute, true if signals emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted (https://developer-old.gnome.org/gobject/stable/gobject-Signals.html#GSignalFlags)
attribute no-recurse { "0" | "1" }?,
# Other elements a property can contain
(Info.elements
& Callable.params?
& Callable.return?)
}
Field =
## A field of struct of union structure, that is a C bit field, that is a fixed length in bits variable
element field {
Info.attrs,
## name of the field
attribute name { xsd:string },
## Binary attribute, true if the field is writeable
attribute writable { "0" | "1" }?,
## Binary attribute, true if the field is readable
attribute readable { "0" | "1" }?,
## Binary attribute, true if the field is private to the structure or has public ("0") visibility
attribute private { "0" | "1" }?,
## number of bits of the field
attribute bits { xsd:integer }?,
# Other elements a property can contain
(Info.elements
& (Callback | AnyType))
}
Callback =
## A callback closure, that is a function called when a signal is emitted (as an answer to that signal)
element callback {
Info.attrs,
## name of the callback
attribute name { xsd:string },
## the C type returned by the callback closure (i.e. function)
attribute c:type { xsd:string }?,
## Binary attribute, true if the callback can throw an error
attribute throws { "0" | "1" }?,
# Other elements a property can contain
(Info.elements
& Callable.params?
& Callable.return?)
}
Implements =
## Give the name of the interface it implements. This element is generally used within a class element
element implements {
## name of the interface implemented by a class
attribute name { xsd:string }
}
Prerequisite =
## Interface which is pre-required to implement another interface. This node is generally using within an interface element
element prerequisite {
## name of the required interface
attribute name { xsd:string }
}
# A generic grammar element to represent either a simple Type or an Array of the same Type
AnyType = (Type | ArrayType)
Type =
# A simple type of data (as opposed to an array)
element type {
## name of the type
attribute name { xsd:string }?,
## the C representation of the type
attribute c:type { xsd:string }?,
## Binary attribute which is "0" (false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code
attribute introspectable { "0" | "1" }?,
(DocElements & AnyType*)
}
ArrayType =
## An array type of data where each element is of the same type
element array {
## name of the array type
attribute name { xsd:string }?,
## Binary attribute, true if the last element of the array is zero. For example, in an array of pointers, the last pointer would be NULL
attribute zero-terminated { "0" | "1" }?,
## size of an array of predetermined fixed size. For example a C array declared as char arr[5].
attribute fixed-size { xsd:integer }?,
## Binary attribute which is "0" (false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code
attribute introspectable { "0" | "1" }?,
## 0-based index of parameter element that specifies the length of the array
attribute length { xsd:integer }?,
## the C representation of the array type
attribute c:type { xsd:string }?,
# Type of the values contained in the array
AnyType
}
TransferOwnership =
## attributes used by many elements for the transfer of ownership, with for example, a returned value. "none" if the recipient does not own the value, "container" if the recipient owns the container but not the value (for arrays or lists for example) , "full" the recipient owns the entire value. For details, see https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Memory_and_lifecycle_management
attribute transfer-ownership { "none" | "container" | "full" }
Constructor =
## A constructor of a class
element constructor {
Callable.attrs,
(Info.elements
& Callable.params?
& Callable.return?)
}
## Attributes of a Callable (functions, callbacks, closures, etc...)
Callable.attrs = (
Info.attrs,
## name of the Callable
attribute name { xsd:string },
# C identifier in the source code of the Callable
attribute c:identifier { xsd:string }?,
## Callable it is shadowed by. For example, in C++, only one version of an overloaded callable will appear
attribute shadowed-by { xsd:string }?,
## Callable it shadows. For example, in C++, only one version of an overloaded callable will appear
attribute shadows { xsd:string }?,
## Binary attribute, true if the callable can throw an error
attribute throws { "0" | "1" }?,
## if for backward compatibility reason the callable has a name in the source code but should be known by another one, this attribute contains the new name
attribute moved-to { xsd:string }?
)
VarArgs =
## an element, usually found in a parameter element for variadic parameter in a function or callable
element varargs {
empty
}
# Refer to https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Support_for_GObject_closures
Callable.params =
## parameters element of a callable, that is in general parameters of a function or similar
element parameters {
## parameter element of a list of parameters
element parameter {
## name of the parameter
attribute name { xsd:string }?,
## Binary attribute, true if the parameter can have a null value
attribute nullable { "0" | "1" }?,
## Deprecated. Replaced by nullable and optional
attribute allow-none { "0" | "1" }?,
## Binary attribute which is "0" (false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code
attribute introspectable { "0" | "1" }?,
## the parameter is a user_data for callbacks. The value points to a different parameter that is the actual callback
attribute closure { xsd:integer }?,
## the parameter is a destroy_data for callbacks. The value points to a different parameter that is the actual callback
attribute destroy { xsd:integer }?,
## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call.
attribute scope { "notified" | "async" | "call" }?,
## direction of the parameter. "in" goes into the callable, "out" for output parameters from the callable (reference in C++, var in Pascal, etc...), "inout" for both (like a pre-allocated structure which will be filled-in by the callable)
attribute direction { "out" | "in" | "inout" }?,
## Binary attribute, true if the caller should allocate the parameter before calling the callable
attribute caller-allocates { "0" | "1" }?,
## Binary attribute, true if the parameter is optional
attribute optional { "0" | "1" }?,
## Binary attribute, true if the parameter can be omitted from the introspected output
attribute skip { "0" | "1" }?,
TransferOwnership?,
(DocElements
& (AnyType | VarArgs))
}* &
## instance-parameter is a parameter of a C function which is an instance of an existing object. So the callable is surely a method of a class, and this parameter points to the instance of the object. In C++, this would be equivalent to the pointer this which is not passed to the method, in Python it's equivalent to self.
element instance-parameter {
## name of the instance-parameter
attribute name { xsd:string },
## Binary attribute, true if the parameter can have a null value
attribute nullable { "0" | "1" }?,
## Deprecated. Replaced by nullable and optional
attribute allow-none { "0" | "1" }?,
## direction of the parameter. "in" goes into the callable, "out" for output parameters from the callable (reference in C++, var in Pascal, etc...), "inout" for both (like a pre-allocated structure which will be filled-in by the callable)
attribute direction { "out" | "in" | "inout" }?,
## Binary attribute, true if the caller should allocate the parameter before calling the callable
attribute caller-allocates { "0" | "1" }?,
TransferOwnership?,
(DocElements
& Type)
}?
}
Callable.return =
## return value of a callable
element return-value {
## Binary attribute which is "0" (false) if the element is not introspectable. It doesn't exist in the bindings, due in general to missing information in the annotations in the original C code
attribute introspectable { "0" | "1" }?,
## Binary attribute, true if the parameter can have a null value
attribute nullable { "0" | "1" }?,
## the parameter is a user_data for callbacks. The value points to a different parameter that is the actual callback
attribute closure { xsd:integer }?,
## the parameter is a callback, the value indicates the lifetime of the call. For language bindings which want to know when the resources required to do the call can be freed. "notified" valid until a GDestroyNotify argument is called, "async" only valid for the duration of the first callback invocationi (can only be called once), "call" only valid for the duration of the call, can be called multiple times during the call.
attribute scope { "notified" | "async" | "call" }?,
## the parameter is a destroy_data for callbacks. The value points to a different parameter that is the actual callback
attribute destroy { xsd:integer }?,
## Binary attribute, true if the parameter can be omitted from the introspected output
attribute skip { "0" | "1" }?,
## Deprecated. Replaced by nullable and optional
attribute allow-none { "0" | "1" }?,
TransferOwnership?,
(DocElements
& AnyType)
}
Function =
## element defining a standalone function (as usual in most programming languages)
element function {
Callable.attrs,
(Callable.params?
& Callable.return?
& DocElements)
}
Method =
## element defining a method from a class
element method {
Callable.attrs,
## The GObject property that is set by this method
attribute glib:set-property { xsd:string }?,
## The GObject property that is retrieved by this method
attribute glib:get-property { xsd:string }?,
(Info.elements
& Callable.params?
& Callable.return?)
}
VirtualMethod =
## element defining a virtual method from a class, concept similar to C++
element virtual-method {
Callable.attrs,
## name of the callable called when invoking this virtual method
attribute invoker { xsd:string }?,
(Info.elements
& Callable.params?
& Callable.return?)
}
Union =
## element defining a type of data being a union of type, similar to union in C/C++ but extended with fields and methods
element union {
Info.attrs,
## name of the union
attribute name { xsd:string }?,
## C type defining the union
attribute c:type { xsd:string }?,
## prefix to filter out from C functions. For example, gtk_window_new will lose gtk_
attribute c:symbol-prefix { xsd:string }?,
## GObject compatible type name
attribute glib:type-name { xsd:string }?,
## function to retrieve the GObject compatible type of the element
attribute glib:get-type { xsd:string }?,
(Info.elements
& Field*
& Constructor*
& Method*
& Function*
& Record*)
}
BitField =
## element defining a bit field (as in C)
element bitfield {
Info.attrs,
## name of the bit field
attribute name { xsd:string },
## corresponding C type of the bit field type
attribute c:type { xsd:string },
## GObject compatible type name
attribute glib:type-name { xsd:string }?,
## function to retrieve the GObject compatible type of the element
attribute glib:get-type { xsd:string }?,
(Info.elements
& Member*
& Function*)
}
Enum =
## element defining a enumeration type similar to enum in C/C++
element enumeration {
Info.attrs,
## name of the enumeration
attribute name { xsd:string },
## corresponding C type of the enumeration type
attribute c:type { xsd:string },
## GObject compatible type name
attribute glib:type-name { xsd:string }?,
## function to retrieve the GObject compatible type of the element
attribute glib:get-type { xsd:string }?,
## Error domain of this enumeration in a stringified form
attribute glib:error-domain { xsd:string }?,
(Info.elements
& Member*
& Function*)
}
Member =
## element defining a member of a bit field or an enumeration
element member {
Info.attrs,
## name of the member
attribute name { xsd:string },
## value of the member
attribute value { xsd:string },
## corresponding C type of the member
attribute c:identifier { xsd:string },
## short nickname of the member (from GEnumValue/GFlagsValue)
attribute glib:nick { xsd:string }?,
## name of the member (from GEnumValue/GFlagsValue)
attribute glib:name { xsd:string }?,
Info.elements
}
}

View File

@ -0,0 +1,25 @@
<?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">
<package name="libxml-2.0"/>
<namespace name="libxml2" version="2.0"
c:identifier-prefixes="xml"
c:symbol-prefixes="xml">
<record name="Node" c:type="xmlNode"/>
<record name="NodePtr" c:type="xmlNodePtr"/>
<record name="Doc" c:type="xmlDoc"/>
<record name="DocPtr" c:type="xmlDocPtr"/>
<record name="NsPtr" c:type="xmlNsPtr"/>
<record name="Char" c:type="xmlChar"/>
<record name="TextWriter" c:type="xmlTextWriterPtr"/>
<record name="TextReader" c:type="xmlTextReaderPtr"/>
<function name="dummy" c:identifier="dummy">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

View File

@ -0,0 +1,19 @@
<?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">
<alias name="HWND" c:type="HWND">
<type name="guint" c:type="guint"/>
</alias>
<alias name="HICON" c:type="HICON">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="HGDIOBJ" c:type="HGDIOBJ">
<type name="gulong" c:type="gulong"/>
</alias>
</namespace>
</repository>

View File

@ -0,0 +1,10 @@
<?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="xfixes" version="4.0"
c:identifier-prefixes="X"
c:symbol-prefixes="X">
<record name="XserverRegion" c:type="XserverRegion"/>
</namespace>
</repository>

23
vala/gir-1.0/xft-2.0.gir Normal file
View File

@ -0,0 +1,23 @@
<?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">
<include name="xlib" version="2.0"/>
<namespace name="xft" version="2.0"
c:identifier-prefixes="Xft"
c:symbol-prefixes="Xft">
<record name="Color" c:type="XftColor"/>
<record name="Draw" c:type="XftDraw"/>
<record name="Font" c:type="XftFont"/>
<record name="GlyphSpec" c:type="XftGlyphSpec"/>
<function name="init" c:identifier="XftInit">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

67
vala/gir-1.0/xlib-2.0.gir Normal file
View File

@ -0,0 +1,67 @@
<?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="xlib" version="2.0"
c:identifier-prefixes=""
c:symbol-prefixes="X">
<alias name="Atom" c:type="Atom">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="Colormap" c:type="Colormap">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="Cursor" c:type="Cursor">
<type name="gulong" c:type="gulong"/>
</alias>
<record name="Display" c:type="Display"/>
<alias name="Drawable" c:type="Drawable">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="GC" c:type="GC">
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="KeyCode" c:type="KeyCode">
<type name="guint8" c:type="guint8"/>
</alias>
<alias name="KeySym" c:type="KeySym">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="Picture" c:type="Picture">
<type name="gulong" c:type="gulong"/>
</alias>
<record name="Screen" c:type="Screen"/>
<alias name="Time" c:type="Time">
<type name="gulong" c:type="gulong"/>
</alias>
<record name="Visual" c:type="Visual"/>
<alias name="VisualID" c:type="VisualID">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="Window" c:type="Window">
<type name="gulong" c:type="gulong"/>
</alias>
<union name="XEvent" c:type="XEvent"/>
<record name="XConfigureEvent" c:type="XConfigureEvent"/>
<alias name="XID" c:type="XID">
<type name="gulong" c:type="gulong"/>
</alias>
<alias name="Pixmap" c:type="Pixmap">
<type name="gulong" c:type="gulong"/>
</alias>
<record name="XImage" c:type="XImage"/>
<record name="XFontStruct" c:type="XFontStruct"/>
<record name="XTrapezoid" c:type="XTrapezoid"/>
<record name="XVisualInfo" c:type="XVisualInfo"/>
<record name="XWindowAttributes" c:type="XWindowAttributes"/>
<function name="open_display" c:identifier="XOpenDisplay">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
</parameters>
</function>
</namespace>
</repository>

View File

@ -0,0 +1,16 @@
<?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="xrandr" version="1.3"
c:identifier-prefixes="XRR"
c:symbol-prefixes="XRR">
<record name="ScreenSize" c:type="XRRScreenSize"/>
<record name="ScreenChangeNotifyEvent" c:type="XRRScreenChangeNotifyEvent"/>
<record name="NotifyEvent" c:type="XRRNotifyEvent"/>
<record name="ScreenResources" c:type="XRRScreenResources"/>
<record name="OutputChangeNotifyEvent" c:type="XRROutputChangeNotifyEvent"/>
<record name="CrtcChangeNotifyEvent" c:type="XRRCrtcChangeNotifyEvent"/>
<record name="OutputPropertyNotifyEvent" c:type="XRROutputPropertyNotifyEvent"/>
</namespace>
</repository>

View File

@ -0,0 +1 @@
sdl2

View File

@ -0,0 +1,436 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 SDL2 VAPI Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Authors:
* Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
* Gontzal Uriarte <txasatonga@gmail.com>
* Pedro H. Lara Campos <root@pedrohlc.com>
*/
namespace SDLGraphics {
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Pixel {
[CCode (cname = "pixelColor")]
public static int color (SDL.Video.Renderer dst, int16 x, int16 y, uint32 color);
[CCode (cname = "pixelRGBA")]
public static int rgba (SDL.Video.Renderer dst, int16 x, int16 y,
uchar r, uchar g, uchar b, uchar a);
}// Pixel
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Line {
[CCode (cname = "hlineColor")]
public static int color_h (SDL.Video.Renderer dst, int16 x1, int16 x2,
int16 y, uint32 color);
[CCode (cname = "hlineRGBA")]
public static int rgba_h (SDL.Video.Renderer dst, int16 x1, int16 x2,
int16 y, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "vlineColor")]
public static int color_v (SDL.Video.Renderer dst, int16 x, int16 y1,
int16 y2, uint32 color);
[CCode (cname = "vlineRGBA")]
public static int rgba_v (SDL.Video.Renderer dst, int16 x, int16 y1,
int16 y2, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "lineColor")]
public static int color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uint32 color);
[CCode (cname = "lineRGBA")]
public static int rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "aalineColor")]
public static int color_aa (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uint32 color);
[CCode (cname = "aalineRGBA")]
public static int rgba_aa (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uchar r, uchar g, uchar b, uchar a);
}// Line
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Rectangle {
[CCode (cname = "rectangleColor")]
public static int outline_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uint32 color);
[CCode (cname = "rectangleRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "roundedRectangleColor")]
public static int rounded_outline_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 rad, uint32 color);
[CCode (cname = "roundedRectangleRGBA")]
public static int rounded_outline_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 rad, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "boxColor")]
public static int fill_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uint32 color);
[CCode (cname = "boxRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "roundedBoxColor")]
public static int rounded_fill_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 rad, uint32 color);
[CCode (cname = "roundedBoxRGBA")]
public static int rounded_fill_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 rad, uchar r, uchar g, uchar b, uchar a);
}// Rectangle
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Circle {
[CCode (cname = "circleColor")]
public static int outline_color (SDL.Video.Renderer dst, int16 x, int16 y,
int16 radius, uint32 color);
[CCode (cname = "circleRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "aacircleColor")]
public static int outline_color_aa (SDL.Video.Renderer dst, int16 x, int16 y,
int16 radius, uint32 color);
[CCode (cname = "aacircleRGBA")]
public static int outline_rgba_aa (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "filledCircleColor")]
public static int fill_color (SDL.Video.Renderer dst, int16 x, int16 y,
int16 radius, uint32 color);
[CCode (cname = "filledCircleRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
uchar r, uchar g, uchar b, uchar a);
}// Circle
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Ellipse {
[CCode (cname = "ellipseColor")]
public static int outline_color (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uint32 color);
[CCode (cname = "ellipseRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "aaellipseColor")]
public static int outline_color_aa (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uint32 color);
[CCode (cname = "aaellipseRGBA")]
public static int outline_rgba_aa (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "filledEllipseColor")]
public static int fill_color (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uint32 color);
[CCode (cname = "filledEllipseRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, int16 xc, int16 yc,
int16 rx, int16 ry, uchar r, uchar g, uchar b, uchar a);
}// Ellipse
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Arc {
[CCode (cname = "pieColor")]
public static int outline_color (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
int16 start, int16 end, uint32 color);
[CCode (cname = "pieRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
int16 start, int16 end, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "filledPieColor")]
public static int fill_color (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
int16 start, int16 end, uint32 color);
[CCode (cname = "filledPieRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, int16 x, int16 y, int16 radius,
int16 start, int16 end, uchar r, uchar g, uchar b, uchar a);
}// Arc
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Trigon {
[CCode (cname = "trigonColor")]
public static int outline_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3, uint32 color);
[CCode (cname = "trigonRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3,
uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "aatrigonColor")]
public static int outline_color_aa (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3, uint32 color);
[CCode (cname = "aatrigonRGBA")]
public static int outline_rgba_aa (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3,
uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "filledTrigonColor")]
public static int fill_color (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3, uint32 color);
[CCode (cname = "filledTrigonRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, int16 x1, int16 y1,
int16 x2, int16 y2, int16 x3, int16 y3,
uchar r, uchar g, uchar b, uchar a);
}// Trigon
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Polygon {
[CCode (cname = "polygonColor")]
public static int outline_color (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uint32 color);
[CCode (cname = "polygonRGBA")]
public static int outline_rgba (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "aapolygonColor")]
public static int outline_color_aa (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uint32 color);
[CCode (cname = "aapolygonRGBA")]
public static int outline_rgba_aa (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "filledPolygonColor")]
public static int fill_color (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uint32 color);
[CCode (cname = "filledPolygonRGBA")]
public static int fill_rgba (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int n, uchar r, uchar g, uchar b, uchar a);
}// Polygon
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace BezierCurve {
[CCode (cname = "bezierColor")]
public static int color (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int vertices, int steps, uint32 color);
[CCode (cname = "bezierRGBA")]
public static int rgba (SDL.Video.Renderer dst, [CCode (array_length = false)] int16[] vx, [CCode (array_length = false)] int16[] vy,
int vertices, int steps, uchar r, uchar g, uchar b, uchar a);
}// BezierCurve
[CCode (cheader_filename = "SDL2/SDL2_gfxPrimitives.h")]
namespace Text {
[CCode (cname = "stringColor")]
public static int color (SDL.Video.Renderer dst, int16 x, int16 y, string s, uint32 color);
[CCode (cname = "stringRGBA")]
public static int rgba (SDL.Video.Renderer dst, int16 x, int16 y, string s,
uchar r, uchar g, uchar b, uchar a);
[CCode (cname = "gfxPrimitivesSetFont")]
public static int set_font (void* fontdata, int cw, int ch);
}// Text
[CCode (cheader_filename = "SDL2/SDL2_rotozoom.h")]
namespace RotoZoom {
[CCode (cname = "rotozoomSurface")]
public static SDL.Video.Surface rotozoom (SDL.Video.Surface src, double degrees,
double zoom, int smooth);
[CCode (cname = "rotozoomSurfaceXY")]
public static SDL.Video.Surface rotozoom_xy (SDL.Video.Surface src, double degrees,
double zoomx, double zoomy, int smooth);
[CCode (cname = "rotozoomSurfaceSize")]
public static void rotozoom_size (int width, int height, double degrees,
double zoom, ref int dstwidth, ref int dstheight);
[CCode (cname = "rotozoomSurfaceSizeXY")]
public static void rotozoom_size_xy (int width, int height, double degrees,
double zoomx, double zoomy, ref int dstwidth, ref int dstheight);
[CCode (cname = "zoomSurface")]
public static SDL.Video.Surface zoom (SDL.Video.Surface src, double zoomx,
double zoomy, int smooth);
[CCode (cname = "zoomSurfaceSize")]
public static void zoom_size (int width, int height, double zoomx,
double zoomy, ref int dstwidth, ref int dstheight);
}// RotoZoom
[CCode (cheader_filename = "SDL2/SDL2_framerate.h", cname = "FPSmanager", free_function = "g_free")]
[Compact]
public struct FramerateManager {
uint32 framecount;
float rateticks;
uint32 baseticks;
uint32 lastticks;
uint32 rate;
[CCode (cname = "SDL_initFramerate")]
public void init ();
[CCode (cname = "SDL_setFramerate")]
public int set_rate (int rate);
[CCode (cname = "SDL_getFramerate")]
public int get_rate ();
[CCode (cname = "SDL_getFramecount")]
public int get_count ();
[CCode (cname = "SDL_framerateDelay")]
public void run ();
}// FramerateManager
[CCode (cheader_filename = "SDL2/SDL2_imageFilter.h")]
namespace Filter {
[CCode (cname = "SDL_imageFilterMMXdetect")]
public static int have_mmx ();
[CCode (cname = "SDL_imageFilterMMXon")]
public static void enable_mmx ();
[CCode (cname = "SDL_imageFilterMMXoff")]
public static void disable_mmx ();
[CCode (cname = "SDL_imageFilterAdd")]
public static int add ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterMean")]
public static int mean ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterSub")]
public static int subtract ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterAbsDiff")]
public static int absolute_difference ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterMult")]
public static int multiply ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterMultNor")]
public static int multiply_normalized ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterMultDivby2")]
public static int multiply_half ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterMultDivby4")]
public static int multiply_quarter ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterBitAnd")]
public static int and ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterBitOr")]
public static int or ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterDiv")]
public static int divide ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] src2, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterBitNegation")]
public static int negate ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length);
[CCode (cname = "SDL_imageFilterAddByte")]
public static int add_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar addend);
[CCode (cname = "SDL_imageFilterAddUint")]
public static int add_uint ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uint addend);
[CCode (cname = "SDL_imageFilterAddByteToHalf")]
public static int halve_add_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar addend);
[CCode (cname = "SDL_imageFilterSubByte")]
public static int subtract_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar subtrahend);
[CCode (cname = "SDL_imageFilterSubUint")]
public static int subtract_uint ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uint subtrahend);
[CCode (cname = "SDL_imageFilterShiftRight")]
public static int shift_right_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar shiftcount);
[CCode (cname = "SDL_imageFilterShiftRightUint")]
public static int shift_right_uint ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uint shiftcount);
[CCode (cname = "SDL_imageFilterMultByByte")]
public static int multiply_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar multiplicand);
[CCode (cname = "SDL_imageFilterShiftRightAndMultByByte")]
public static int shift_right_multiply_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar shiftcount, uchar multiplicand);
[CCode (cname = "SDL_imageFilterShiftLeftByte")]
public static int shift_left_uchar ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar shiftcount);
[CCode (cname = "SDL_imageFilterShiftLeftUint")]
public static int shift_left_uint ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uint shiftcount);
[CCode (cname = "SDL_imageFilterBinarizeUsingThreshold")]
public static int binarize ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar threshold);
[CCode (cname = "SDL_imageFilterClipToRange")]
public static int clip ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, uchar min, uchar max);
[CCode (cname = "SDL_imageFilterNormalizeLinear")]
public static int normalize_linear ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int length, int cmin, int cmax, int nmin, int nmax);
[CCode (cname = "SDL_imageFilterConvolveKernel3x3Divide")]
public static int convolve_3x3_divide ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar divisor);
[CCode (cname = "SDL_imageFilterConvolveKernel5x5Divide")]
public static int convolve_5x5_divide ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar divisor);
[CCode (cname = "SDL_imageFilterConvolveKernel7x7Divide")]
public static int convolve_7x7_divide ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar divisor);
[CCode (cname = "SDL_imageFilterConvolveKernel9x9Divide")]
public static int convolve_9x9_divide ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar divisor);
[CCode (cname = "SDL_imageFilterConvolveKernel3x3ShiftRight")]
public static int convolve_3x3_shift ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar shiftcount);
[CCode (cname = "SDL_imageFilterConvolveKernel5x5ShiftRight")]
public static int convolve_5x5_shift ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar shiftcount);
[CCode (cname = "SDL_imageFilterConvolveKernel7x7ShiftRight")]
public static int convolve_7x7_shift ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar shiftcount);
[CCode (cname = "SDL_imageFilterConvolveKernel9x9ShiftRight")]
public static int convolve_9x9_shift ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, [CCode (array_length = false)] int16[] kernel, uchar shiftcount);
[CCode (cname = "SDL_imageFilterSobelX")]
public static int sobel ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns);
[CCode (cname = "SDL_imageFilterSobelXShiftRight")]
public static int sobel_shift ([CCode (array_length = false)] uchar[] src1, [CCode (array_length = false)] uchar[] dst, int rows, int columns, uchar shiftcount);
}// Filter
}// SDLGraphics

View File

@ -0,0 +1 @@
sdl2

View File

@ -0,0 +1,178 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 SDL2 VAPI Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Authors:
* Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
* Gontzal Uriarte <txasatonga@gmail.com>
* Pedro H. Lara Campos <root@pedrohlc.com>
*/
[CCode (cheader_filename = "SDL2/SDL_image.h")]
namespace SDLImage {
//! Defines
[CCode (cname = "IMG_InitFlags", cprefix = "IMG_INIT_")]
public enum InitFlags {
JPG,
PNG,
TIF,
WEBP,
[CCode (cname = "IMG_INIT_JPG|IMG_INIT_PNG|IMG_INIT_TIF|IMG_INIT_WEBP")]
ALL
}
//! General
[CCode (cname = "IMG_Linked_Version")]
public static unowned SDL.Version? linked ();
[CCode (cname = "IMG_Init")]
public static int init (int flags);
[CCode (cname = "IMG_Quit")]
public static void quit ();
//! Loading
[CCode (cname = "IMG_Load")]
public static SDL.Video.Surface? load (string file);
[CCode (cname = "IMG_Load_RW")]
public static SDL.Video.Surface? load_rw (SDL.RWops src, bool freesrc = false);
[CCode (cname = "IMG_LoadTyped_RW")]
public static SDL.Video.Surface? load_rw_typed (SDL.RWops src, bool freesrc, string type);
[CCode (cname = "IMG_LoadTexture")]
public static SDL.Video.Texture? load_texture (SDL.Video.Renderer renderer, string file);
[CCode (cname = "IMG_LoadTexture_RW")]
public static SDL.Video.Texture? load_texture_rw (SDL.Video.Renderer renderer, SDL.RWops src, bool freesrc = false);
[CCode (cname = "IMG_LoadTextureTyped_RW")]
public static SDL.Video.Texture? load_texture_rw_typed (SDL.Video.Renderer renderer, SDL.RWops src, bool freesrc, string type);
[CCode (cname = "IMG_LoadCUR_RW")]
public static SDL.Video.Surface? load_cur (SDL.RWops src);
[CCode (cname = "IMG_LoadICO_RW")]
public static SDL.Video.Surface? load_ico (SDL.RWops src);
[CCode (cname = "IMG_LoadBMP_RW")]
public static SDL.Video.Surface? load_bmp (SDL.RWops src);
[CCode (cname = "IMG_LoadPNM_RW")]
public static SDL.Video.Surface? load_pnm (SDL.RWops src);
[CCode (cname = "IMG_LoadXPM_RW")]
public static SDL.Video.Surface? load_xpm (SDL.RWops src);
[CCode (cname = "IMG_LoadXCF_RW")]
public static SDL.Video.Surface? load_xcf (SDL.RWops src);
[CCode (cname = "IMG_LoadPCX_RW")]
public static SDL.Video.Surface? load_pcx (SDL.RWops src);
[CCode (cname = "IMG_LoadGIF_RW")]
public static SDL.Video.Surface? load_gif (SDL.RWops src);
[CCode (cname = "IMG_LoadJPG_RW")]
public static SDL.Video.Surface? load_jpg (SDL.RWops src);
[CCode (cname = "IMG_LoadTIF_RW")]
public static SDL.Video.Surface? load_tif (SDL.RWops src);
[CCode (cname = "IMG_LoadPNG_RW")]
public static SDL.Video.Surface? load_png (SDL.RWops src);
[CCode (cname = "IMG_LoadTGA_RW")]
public static SDL.Video.Surface? load_tga (SDL.RWops src);
[CCode (cname = "IMG_LoadLBM_RW")]
public static SDL.Video.Surface? load_lbm (SDL.RWops src);
[CCode (cname = "IMG_LoadXV_RW")]
public static SDL.Video.Surface? load_xv (SDL.RWops src);
[CCode (cname = "IMG_LoadWEBP_RW")]
public static SDL.Video.Surface? load_webp (SDL.RWops src);
[CCode (cname = "IMG_ReadXPMFromArray")]
public static SDL.Video.Surface? read_xpm ([CCode (array_length = false)] string[] xpmdata);
[CCode (cname = "IMG_SavePNG")]
public static int save_as_png (SDL.Video.Surface surface, string file);
[CCode (cname = "IMG_SavePNG_RW")]
public static int save_as_png_rw (SDL.Video.Surface surface, SDL.RWops dst, bool freedst);
[CCode (cname = "IMG_SaveJPG")]
public static int save_as_jpg (SDL.Video.Surface surface, string file, int quality);
[CCode (cname = "IMG_SaveJPG_RW")]
public static int save_as_jpg_rw (SDL.Video.Surface surface, SDL.RWops dst, bool freedst, int quality);
//!Info
[CCode (cname = "IMG_isCUR")]
public static bool is_cur (SDL.RWops src);
[CCode (cname = "IMG_isICO")]
public static bool is_ico (SDL.RWops src);
[CCode (cname = "IMG_isBMP")]
public static bool is_bmp (SDL.RWops src);
[CCode (cname = "IMG_isPNM")]
public static bool is_pnm (SDL.RWops src);
[CCode (cname = "IMG_isXPM")]
public static bool is_xpm (SDL.RWops src);
[CCode (cname = "IMG_isXCF")]
public static bool is_xcf (SDL.RWops src);
[CCode (cname = "IMG_isPCX")]
public static bool is_pcx (SDL.RWops src);
[CCode (cname = "IMG_isGIF")]
public static bool is_gif (SDL.RWops src);
[CCode (cname = "IMG_isJPG")]
public static bool is_jpg (SDL.RWops src);
[CCode (cname = "IMG_isTIF")]
public static bool is_tif (SDL.RWops src);
[CCode (cname = "IMG_isPNG")]
public static bool is_png (SDL.RWops src);
[CCode (cname = "IMG_isLBM")]
public static bool is_lbm (SDL.RWops src);
[CCode (cname = "IMG_isXV")]
public static bool is_xv (SDL.RWops src);
[CCode (cname = "IMG_isWEBP")]
public static bool is_webp (SDL.RWops src);
} // SDLImage

View File

@ -0,0 +1 @@
sdl2

View File

@ -0,0 +1,257 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 SDL2 VAPI Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Authors:
* Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
* Gontzal Uriarte <txasatonga@gmail.com>
* Pedro H. Lara Campos <root@pedrohlc.com>
*/
[CCode (cheader_filename = "SDL2/SDL_mixer.h")]
namespace SDLMixer {
[CCode (cname = "Mix_Linked_Version")]
public static unowned SDL.Version? linked ();
[CCode (cname = "Mix_OpenAudio")]
public static int open (int frequency, SDL.Audio.AudioFormat format, int channels, int chunksize);
[CCode (cname = "Mix_CloseAudio")]
public static void close ();
[CCode (cname = "Mix_QuerySpec")]
public static int query (out int frequency, out SDL.Audio.AudioFormat format, out int channels);
[CCode (cname = "Mix_SetPostMix")]
public static void set_post_mixer (MixFunction f);
[CCode (cname = "Mix_SetSynchroValue")]
public static int set_synchro_value (int value);
[CCode (cname = "Mix_GetSynchroValue")]
public static int get_synchro_value ();
[CCode (has_typedef = false, instance_pos = 0.9)]
public delegate void MixFunction (uint8[] stream);
[CCode (has_typedef = false, has_target = false)]
public delegate void MusicFinishedCallback ();
[CCode (has_typedef = false, has_target = false)]
public delegate void ChannelFinishedCallback (int channel);
[CCode (cname = "Mix_EffectFunc_t", instance_pos = 3.9)]
public delegate void EffectCallback (int chan, void* stream, int len);
[CCode (cname = "Mix_EffectDone_t", instance_pos = 1.9)]
public delegate void EffectDoneCallback (int chan);
[CCode (cname = "int", cprefix = "MIX_")]
public enum FadeStatus {
NO_FADING, FADING_OUT, FADING_IN
}// FadeStatus
[CCode (cname = "Mix_MusicType", cprefix = "MUS_")]
public enum MusicType {
NONE, CMD, WAV, MOD, MID, OGG, MP3, FLAC, OPUS
}// MusicType
[CCode (cname = "Mix_Chunk", free_function = "Mix_FreeChunk")]
[Compact]
public class Chunk {
[CCode (cname = "Mix_LoadWAV_RW")]
public Chunk.WAV_RW (SDL.RWops src, int freesrc = 0);
[CCode (cname = "Mix_LoadWAV")]
public Chunk.WAV (string file);
[CCode (cname = "Mix_QuickLoad_WAV")]
public Chunk.QuickWAV ([CCode (array_length = false)] uint8[] mem);
[CCode (cname = "Mix_QuickLoad_RAW")]
public Chunk.QuickRAW (uint8[] mem);
[CCode (cname = "Mix_VolumeChunk")]
public int volume (int num);
}// Chunk
[CCode (cname = "Mix_Music", free_function = "Mix_FreeMusic")]
[Compact]
public class Music {
[CCode (cname = "Mix_GetMusicHookData")]
public static void* get_hook_data ();
[CCode (cname = "Mix_HookMusic")]
public static void hook_mixer (MixFunction? f);
[CCode (cname = "Mix_HookMusicFinished")]
public static void hook_finished (MusicFinishedCallback cb);
[CCode (cname = "Mix_FadeOutMusic")]
public static int fade_out (int ms);
[CCode (cname = "Mix_FadingMusic")]
public static FadeStatus is_fading ();
[CCode (cname = "Mix_VolumeMusic")]
public static int volume (int num);
[CCode (cname = "Mix_HaltMusic")]
public static int halt ();
[CCode (cname = "Mix_PauseMusic")]
public static void pause ();
[CCode (cname = "Mix_ResumeMusic")]
public static void resume ();
[CCode (cname = "Mix_RewindMusic")]
public static void rewind ();
[CCode (cname = "Mix_PausedMusic")]
public static bool is_paused ();
[CCode (cname = "Mix_SetMusicPosition")]
public static int position (double position);
[CCode (cname = "Mix_PlayingMusic")]
public static bool is_playing ();
[CCode (cname = "Mix_SetMusicCMD")]
public static int set_play_command (string command);
[CCode (cname = "Mix_LoadMUS")]
public Music (string file);
[CCode (cname = "Mix_LoadMUS_RW")]
public Music.RW (SDL.RWops rw, bool freesrc);
[CCode (cname = "Mix_GetMusicType")]
public MusicType type ();
[CCode (cname = "Mix_PlayMusic")]
public int play (int loops);
[CCode (cname = "Mix_FadeInMusicPos")]
public int fade_in (int loops, int ms, double position = 0.0);
}// Music
namespace Effect {
[CCode (cname = "Mix_RegisterEffect")]
public static int register (int chan, [CCode (delegate_target_pos = 3.9)] EffectCallback f, [CCode (delegate_target_pos = 3.9)] EffectDoneCallback? d);
[CCode (cname = "Mix_UnregisterEffect")]
public static int unregister (int chan, [CCode (delegate_target = false)] EffectCallback f);
[CCode (cname = "Mix_UnregisterAllEffects")]
public static int unregister_all (int channel);
}// Effect
[CCode (cname = "int")]
[SimpleType]
public struct Channel: int {
[CCode (cname = "Mix_AllocateChannels")]
public static int allocate (int num_channels);
[CCode (cname = "Mix_ReserveChannels")]
public static int reserve (int num_channels);
[CCode (cname = "Mix_ChannelFinished")]
public static void hook_finished (ChannelFinishedCallback? cb);
[CCode (cname = "Mix_SetPanning")]
public int pan (uint8 left, uint8 right);
[CCode (cname = "Mix_SetPosition")]
public int position (int16 degrees, uint8 distance);
[CCode (cname = "Mix_SetDistance")]
public int distance (uint8 distance);
[CCode (cname = "Mix_SetReverseStereo")]
public int reverse_stereo (int flip);
[CCode (cname = "Mix_PlayChannelTimed")]
public int play (Chunk chunk, int loops, int ticks = -1);
[CCode (cname = "Mix_FadeInChannelTimed")]
public int fade_in (Chunk chunk, int loops, int ms, int ticks = -1);
[CCode (cname = "Mix_FadeOutChannel")]
public int fade_out (int ms);
[CCode (cname = "Mix_FadingChannel")]
public FadeStatus is_fading ();
[CCode (cname = "Mix_Volume")]
public int volume (int num);
[CCode (cname = "Mix_HaltChannel")]
public int halt ();
[CCode (cname = "Mix_ExpireChannel")]
public int expire (int ticks);
[CCode (cname = "Mix_Pause")]
public void pause ();
[CCode (cname = "Mix_Paused")]
public int is_paused ();
[CCode (cname = "Mix_Resume")]
public void resume ();
[CCode (cname = "Mix_Playing")]
public int is_playing ();
[CCode (cname = "Mix_GetChunk")]
public Chunk? get_chunk ();
}// Channel
[CCode (cname = "-1")]
public const SDLMixer.Channel DEFAULT_CHANNEL;
[CCode (cname = "int")]
[SimpleType]
public struct ChannelGroup: int {
[CCode (cname = "Mix_GroupChannel")]
public static int add (int channel, int group);
[CCode (cname = "Mix_GroupChannels")]
public static int add_range (int from_channel, int to_channel, int group);
[CCode (cname = "Mix_GroupAvailable")]
public int first_available ();
[CCode (cname = "Mix_GroupCount")]
public int count ();
[CCode (cname = "Mix_GroupOldest")]
public int oldest ();
[CCode (cname = "Mix_GroupNewer")]
public int newest ();
[CCode (cname = "Mix_HaltGroup")]
public int halt ();
[CCode (cname = "Mix_FadeOutGroup")]
public int fade_out (int ms);
}// ChannelGroup
}// SDLMixer

View File

@ -0,0 +1 @@
sdl2

View File

@ -0,0 +1,160 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 SDL2 VAPI Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Authors:
* Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
* Gontzal Uriarte <txasatonga@gmail.com>
* Pedro H. Lara Campos <root@pedrohlc.com>
*/
[CCode (cprefix = "SDLNet_", cheader_filename = "SDL2/SDL_net.h")]
namespace SDLNet {
[CCode (cname = "SDLNet_Linked_Version")]
public static unowned SDL.Version? linked_version ();
[CCode (cname = "SDLNet_Init")]
public static int init ();
[CCode (cname = "SDLNet_Quit")]
public static void quit ();
[CCode (cname = "SDLNet_Write16")]
public static void write16 (uint16 value, void* area);
[CCode (cname = "SDLNet_Write32")]
public static void write32 (uint value, void* area);
[CCode (cname = "SDLNet_Read16")]
public static uint16 read16 (void* area);
[CCode (cname = "SDLNet_Read32")]
public static uint read32 (void* area);
[CCode (cname = "IPaddress", free_function = "g_free", has_type_id = false)]
public struct IPAddress {
public uint host;
public uint16 port;
[CCode (cname = "INADDR_ANY")]
public const uint ANY;
[CCode (cname = "INADDR_NONE")]
public const uint NONE;
[CCode (cname = "SDLNet_ResolveHost")]
public static int from_host (out IPAddress address, string? host, uint16 port);
[CCode (cname = "SDLNet_ResolveIP")]
public unowned string? lookup ();
}// IPAddress
[CCode (cname = "UDPpacket", free_function = "SDLNet_FreePacket")]
[Compact]
public class UDPPacket {
public int channel;
public uchar *data;
public int len;
public int maxlen;
public int status;
public IPAddress address;
[CCode (cname = "SDLNet_AllocPacket")]
public UDPPacket (int size);
[CCode (cname = "SDLNet_ResizePacket")]
public int resize (int newsize);
}// UDPPacket
[CCode (cname = "struct _SDLNet_GenericSocket")]
[Compact]
public class Socket {
public int ready;
}// Socket
[CCode (cname = "struct _TCPsocket", free_function = "SDLNet_TCP_Close")]
[Compact]
public class TCPSocket: Socket {
[CCode (cname = "SDLNet_TCP_Open")]
public TCPSocket (IPAddress ip);
[CCode (cname = "SDLNet_TCP_Accept")]
public TCPSocket? accept ();
[CCode (cname = "SDLNet_TCP_GetPeerAddress")]
public IPAddress? get_address ();
[CCode (cname = "SDLNet_TCP_Send")]
public int send (uchar[] data);
[CCode (cname = "SDLNet_TCP_Recv")]
public int receive (uchar[] data);
}// TCPSocket
[CCode (cname = "struct _UDPsocket", free_function = "SDLNet_UDP_Close")]
[Compact]
public class UDPSocket: Socket {
[CCode (cname = "SDLNet_UDP_Open")]
public UDPSocket (uint16 port);
[CCode (cname = "SDLNet_UDP_Bind")]
public int bind (int channel, IPAddress address);
[CCode (cname = "SDLNet_UDP_Unbind")]
public void unbind (int channel);
[CCode (cname = "SDLNet_UDP_GetPeerAddress")]
public IPAddress? get_address (int channel);
[CCode (cname = "SDLNet_UDP_Send")]
public int send (int channel, UDPPacket packet);
[CCode (cname = "SDLNet_UDP_Recv")]
public int receive (UDPPacket packet);
[CCode (cname = "SDLNet_UDP_SendV")]
public int send_many (UDPPacket[] packets);
[CCode (cname = "SDLNet_UDP_RecvV")]
public int receive_many ([CCode (array_length = false)] UDPPacket[] packets);
}// UDPSocket
[CCode (cname = "struct _SDLNet_SocketSet", free_function = "SDLNet_FreeSocketSet")]
[Compact]
public class SocketSet {
[CCode (cname = "SDLNet_AllocSocketSet")]
public SocketSet (int maxsockets);
[CCode (cname = "SDLNet_AddSocket")]
public int add (Socket socket);
[CCode (cname = "SDLNet_DelSocket")]
public int remove (Socket socket);
[CCode (cname = "SDLNet_CheckSockets")]
public int has_data (uint timeout);
[CCode (cname = "SDLNet_SocketReady")]
public int is_ready ();
}// SocketSet
}// SDL

View File

@ -0,0 +1 @@
sdl2

View File

@ -0,0 +1,241 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2016-2020 SDL2 VAPI Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Authors:
* Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
* Gontzal Uriarte <txasatonga@gmail.com>
* Pedro H. Lara Campos <root@pedrohlc.com>
*/
[CCode (cheader_filename = "SDL2/SDL_ttf.h")]
namespace SDLTTF {
[CCode (cname = "TTF_Linked_Version")]
public static unowned SDL.Version linked ();
[CCode (cname = "TTF_ByteSwappedUNICODE")]
public static void byteswap_unicode (int swapped);
[CCode (cname = "TTF_Init")]
public static int init ();
[CCode (cname = "TTF_WasInit")]
public static bool is_initialized ();
[CCode (cname = "TTF_Quit")]
public static void quit ();
[CCode (cname = "int", cprefix = "TTF_STYLE_")]
public enum FontStyle {
NORMAL,
BOLD,
ITALIC,
STRIKETHROUGH,
UNDERLINE
}
[CCode (cname = "int", cprefix = "TTF_HINTING_")]
public enum FontHinting {
NORMAL,
LIGHT,
MONO,
NONE,
}
[CCode (cname = "TTF_Font", free_function = "TTF_CloseFont")]
[Compact]
public class Font {
[CCode (cname = "TTF_OpenFont")]
public Font (string file, int ptsize);
[CCode (cname = "TTF_OpenFontIndex")]
public Font.index (string file, int ptsize, long index);
[CCode (cname = "TTF_OpenFontRW")]
public Font.from_rwops (SDL.RWops src, int ptsize, [CCode (pos = "1.1")] bool freesrc = false);
[CCode (cname = "TTF_OpenFontIndexRW")]
public Font.from_rwops_index (SDL.RWops src, int ptsize, long index, [CCode (pos = "1.1")] bool freesrc = false);
[CCode (cname = "TTF_OpenFontDPIRW")]
public Font.from_rwops_dpi (SDL.RWops src, int ptsize, uint hdpi, uint vdpi, [CCode (pos = "1.1")] bool freesrc = false);
[CCode (cname = "TTF_OpenFontIndexDPIRW")]
public Font.from_rwops_index_dpi (SDL.RWops src, int ptsize, long index, uint hdpi, uint vdpi, [CCode (pos = "1.1")] bool freesrc = false);
[CCode (cname = "TTF_OpenFontDPI")]
public Font.dpi (string file, int ptsize, uint hdpi, uint vdpi);
[CCode (cname = "TTF_OpenFontIndexDPI")]
public Font.dpi_index (string file, int ptsize, long index, uint hdpi, uint vdpi);
public FontStyle font_style {
[CCode (cname = "TTF_GetFontStyle")]
get;
[CCode (cname = "TTF_SetFontStyle")]
set;
}
public bool kerning_allowed {
[CCode (cname = "TTF_GetFontKerning")]
get;
[CCode (cname = "TTF_SetFontKerning")]
set;
}
public int outline {
[CCode (cname = "TTF_GetFontOutline")]
get;
[CCode (cname = "TTF_SetFontOutline")]
set;
}
public FontHinting hinting {
[CCode (cname = "TTF_GetFontHinting")]
get;
[CCode (cname = "TTF_SetFontHinting")]
set;
}
[CCode (cname = "TTF_FontHeight")]
public int get_height ();
[CCode (cname = "TTF_FontAscent")]
public int get_ascent ();
[CCode (cname = "TTF_FontDescent")]
public int get_descent ();
[CCode (cname = "TTF_FontLineSkip")]
public int get_lineskip ();
[CCode (cname = "TTF_FontFaces")]
public long get_faces ();
[CCode (cname = "TTF_FontFaceIsFixedWidth")]
public bool is_fixed_width ();
[CCode (cname = "TTF_FontFaceFamilyName")]
public unowned string? get_family_name ();
[CCode (cname = "TTF_FontFaceStyleName")]
public unowned string? get_style_name ();
[CCode (cname = "TTF_GlyphMetrics")]
public int get_metrics_16 (unichar2 utf16_ch, out int minx, out int maxx, out int miny, out int maxy, out int advance);
[CCode (cname = "TTF_GlyphMetrics32")]
public int get_metrics (unichar ch, out int minx, out int maxx, out int miny, out int maxy, out int advance);
[CCode (cname = "TTF_SizeUTF8")]
public int get_size (string text, out int w, out int h);
[CCode (cname = "TTF_SizeText")]
public int get_size_latin1 ([CCode (array_length = false)] uint8[] text, out int w, out int h);
[CCode (cname = "TTF_SizeUNICODE")]
public int get_size_utf16 (string16 text, out int w, out int h);
[CCode (cname = "TTF_SetFontSize")]
public int set_size (int ptsize);
[CCode (cname = "TTF_SetFontSizeDPI")]
public int set_size_dpi (int ptsize, uint hdpi, uint vdpi);
[CCode (cname = "TTF_GlyphIsProvided")]
public bool provides_glyph_16 (unichar2 ch);
[CCode (cname = "TTF_GlyphIsProvided32")]
public bool provides_glyph (unichar ch);
[CCode (cname = "TTF_MeasureText")]
public int measure_text_latin1 ([CCode (array_length = false)] uint8[] text, int measure_width, out int extent, out int count);
[CCode (cname = "TTF_MeasureUTF8")]
public int measure_text (string text, int measure_width, out int extent, out int count);
[CCode (cname = "TTF_MeasureUNICODE")]
public int measure_text_utf16 (string16 text, int measure_width, out int extent, out int count);
[CCode (cname = "TTF_RenderGlyph_Shaded")]
public SDL.Video.Surface? render_glyph_shaded_utf16 (unichar2 ch, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderGlyph32_Shaded")]
public SDL.Video.Surface? render_glyph_shaded (unichar ch, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderGlyph_Blended")]
public SDL.Video.Surface? render_glyph_blended_utf16 (unichar2 ch, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderGlyph32_Blended")]
public SDL.Video.Surface? render_glyph_blended (unichar ch, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderText_Solid")]
public SDL.Video.Surface? render_latin1 ([CCode (array_length = false)] uint8[] text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderUTF8_Solid")]
public SDL.Video.Surface? render (string text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderUNICODE_Solid")]
public SDL.Video.Surface? render_utf16 (string16 text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderText_Shaded")]
public SDL.Video.Surface? render_shaded_latin1 ([CCode (array_length = false)] uint8[] text, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderUTF8_Shaded")]
public SDL.Video.Surface? render_shaded (string text, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderUNICODE_Shaded")]
public SDL.Video.Surface? render_shaded_utf16 (string16 text, SDL.Video.Color fg, SDL.Video.Color bg);
[CCode (cname = "TTF_RenderText_Shaded_Wrapped")]
public SDL.Video.Surface? render_shaded_wrapped_latin1 ([CCode (array_length = false)] uint8[] text, SDL.Video.Color fg, SDL.Video.Color bg, uint32 wrap_length);
[CCode (cname = "TTF_RenderUTF8_Shaded_Wrapped")]
public SDL.Video.Surface? render_shaded_wrapped (string text, SDL.Video.Color fg, SDL.Video.Color bg, uint32 wrap_length);
[CCode (cname = "TTF_RenderUNICODE_Shaded_Wrapped")]
public SDL.Video.Surface? render_shaded_wrapped_utf16 (string16 text, SDL.Video.Color fg, SDL.Video.Color bg, uint32 wrap_length);
[CCode (cname = "TTF_RenderText_Blended")]
public SDL.Video.Surface? render_blended_latin1 ([CCode (array_length = false)] uint8[] text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderUTF8_Blended")]
public SDL.Video.Surface? render_blended (string text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderUNICODE_Blended")]
public SDL.Video.Surface? render_blended_utf16 (string16 text, SDL.Video.Color fg);
[CCode (cname = "TTF_RenderText_Blended_Wrapped")]
public SDL.Video.Surface? render_blended_wrapped_latin1 ([CCode (array_length = false)] uint8[] text, SDL.Video.Color fg, uint32 wrap_length);
[CCode (cname = "TTF_RenderUTF8_Blended_Wrapped")]
public SDL.Video.Surface? render_blended_wrapped (string text, SDL.Video.Color fg, uint32 wrap_length);
[CCode (cname = "TTF_RenderUNICODE_Blended_Wrapped")]
public SDL.Video.Surface? render_blended_wrapped_utf16 (string16 text, SDL.Video.Color fg, uint32 wrap_length);
[CCode (cname = "TTF_GetFontKerningSizeGlyphs")]
public int get_kerning_size_utf16 (unichar2 previous_ch, unichar ch);
[CCode (cname = "TTF_GetFontKerningSizeGlyphs32")]
public int get_kerning_size (unichar previous_ch, unichar ch);
}
}

View File

@ -0,0 +1 @@
posix

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
gobject-2.0

1044
vala/vala-0.54/vapi/atk.vapi Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
glib-2.0

View File

@ -0,0 +1,961 @@
/* atspi-2.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Atspi", gir_namespace = "Atspi", gir_version = "2.0", lower_case_cprefix = "atspi_")]
namespace Atspi {
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_accessible_get_type ()")]
public class Accessible : Atspi.Object, Atspi.Action, Atspi.Collection, Atspi.Component, Atspi.Document, Atspi.EditableText, Atspi.Hypertext, Atspi.Image, Atspi.Selection, Atspi.Table, Atspi.TableCell, Atspi.Text, Atspi.Value {
public weak Atspi.Accessible accessible_parent;
public weak GLib.HashTable<void*,void*> attributes;
public uint cached_properties;
public weak GLib.GenericArray<void*> children;
public weak string description;
public int interfaces;
public weak string name;
public Atspi.Role role;
public weak Atspi.StateSet states;
[CCode (has_construct_function = false)]
protected Accessible ();
public void clear_cache ();
[Version (since = "2.34")]
public string get_accessible_id () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Action get_action ();
public Atspi.Action get_action_iface ();
public Atspi.Accessible get_application () throws GLib.Error;
public string get_atspi_version () throws GLib.Error;
public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
public GLib.Array<string> get_attributes_as_array () throws GLib.Error;
public Atspi.Accessible get_child_at_index (int child_index) throws GLib.Error;
public int get_child_count () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Collection get_collection ();
public Atspi.Collection get_collection_iface ();
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Component get_component ();
public Atspi.Component get_component_iface ();
public string get_description () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Document get_document ();
public Atspi.Document get_document_iface ();
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.EditableText get_editable_text ();
public Atspi.EditableText get_editable_text_iface ();
public Atspi.Hyperlink get_hyperlink ();
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Hypertext get_hypertext ();
public Atspi.Hypertext get_hypertext_iface ();
public int get_id () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Image get_image ();
public Atspi.Image get_image_iface ();
public int get_index_in_parent () throws GLib.Error;
public GLib.Array<string> get_interfaces ();
public string get_localized_role_name () throws GLib.Error;
public string get_name () throws GLib.Error;
public unowned string get_object_locale () throws GLib.Error;
public Atspi.Accessible? get_parent () throws GLib.Error;
public uint get_process_id () throws GLib.Error;
public GLib.Array<Atspi.Relation> get_relation_set () throws GLib.Error;
public Atspi.Role get_role () throws GLib.Error;
public string get_role_name () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Selection get_selection ();
public Atspi.Selection get_selection_iface ();
public Atspi.StateSet get_state_set ();
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Table get_table ();
public Atspi.TableCell get_table_cell ();
public Atspi.Table get_table_iface ();
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Text get_text ();
public Atspi.Text get_text_iface ();
public string get_toolkit_name () throws GLib.Error;
public string get_toolkit_version () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.Value get_value ();
public Atspi.Value get_value_iface ();
public void set_cache_mask (Atspi.Cache mask);
public virtual signal void mode_changed (int enabled, string why);
public virtual signal void region_changed (int current_offset, int last_offset);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_application_get_type ()")]
public class Application : GLib.Object {
public weak string atspi_version;
public weak string bus_name;
public Atspi.Cache cache;
public weak GLib.HashTable<void*,void*> hash;
public void* root;
public void* time_added;
public weak string toolkit_name;
public weak string toolkit_version;
[CCode (has_construct_function = false)]
protected Application ();
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_get_type ()")]
public class Device : GLib.Object {
[CCode (has_construct_function = false)]
public Device ();
[NoWrapper]
public virtual void add_key_grab (Atspi.KeyDefinition kd);
public void add_key_watcher ();
public Atspi.KeyDefinition get_grab_by_id (uint id);
public virtual uint get_locked_modifiers ();
public virtual uint get_modifier (int keycode);
public virtual bool grab_keyboard ();
public virtual uint map_modifier (int keycode);
public bool notify_key (bool pressed, int keycode, int keysym, int state, string text);
public virtual void remove_key_grab (uint id);
public virtual void ungrab_keyboard ();
public virtual void unmap_modifier (int keycode);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_legacy_get_type ()")]
public class DeviceLegacy : Atspi.Device {
[CCode (has_construct_function = false)]
public DeviceLegacy ();
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_listener_get_type ()")]
public class DeviceListener : GLib.Object {
public weak GLib.List<void*> callbacks;
public uint id;
[CCode (has_construct_function = false)]
public DeviceListener (owned Atspi.DeviceListenerCB callback);
public void add_callback ([CCode (delegate_target_pos = 1.2, destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerCB callback);
[NoWrapper]
public virtual bool device_event (Atspi.DeviceEvent event);
public void remove_callback (Atspi.DeviceListenerCB callback);
[CCode (has_construct_function = false)]
public DeviceListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerSimpleCB callback);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_x11_get_type ()")]
public class DeviceX11 : Atspi.Device {
[CCode (has_construct_function = false)]
public DeviceX11 ();
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_event_get_type ()")]
[Compact]
public class Event {
public GLib.Value any_data;
public int detail1;
public int detail2;
public weak Atspi.Accessible sender;
public weak Atspi.Accessible source;
public weak string type;
public static void main ();
public static void quit ();
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_event_listener_get_type ()")]
public class EventListener : GLib.Object {
public weak Atspi.EventListenerCB callback;
public weak GLib.DestroyNotify cb_destroyed;
public void* user_data;
[CCode (has_construct_function = false)]
public EventListener (owned Atspi.EventListenerCB callback);
public bool deregister (string event_type) throws GLib.Error;
public static bool deregister_from_callback ([CCode (delegate_target_pos = 1.5)] Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
public static bool deregister_no_data (Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
public bool register (string event_type) throws GLib.Error;
public static bool register_from_callback ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
public static bool register_from_callback_full ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB? callback, string event_type, GLib.Array<string> properties) throws GLib.Error;
public bool register_full (string event_type, GLib.Array<string>? properties) throws GLib.Error;
public static bool register_no_data ([CCode (destroy_notify_pos = 1.5)] owned Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
[CCode (has_construct_function = false)]
public EventListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.EventListenerSimpleCB callback);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_hyperlink_get_type ()")]
public class Hyperlink : Atspi.Object {
[CCode (has_construct_function = false)]
protected Hyperlink ();
public int get_end_index () throws GLib.Error;
public Atspi.Range get_index_range () throws GLib.Error;
public int get_n_anchors () throws GLib.Error;
public Atspi.Accessible get_object (int i) throws GLib.Error;
public int get_start_index () throws GLib.Error;
public string get_uri (int i) throws GLib.Error;
public bool is_valid () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_key_definition_get_type ()")]
[Compact]
public class KeyDefinition {
public int keycode;
public weak string keystring;
public int keysym;
public uint modifiers;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_match_rule_get_type ()")]
public class MatchRule : GLib.Object {
public Atspi.CollectionMatchType attributematchtype;
public weak GLib.HashTable<void*,void*> attributes;
public Atspi.CollectionMatchType interfacematchtype;
public weak GLib.Array<void*> interfaces;
public bool invert;
public Atspi.CollectionMatchType rolematchtype;
[CCode (array_length = false)]
public weak int roles[4];
public Atspi.CollectionMatchType statematchtype;
public weak Atspi.StateSet states;
[CCode (has_construct_function = false)]
public MatchRule (Atspi.StateSet states, Atspi.CollectionMatchType statematchtype, GLib.HashTable<string,string> attributes, Atspi.CollectionMatchType attributematchtype, GLib.Array<Atspi.Role> roles, Atspi.CollectionMatchType rolematchtype, GLib.Array<string> interfaces, Atspi.CollectionMatchType interfacematchtype, bool invert);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_object_get_type ()")]
public class Object : GLib.Object {
public weak Atspi.Application app;
public weak string path;
[CCode (has_construct_function = false)]
protected Object ();
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_point_get_type ()")]
[Compact]
public class Point {
public int x;
public int y;
public Atspi.Point copy ();
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_range_get_type ()")]
[Compact]
public class Range {
public int end_offset;
public int start_offset;
public Atspi.Range copy ();
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_rect_get_type ()")]
[Compact]
public class Rect {
public int height;
public int width;
public int x;
public int y;
public Atspi.Rect copy ();
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_relation_get_type ()")]
public class Relation : GLib.Object {
public Atspi.RelationType relation_type;
public weak GLib.Array<void*> targets;
[CCode (has_construct_function = false)]
protected Relation ();
public int get_n_targets ();
public Atspi.RelationType get_relation_type ();
public Atspi.Accessible get_target (int i);
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_state_set_get_type ()")]
public class StateSet : GLib.Object {
public void* accessible;
public int64 states;
[CCode (has_construct_function = false)]
public StateSet (GLib.Array<Atspi.StateType> states);
public void add (Atspi.StateType state);
public Atspi.StateSet compare (Atspi.StateSet set2);
public bool contains (Atspi.StateType state);
public bool equals (Atspi.StateSet set2);
public GLib.Array<Atspi.StateType> get_states ();
public bool is_empty ();
public void remove (Atspi.StateType state);
public void set_by_name (string name, bool enabled);
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_text_range_get_type ()")]
[Compact]
public class TextRange {
public weak string content;
public int end_offset;
public int start_offset;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_action_get_type ()")]
public interface Action : GLib.Object {
public bool do_action (int i) throws GLib.Error;
public string get_action_description (int i) throws GLib.Error;
public string get_action_name (int i) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_description (int i) throws GLib.Error;
public string get_key_binding (int i) throws GLib.Error;
public string get_localized_name (int i) throws GLib.Error;
public int get_n_actions () throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_name (int i) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_collection_get_type ()")]
public interface Collection : GLib.Object {
public Atspi.Accessible get_active_descendant () throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches (Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, int count, bool traverse) throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches_from (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, int count, bool traverse) throws GLib.Error;
public GLib.Array<Atspi.Accessible> get_matches_to (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, bool limit_scope, int count, bool traverse) throws GLib.Error;
public bool is_ancestor_of (Atspi.Accessible test) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_component_get_type ()")]
public interface Component : GLib.Object {
public bool contains (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
public Atspi.Accessible? get_accessible_at_point (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
public double get_alpha () throws GLib.Error;
public Atspi.Rect get_extents (Atspi.CoordType ctype) throws GLib.Error;
public Atspi.ComponentLayer get_layer () throws GLib.Error;
public short get_mdi_z_order () throws GLib.Error;
public Atspi.Point get_position (Atspi.CoordType ctype) throws GLib.Error;
public Atspi.Point get_size () throws GLib.Error;
public bool grab_focus () throws GLib.Error;
public bool scroll_to (Atspi.ScrollType type) throws GLib.Error;
public bool scroll_to_point (Atspi.CoordType coords, int x, int y) throws GLib.Error;
public bool set_extents (int x, int y, int width, int height, Atspi.CoordType ctype) throws GLib.Error;
public bool set_position (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
public bool set_size (int width, int height) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_document_get_type ()")]
public interface Document : GLib.Object {
[Version (deprecated = true, deprecated_since = "2.10")]
public string get_attribute_value (string attribute) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
public int get_current_page_number () throws GLib.Error;
public string get_document_attribute_value (string attribute) throws GLib.Error;
public GLib.HashTable<string,string> get_document_attributes () throws GLib.Error;
public string get_locale () throws GLib.Error;
public int get_page_count () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_editable_text_get_type ()")]
public interface EditableText : GLib.Object {
public bool copy_text (int start_pos, int end_pos) throws GLib.Error;
public bool cut_text (int start_pos, int end_pos) throws GLib.Error;
public bool delete_text (int start_pos, int end_pos) throws GLib.Error;
public bool insert_text (int position, string text, int length) throws GLib.Error;
public bool paste_text (int position) throws GLib.Error;
public bool set_text_contents (string new_contents) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_hypertext_get_type ()")]
public interface Hypertext : GLib.Object {
public Atspi.Hyperlink? get_link (int link_index) throws GLib.Error;
public int get_link_index (int character_offset) throws GLib.Error;
public int get_n_links () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_image_get_type ()")]
public interface Image : GLib.Object {
public string get_image_description () throws GLib.Error;
public Atspi.Rect get_image_extents (Atspi.CoordType ctype) throws GLib.Error;
public string get_image_locale () throws GLib.Error;
public Atspi.Point get_image_position (Atspi.CoordType ctype) throws GLib.Error;
public Atspi.Point get_image_size () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_selection_get_type ()")]
public interface Selection : GLib.Object {
public bool clear_selection () throws GLib.Error;
public bool deselect_child (int child_index) throws GLib.Error;
public bool deselect_selected_child (int selected_child_index) throws GLib.Error;
public int get_n_selected_children () throws GLib.Error;
public Atspi.Accessible get_selected_child (int selected_child_index) throws GLib.Error;
public bool is_child_selected (int child_index) throws GLib.Error;
public bool select_all () throws GLib.Error;
public bool select_child (int child_index) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_table_get_type ()")]
public interface Table : GLib.Object {
public bool add_column_selection (int column) throws GLib.Error;
public bool add_row_selection (int row) throws GLib.Error;
public Atspi.Accessible get_accessible_at (int row, int column) throws GLib.Error;
public Atspi.Accessible get_caption () throws GLib.Error;
public int get_column_at_index (int index) throws GLib.Error;
public string get_column_description (int column) throws GLib.Error;
public int get_column_extent_at (int row, int column) throws GLib.Error;
public Atspi.Accessible get_column_header (int column) throws GLib.Error;
public int get_index_at (int row, int column) throws GLib.Error;
public int get_n_columns () throws GLib.Error;
public int get_n_rows () throws GLib.Error;
public int get_n_selected_columns () throws GLib.Error;
public int get_n_selected_rows () throws GLib.Error;
public int get_row_at_index (int index) throws GLib.Error;
public bool get_row_column_extents_at_index (int index, out int row, out int col, out int row_extents, out int col_extents, out bool is_selected) throws GLib.Error;
public string get_row_description (int row) throws GLib.Error;
public int get_row_extent_at (int row, int column) throws GLib.Error;
public Atspi.Accessible get_row_header (int row) throws GLib.Error;
public GLib.Array<int> get_selected_columns () throws GLib.Error;
public GLib.Array<int> get_selected_rows () throws GLib.Error;
public Atspi.Accessible get_summary () throws GLib.Error;
public bool is_column_selected (int column) throws GLib.Error;
public bool is_row_selected (int row) throws GLib.Error;
public bool is_selected (int row, int column) throws GLib.Error;
public bool remove_column_selection (int column) throws GLib.Error;
public bool remove_row_selection (int row) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_table_cell_get_type ()")]
public interface TableCell : GLib.Object {
public GLib.GenericArray<Atspi.Accessible> get_column_header_cells () throws GLib.Error;
public int get_column_index () throws GLib.Error;
public int get_column_span () throws GLib.Error;
public int get_position (out int row, out int column) throws GLib.Error;
public void get_row_column_span (out int row, out int column, out int row_span, out int column_span) throws GLib.Error;
public GLib.GenericArray<Atspi.Accessible> get_row_header_cells () throws GLib.Error;
public int get_row_span () throws GLib.Error;
public Atspi.Accessible get_table () throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_text_get_type ()")]
public interface Text : GLib.Object {
public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
public GLib.HashTable<string,string> get_attribute_run (int offset, bool include_defaults, out int start_offset, out int end_offset) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public string? get_attribute_value (int offset, string attribute_name) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public GLib.HashTable<string,string> get_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
public GLib.Array<Atspi.TextRange> get_bounded_ranges (int x, int y, int width, int height, Atspi.CoordType type, Atspi.TextClipType clipTypeX, Atspi.TextClipType clipTypeY) throws GLib.Error;
public int get_caret_offset () throws GLib.Error;
public uint get_character_at_offset (int offset) throws GLib.Error;
public int get_character_count () throws GLib.Error;
public Atspi.Rect get_character_extents (int offset, Atspi.CoordType type) throws GLib.Error;
public GLib.HashTable<string,string> get_default_attributes () throws GLib.Error;
public int get_n_selections () throws GLib.Error;
public int get_offset_at_point (int x, int y, Atspi.CoordType type) throws GLib.Error;
public Atspi.Rect get_range_extents (int start_offset, int end_offset, Atspi.CoordType type) throws GLib.Error;
public Atspi.Range get_selection (int selection_num) throws GLib.Error;
[Version (since = "2.9.90")]
public Atspi.TextRange get_string_at_offset (int offset, Atspi.TextGranularity granularity) throws GLib.Error;
public string get_text (int start_offset, int end_offset) throws GLib.Error;
public Atspi.TextRange get_text_after_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.10")]
public Atspi.TextRange get_text_at_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
public Atspi.TextRange get_text_before_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
public bool remove_selection (int selection_num) throws GLib.Error;
public bool scroll_substring_to (int start_offset, int end_offset, Atspi.ScrollType type) throws GLib.Error;
public bool scroll_substring_to_point (int start_offset, int end_offset, Atspi.CoordType coords, int x, int y) throws GLib.Error;
public bool set_caret_offset (int new_offset) throws GLib.Error;
public bool set_selection (int selection_num, int start_offset, int end_offset) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_value_get_type ()")]
public interface Value : GLib.Object {
public double get_current_value () throws GLib.Error;
public double get_maximum_value () throws GLib.Error;
public double get_minimum_increment () throws GLib.Error;
public double get_minimum_value () throws GLib.Error;
public bool set_current_value (double new_value) throws GLib.Error;
}
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct ControllerEventMask : uint {
}
[CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_device_event_get_type ()")]
public struct DeviceEvent {
public Atspi.EventType type;
public uint id;
public ushort hw_code;
public ushort modifiers;
public uint timestamp;
public weak string event_string;
public bool is_text;
}
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct DeviceEventMask : uint {
}
[CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
public struct EventListenerMode {
public bool synchronous;
public bool preemptive;
public bool global;
}
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct KeyEventMask : uint {
}
[CCode (cheader_filename = "atspi/atspi.h")]
[SimpleType]
public struct KeyMaskType : uint {
}
[CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
public struct KeySet {
public uint keysyms;
public ushort keycodes;
public weak string keystrings;
public short len;
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_CACHE_", type_id = "atspi_cache_get_type ()")]
[Flags]
public enum Cache {
NONE,
PARENT,
CHILDREN,
NAME,
DESCRIPTION,
STATES,
ROLE,
INTERFACES,
ATTRIBUTES,
ALL,
DEFAULT,
UNDEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_MATCH_", type_id = "atspi_collection_match_type_get_type ()")]
public enum CollectionMatchType {
INVALID,
ALL,
ANY,
NONE,
EMPTY,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_SORT_ORDER_", type_id = "atspi_collection_sort_order_get_type ()")]
public enum CollectionSortOrder {
INVALID,
CANONICAL,
FLOW,
TAB,
REVERSE_CANONICAL,
REVERSE_FLOW,
REVERSE_TAB,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_TREE_", type_id = "atspi_collection_tree_traversal_type_get_type ()")]
public enum CollectionTreeTraversalType {
RESTRICT_CHILDREN,
RESTRICT_SIBLING,
INORDER,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_LAYER_", type_id = "atspi_component_layer_get_type ()")]
public enum ComponentLayer {
INVALID,
BACKGROUND,
CANVAS,
WIDGET,
MDI,
POPUP,
OVERLAY,
WINDOW,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_COORD_TYPE_", type_id = "atspi_coord_type_get_type ()")]
public enum CoordType {
SCREEN,
WINDOW,
PARENT
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
public enum EventType {
KEY_PRESSED_EVENT,
KEY_RELEASED_EVENT,
BUTTON_PRESSED_EVENT,
BUTTON_RELEASED_EVENT
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEY_", type_id = "atspi_key_event_type_get_type ()")]
public enum KeyEventType {
PRESSED,
RELEASED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEYLISTENER_", type_id = "atspi_key_listener_sync_type_get_type ()")]
[Flags]
public enum KeyListenerSyncType {
NOSYNC,
SYNCHRONOUS,
CANCONSUME,
ALL_WINDOWS
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEY_", type_id = "atspi_key_synth_type_get_type ()")]
public enum KeySynthType {
PRESS,
RELEASE,
PRESSRELEASE,
SYM,
STRING,
LOCKMODIFIERS,
UNLOCKMODIFIERS
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_LOCALE_TYPE_", type_id = "atspi_locale_type_get_type ()")]
public enum LocaleType {
MESSAGES,
COLLATE,
CTYPE,
MONETARY,
NUMERIC,
TIME
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_MODIFIER_", type_id = "atspi_modifier_type_get_type ()")]
public enum ModifierType {
SHIFT,
SHIFTLOCK,
CONTROL,
ALT,
META,
META2,
META3,
NUMLOCK
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_RELATION_", type_id = "atspi_relation_type_get_type ()")]
public enum RelationType {
NULL,
LABEL_FOR,
LABELLED_BY,
CONTROLLER_FOR,
CONTROLLED_BY,
MEMBER_OF,
TOOLTIP_FOR,
NODE_CHILD_OF,
NODE_PARENT_OF,
EXTENDED,
FLOWS_TO,
FLOWS_FROM,
SUBWINDOW_OF,
EMBEDS,
EMBEDDED_BY,
POPUP_FOR,
PARENT_WINDOW_OF,
DESCRIPTION_FOR,
DESCRIBED_BY,
DETAILS,
DETAILS_FOR,
ERROR_MESSAGE,
ERROR_FOR,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_ROLE_", type_id = "atspi_role_get_type ()")]
public enum Role {
INVALID,
ACCELERATOR_LABEL,
ALERT,
ANIMATION,
ARROW,
CALENDAR,
CANVAS,
CHECK_BOX,
CHECK_MENU_ITEM,
COLOR_CHOOSER,
COLUMN_HEADER,
COMBO_BOX,
DATE_EDITOR,
DESKTOP_ICON,
DESKTOP_FRAME,
DIAL,
DIALOG,
DIRECTORY_PANE,
DRAWING_AREA,
FILE_CHOOSER,
FILLER,
FOCUS_TRAVERSABLE,
FONT_CHOOSER,
FRAME,
GLASS_PANE,
HTML_CONTAINER,
ICON,
IMAGE,
INTERNAL_FRAME,
LABEL,
LAYERED_PANE,
LIST,
LIST_ITEM,
MENU,
MENU_BAR,
MENU_ITEM,
OPTION_PANE,
PAGE_TAB,
PAGE_TAB_LIST,
PANEL,
PASSWORD_TEXT,
POPUP_MENU,
PROGRESS_BAR,
PUSH_BUTTON,
RADIO_BUTTON,
RADIO_MENU_ITEM,
ROOT_PANE,
ROW_HEADER,
SCROLL_BAR,
SCROLL_PANE,
SEPARATOR,
SLIDER,
SPIN_BUTTON,
SPLIT_PANE,
STATUS_BAR,
TABLE,
TABLE_CELL,
TABLE_COLUMN_HEADER,
TABLE_ROW_HEADER,
TEAROFF_MENU_ITEM,
TERMINAL,
TEXT,
TOGGLE_BUTTON,
TOOL_BAR,
TOOL_TIP,
TREE,
TREE_TABLE,
UNKNOWN,
VIEWPORT,
WINDOW,
EXTENDED,
HEADER,
FOOTER,
PARAGRAPH,
RULER,
APPLICATION,
AUTOCOMPLETE,
EDITBAR,
EMBEDDED,
ENTRY,
CHART,
CAPTION,
DOCUMENT_FRAME,
HEADING,
PAGE,
SECTION,
REDUNDANT_OBJECT,
FORM,
LINK,
INPUT_METHOD_WINDOW,
TABLE_ROW,
TREE_ITEM,
DOCUMENT_SPREADSHEET,
DOCUMENT_PRESENTATION,
DOCUMENT_TEXT,
DOCUMENT_WEB,
DOCUMENT_EMAIL,
COMMENT,
LIST_BOX,
GROUPING,
IMAGE_MAP,
NOTIFICATION,
INFO_BAR,
LEVEL_BAR,
TITLE_BAR,
BLOCK_QUOTE,
AUDIO,
VIDEO,
DEFINITION,
ARTICLE,
LANDMARK,
LOG,
MARQUEE,
MATH,
RATING,
TIMER,
STATIC,
MATH_FRACTION,
MATH_ROOT,
SUBSCRIPT,
SUPERSCRIPT,
DESCRIPTION_LIST,
DESCRIPTION_TERM,
DESCRIPTION_VALUE,
FOOTNOTE,
CONTENT_DELETION,
CONTENT_INSERTION,
MARK,
SUGGESTION,
LAST_DEFINED;
public string get_name ();
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_SCROLL_", type_id = "atspi_scroll_type_get_type ()")]
public enum ScrollType {
TOP_LEFT,
BOTTOM_RIGHT,
TOP_EDGE,
BOTTOM_EDGE,
LEFT_EDGE,
RIGHT_EDGE,
ANYWHERE
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_STATE_", type_id = "atspi_state_type_get_type ()")]
public enum StateType {
INVALID,
ACTIVE,
ARMED,
BUSY,
CHECKED,
COLLAPSED,
DEFUNCT,
EDITABLE,
ENABLED,
EXPANDABLE,
EXPANDED,
FOCUSABLE,
FOCUSED,
HAS_TOOLTIP,
HORIZONTAL,
ICONIFIED,
MODAL,
MULTI_LINE,
MULTISELECTABLE,
OPAQUE,
PRESSED,
RESIZABLE,
SELECTABLE,
SELECTED,
SENSITIVE,
SHOWING,
SINGLE_LINE,
STALE,
TRANSIENT,
VERTICAL,
VISIBLE,
MANAGES_DESCENDANTS,
INDETERMINATE,
REQUIRED,
TRUNCATED,
ANIMATED,
INVALID_ENTRY,
SUPPORTS_AUTOCOMPLETION,
SELECTABLE_TEXT,
IS_DEFAULT,
VISITED,
CHECKABLE,
HAS_POPUP,
READ_ONLY,
LAST_DEFINED
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_BOUNDARY_", type_id = "atspi_text_boundary_type_get_type ()")]
public enum TextBoundaryType {
CHAR,
WORD_START,
WORD_END,
SENTENCE_START,
SENTENCE_END,
LINE_START,
LINE_END
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_CLIP_", type_id = "atspi_text_clip_type_get_type ()")]
public enum TextClipType {
NONE,
MIN,
MAX,
BOTH
}
[CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_GRANULARITY_", type_id = "atspi_text_granularity_get_type ()")]
public enum TextGranularity {
CHAR,
WORD,
SENTENCE,
LINE,
PARAGRAPH
}
[CCode (cheader_filename = "atspi/atspi.h", instance_pos = 1.9)]
public delegate bool DeviceListenerCB (owned Atspi.DeviceEvent stroke);
[CCode (cheader_filename = "atspi/atspi.h", has_target = false)]
public delegate bool DeviceListenerSimpleCB (owned Atspi.DeviceEvent stroke);
[CCode (cheader_filename = "atspi/atspi.h", instance_pos = 1.9)]
public delegate void EventListenerCB (owned Atspi.Event event);
[CCode (cheader_filename = "atspi/atspi.h", has_target = false)]
public delegate void EventListenerSimpleCB (owned Atspi.Event event);
[CCode (cheader_filename = "atspi/atspi.h", instance_pos = 6.9)]
public delegate void KeyCallback (Atspi.Device device, bool pressed, uint keycode, uint keysym, uint modifiers, string keystring);
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COMPONENTLAYER_COUNT")]
public const int COMPONENTLAYER_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COORD_TYPE_COUNT")]
public const int COORD_TYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_ACCESSIBLE")]
public const string DBUS_INTERFACE_ACCESSIBLE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_ACTION")]
public const string DBUS_INTERFACE_ACTION;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_APPLICATION")]
public const string DBUS_INTERFACE_APPLICATION;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_CACHE")]
public const string DBUS_INTERFACE_CACHE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_COLLECTION")]
public const string DBUS_INTERFACE_COLLECTION;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_COMPONENT")]
public const string DBUS_INTERFACE_COMPONENT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DEC")]
public const string DBUS_INTERFACE_DEC;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER")]
public const string DBUS_INTERFACE_DEVICE_EVENT_LISTENER;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DOCUMENT")]
public const string DBUS_INTERFACE_DOCUMENT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EDITABLE_TEXT")]
public const string DBUS_INTERFACE_EDITABLE_TEXT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_KEYBOARD")]
public const string DBUS_INTERFACE_EVENT_KEYBOARD;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_MOUSE")]
public const string DBUS_INTERFACE_EVENT_MOUSE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_OBJECT")]
public const string DBUS_INTERFACE_EVENT_OBJECT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_SCREEN_READER")]
public const string DBUS_INTERFACE_EVENT_SCREEN_READER;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERLINK")]
public const string DBUS_INTERFACE_HYPERLINK;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERTEXT")]
public const string DBUS_INTERFACE_HYPERTEXT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_IMAGE")]
public const string DBUS_INTERFACE_IMAGE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_REGISTRY")]
public const string DBUS_INTERFACE_REGISTRY;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SELECTION")]
public const string DBUS_INTERFACE_SELECTION;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SOCKET")]
public const string DBUS_INTERFACE_SOCKET;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE")]
public const string DBUS_INTERFACE_TABLE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE_CELL")]
public const string DBUS_INTERFACE_TABLE_CELL;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TEXT")]
public const string DBUS_INTERFACE_TEXT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_VALUE")]
public const string DBUS_INTERFACE_VALUE;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_NAME_REGISTRY")]
public const string DBUS_NAME_REGISTRY;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_DEC")]
public const string DBUS_PATH_DEC;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_NULL")]
public const string DBUS_PATH_NULL;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_REGISTRY")]
public const string DBUS_PATH_REGISTRY;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_ROOT")]
public const string DBUS_PATH_ROOT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_SCREEN_READER")]
public const string DBUS_PATH_SCREEN_READER;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_EVENTTYPE_COUNT")]
public const int EVENTTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_KEYEVENTTYPE_COUNT")]
public const int KEYEVENTTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_KEYSYNTHTYPE_COUNT")]
public const int KEYSYNTHTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_LOCALE_TYPE_COUNT")]
public const int LOCALE_TYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_MATCHTYPES_COUNT")]
public const int MATCHTYPES_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_MODIFIERTYPE_COUNT")]
public const int MODIFIERTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_RELATIONTYPE_COUNT")]
public const int RELATIONTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_ROLE_COUNT")]
public const int ROLE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SCROLLTYPE_COUNT")]
public const int SCROLLTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SORTORDER_COUNT")]
public const int SORTORDER_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_STATETYPE_COUNT")]
public const int STATETYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_TEXT_BOUNDARY_TYPE_COUNT")]
public const int TEXT_BOUNDARY_TYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_TEXT_CLIP_TYPE_COUNT")]
public const int TEXT_CLIP_TYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_TREETRAVERSALTYPE_COUNT")]
public const int TREETRAVERSALTYPE_COUNT;
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool deregister_device_event_listener (Atspi.DeviceListener listener, void* filter) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool deregister_keystroke_listener (Atspi.DeviceListener listener, GLib.Array<Atspi.KeyDefinition>? key_set, Atspi.KeyMaskType modmask, Atspi.KeyEventMask event_types) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
[Version (replacement = "Event.main")]
public static void event_main ();
[CCode (cheader_filename = "atspi/atspi.h")]
[Version (replacement = "Event.quit")]
public static void event_quit ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static int exit ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool generate_keyboard_event (long keyval, string? keystring, Atspi.KeySynthType synth_type) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool generate_mouse_event (long x, long y, string name) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
public static Atspi.Accessible get_desktop (int i);
[CCode (cheader_filename = "atspi/atspi.h")]
public static int get_desktop_count ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static GLib.Array<Atspi.Accessible> get_desktop_list ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static int init ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool is_initialized ();
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool register_device_event_listener (Atspi.DeviceListener listener, Atspi.DeviceEventMask event_types, void* filter) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
public static bool register_keystroke_listener (Atspi.DeviceListener listener, GLib.Array<Atspi.KeyDefinition>? key_set, Atspi.KeyMaskType modmask, Atspi.KeyEventMask event_types, Atspi.KeyListenerSyncType sync_type) throws GLib.Error;
[CCode (cheader_filename = "atspi/atspi.h")]
[Version (replacement = "Role.get_name")]
public static string role_get_name (Atspi.Role role);
[CCode (cheader_filename = "atspi/atspi.h")]
public static void set_main_context (GLib.MainContext cnx);
[CCode (cheader_filename = "atspi/atspi.h")]
public static void set_reference_window (Atspi.Accessible accessible);
[CCode (cheader_filename = "atspi/atspi.h")]
public static void set_timeout (int val, int startup_time);
}

View File

@ -0,0 +1,223 @@
/* avahi-common.vala
*
* Copyright (C) 2009 Sebastian Noack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* As a special exception, if you use inline functions from this file, this
* file does not by itself cause the resulting executable to be covered by
* the GNU Lesser General Public License.
*
* Author:
* Sebastian Noack <sebastian.noack@gmail.com>
*/
[CCode(cprefix="Ga", lower_case_cprefix="ga_")]
namespace Avahi {
/* Network addresses */
[SimpleType]
[CCode(cheader_filename="avahi-common/address.h", cname="AvahiProtocol", cprefix="AVAHI_PROTO_", lower_case_cprefix="avahi_proto_", has_type_id = false)]
public enum Protocol {
INET,
INET6,
UNSPEC;
[CCode(cname="avahi_af_to_proto")]
public static Protocol from_af(int af);
public unowned string to_string();
public int to_af();
[CCode(cname="AVAHI_PROTO_VALID")]
public bool is_valid();
}
[SimpleType]
[CCode(cheader_filename="avahi-common/address.h", cname="AvahiIfIndex", has_type_id = false)]
public struct Interface {
[CCode(cname="AVAHI_IF_UNSPEC")]
public static Interface UNSPEC;
[CCode(cname="AVAHI_IF_VALID")]
public bool is_valid();
}
[CCode(cheader_filename="avahi-common/address.h", cname="AvahiAddress", cprefix="avahi_address_", has_type_id = false)]
public struct Address {
public Protocol proto;
[CCode(cname="AVAHI_ADDRESS_STR_MAX")]
public static size_t STR_MAX;
[CCode(cname="avahi_address_parse", instance_pos=-1)]
public Address.parse(string s, Protocol proto=Protocol.UNSPEC);
[CCode(cname="avahi_address_snprint", instance_pos=-1)]
public unowned string to_string(char[] dest=new char[STR_MAX]);
public int cmp(Address other);
}
/* Linked list of strings used for DNS TXT record data */
[CCode(cheader_filename="avahi-common/defs.h", cname="AVAHI_SERVICE_COOKIE_INVALID")]
public const uint32 SERVICE_COOKIE_INVALID;
[Compact]
[CCode(cheader_filename="avahi-common/strlst.h", cname="AvahiStringList", cprefix="avahi_string_list_", dup_function="avahi_string_list_copy", free_function="avahi_string_list_free")]
public class StringList {
public StringList next;
[CCode(array_length_cname="size")]
public char[] text;
public StringList(string? txt=null, ...);
public StringList.from_array(string[] array);
[ReturnsModifiedPointer()]
public void add(string text);
[ReturnsModifiedPointer()]
[PrintfFormat]
public void add_printf(string format, ...);
[ReturnsModifiedPointer()]
public void add_arbitrary(char[] text);
[ReturnsModifiedPointer()]
public void add_anonymous(size_t size);
[ReturnsModifiedPointer()]
public void add_many(...);
public string to_string();
public int equal(StringList other);
public StringList copy();
[ReturnsModifiedPointer()]
public void reverse();
public uint length();
public unowned StringList find(string key);
public bool get_pair(out string key, out char[] value);
[ReturnsModifiedPointer()]
public void add_pair(string key, string? value);
[ReturnsModifiedPointer()]
public void add_pair_arbitrary(string key, char[] value);
public uint32 get_service_cookie();
[CCode(cname="avahi_string_list_serialize")]
private size_t _serialize(char[] dest);
[CCode(cname="avahi_string_list_serialize_dup")]
public char[] serialize() {
char[] dest = new char[this.length() * 256];
dest.length = (int) _serialize(dest);
return dest;
}
[CCode(cname="avahi_string_list_parse")]
public static int deserialize (char[] data, out StringList dest);
}
/* Domain name utility functions */
[CCode(cheader_filename="avahi-common/domain.h", lower_case_cprefix="avahi_")]
namespace Domain {
public const size_t DOMAIN_NAME_MAX;
public const size_t LABEL_MAX;
[CCode(cname="avahi_normalize_name_strdup")]
public string normalize_name(string s);
[CCode(cname="avahi_domain_equal")]
public bool equal(string a, string b);
[CCode(cname="avahi_domain_hash")]
public uint hash(string name);
public unowned string? get_type_from_subtype(string s);
public unowned string? unescape_label(ref unowned string name, char[] dest=new char[LABEL_MAX]);
[CCode (cname="avahi_escape_label")]
private string? _escape_label(char* src, size_t src_len, ref char* dest, ref size_t dest_len);
[CCode (cname = "_vala_avahi_escape_label")]
public string? escape_label(string s) {
size_t len = LABEL_MAX * 4;
char* dest = new char[len];
return _escape_label(s, s.length, ref dest, ref len);
}
[CCode (cname = "avahi_service_name_join")]
public int _service_name_join ([CCode (array_length_type = "size_t")] uint8[] dest, string name, string type, string domain);
[CCode (cname = "_avahi_service_name_join")]
public int join_service_name (out string? dest, string name, string type, string domain) {
uint8[] dest_data = new uint8[DOMAIN_NAME_MAX];
int errno = _service_name_join (dest_data, name, type, domain);
dest = (errno >= 0) ? (string) dest_data : null;
return errno;
}
[CCode (cname = "avahi_service_name_split")]
public int _service_name_split(string src, [CCode (array_length_type = "size_t")] uint8[] name, [CCode (array_length_type = "size_t")] uint8[] type, [CCode (array_length_type = "size_t")] uint8[] domain);
[CCode(cname = "_vala_avahi_service_name_split")]
public int split_service_name (string src, out string name, out string type, out string domain) {
uint8[] name_data = new uint8[LABEL_MAX];
uint8[] type_data = new uint8[DOMAIN_NAME_MAX];
uint8[] domain_data = new uint8[DOMAIN_NAME_MAX];
int errno = _service_name_split (src, name_data, type_data, domain_data);
if (errno >= 0) {
name = (string) name_data;
type = (string) type_data;
domain = (string) domain_data;
} else {
name = null;
type = null;
domain = null;
}
return errno;
}
public bool is_valid_service_type_generic(string s);
public bool is_valid_service_type_strict(string s);
public bool is_valid_service_subtype(string s);
public bool is_valid_domain_name(string s);
public bool is_valid_service_name(string s);
public bool is_valid_host_name(string s);
public bool is_valid_fqdn(string s);
[CCode(cheader_filename="avahi-common/address.h")]
public unowned string reverse_lookup_name(Address addr, char[] dest=new char[DOMAIN_NAME_MAX]);
}
[CCode(cheader_filename="avahi-common/alternative.h", lower_case_cprefix="avahi_alternative_")]
namespace Alternative {
public string host_name(string s);
public string service_name(string s);
}
/* Entry group */
[Flags]
[CCode(cheader_filename="avahi-common/defs.h", cname="AvahiPublishFlags", cprefix="AVAHI_PUBLISH_", has_type_id = false)]
public enum PublishFlags {
UNIQUE,
NO_PROBE,
NO_ANNOUNCE,
ALLOW_MULTIPLE,
NO_REVERSE,
NO_COOKIE,
UPDATE,
USE_WIDE_AREA,
USE_MULTICAST
}
}

View File

@ -0,0 +1,2 @@
glib-2.0
avahi-client

View File

@ -0,0 +1,292 @@
/* avahi.vala
*
* Copyright (C) 2009 Sebastian Noack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* As a special exception, if you use inline functions from this file, this
* file does not by itself cause the resulting executable to be covered by
* the GNU Lesser General Public License.
*
* Author:
* Sebastian Noack <sebastian.noack@gmail.com>
*/
[CCode(cprefix="Ga", lower_case_cprefix="ga_")]
namespace Avahi {
/* Error handling */
[CCode(cheader_filename="avahi-gobject/ga-error.h", cprefix="AVAHI_ERR_")]
public errordomain Error {
FAILURE,
BAD_STATE,
INVALID_HOST_NAME,
INVALID_DOMAIN_NAME,
NO_NETWORK,
INVALID_TTL,
IS_PATTERN,
COLLISION,
INVALID_RECORD,
INVALID_SERVICE_NAME,
INVALID_SERVICE_TYPE,
INVALID_PORT,
INVALID_KEY,
INVALID_ADDRESS,
TIMEOUT,
TOO_MANY_CLIENTS,
TOO_MANY_OBJECTS,
TOO_MANY_ENTRIES,
OS,
ACCESS_DENIED,
INVALID_OPERATION,
DBUS_ERROR,
DISCONNECTED,
NO_MEMORY,
INVALID_OBJECT,
NO_DAEMON,
INVALID_INTERFACE,
INVALID_PROTOCOL,
INVALID_FLAGS,
NOT_FOUND,
INVALID_CONFIG,
VERSION_MISMATCH,
INVALID_SERVICE_SUBTYPE,
INVALID_PACKET,
INVALID_DNS_ERROR,
DNS_FORMERR,
DNS_SERVFAIL,
DNS_NXDOMAIN,
DNS_NOTIMP,
DNS_REFUSED,
DNS_YXDOMAIN,
DNS_YXRRSET,
DNS_NXRRSET,
DNS_NOTAUTH,
DNS_NOTZONE,
INVALID_RDATA,
INVALID_DNS_CLASS,
INVALID_DNS_TYPE,
NOT_SUPPORTED,
NOT_PERMITTED,
INVALID_ARGUMENT,
IS_EMPTY,
NO_CHANGE
}
[CCode(cheader_filename="avahi-gobject/ga-error.h", cname="avahi_strerror")]
public unowned string strerror(int errno);
/* Lookup flags */
[CCode(cheader_filename="avahi-gobject/ga-enums.h", cprefix="GA_LOOKUP_RESULT_")]
public enum LookupResultFlags {
CACHED,
WIDE_AREA,
MULTICAST,
LOCAL,
OUR_OWN,
STATIC
}
[Flags]
[CCode(cheader_filename="avahi-gobject/ga-enums.h", cprefix="GA_LOOKUP_")]
public enum LookupFlags {
NO_FLAGS,
USE_WIDE_AREA,
USE_MULTICAST,
NO_TXT,
NO_ADDRESS
}
/* Client */
[CCode(cheader_filename="avahi-gobject/ga-client.h")]
public enum ClientState {
NOT_STARTED,
S_REGISTERING,
S_RUNNING,
S_COLLISION,
FAILURE,
CONNECTING
}
[Flags]
[CCode(cheader_filename="avahi-gobject/ga-client.h", cprefix="GA_CLIENT_FLAG_")]
public enum ClientFlags {
NO_FLAGS,
IGNORE_USER_CONFIG,
NO_FAIL
}
[CCode(cheader_filename="avahi-gobject/ga-client.h")]
public class Client : GLib.Object {
public Client(ClientFlags flags=ClientFlags.NO_FLAGS);
public void start() throws Error;
[NoAccessorMethod]
public ClientState state { get; }
[NoAccessorMethod]
public ClientFlags flags { get; construct; }
public signal void state_changed(ClientState state);
}
/* Record browser */
[CCode(cheader_filename="avahi-gobject/ga-record-browser.h")]
public class RecordBrowser : GLib.Object {
public RecordBrowser(string name, uint16 type);
public RecordBrowser.full(Interface interface, Protocol protocol, string name, uint16 class, uint16 type, LookupFlags flags=LookupFlags.NO_FLAGS);
public void attach(Client client) throws Error;
[NoAccessorMethod]
public Protocol protocol { get; set; }
[NoAccessorMethod]
public Interface interface { get; set; }
[NoAccessorMethod]
public string name { owned get; set; }
[NoAccessorMethod]
public uint16 type { get; set; }
[NoAccessorMethod]
public uint16 class { get; set; }
[NoAccessorMethod]
public LookupFlags flags { get; set; }
public signal void new_record(Interface interface, Protocol protocol, string name, uint16 class, uint16 type, char[] data, LookupResultFlags flags);
public signal void removed_record(Interface interface, Protocol protocol, string name, uint16 class, uint16 type, char[] data, LookupResultFlags flags);
public signal void all_for_now();
public signal void cache_exhausted();
public signal void failure(GLib.Error error);
}
/* Service browser */
[CCode(cheader_filename="avahi-gobject/ga-service-browser.h")]
public class ServiceBrowser : GLib.Object {
public ServiceBrowser(string type);
public ServiceBrowser.full(Interface interface, Protocol protocol, string type, string? domain=null, LookupFlags flags=LookupFlags.NO_FLAGS);
public void attach(Client client) throws Error;
[NoAccessorMethod]
public Protocol protocol { get; set; }
[NoAccessorMethod]
public Protocol aprotocol { get; set; }
[NoAccessorMethod]
public Interface interface { get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
[NoAccessorMethod]
public string? domain { owned get; set; }
[NoAccessorMethod]
public LookupFlags flags { get; set; }
public signal void new_service(Interface interface, Protocol protocol, string name, string type, string domain, LookupResultFlags flags);
public signal void removed_service(Interface interface, Protocol protocol, string name, string type, string domain, LookupResultFlags flags);
public signal void all_for_now();
public signal void cache_exhausted();
public signal void failure(GLib.Error error);
}
/* Service resolver */
[CCode(cheader_filename="avahi-gobject/ga-service-resolver.h")]
public class ServiceResolver : GLib.Object {
public ServiceResolver(Interface interface, Protocol protocol, string name, string type, string domain, Protocol address_protocol, LookupFlags flags=LookupFlags.NO_FLAGS);
public void attach(Client client) throws Error;
public bool get_address(out Address address, out uint16 port);
[NoAccessorMethod]
public Protocol protocol { get; set; }
[NoAccessorMethod]
public Protocol aprotocol { get; set; }
[NoAccessorMethod]
public Interface interface { get; set; }
[NoAccessorMethod]
public string name { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
[NoAccessorMethod]
public string domain { owned get; set; }
[NoAccessorMethod]
public LookupFlags flags { get; set; }
public signal void found(Interface interface, Protocol protocol, string name, string type, string domain, string hostname, Address? address, uint16 port, StringList? txt, LookupResultFlags flags);
public signal void failure(GLib.Error error);
}
[CCode(cheader_filename="avahi-gobject/ga-entry-group.h")]
public enum EntryGroupState {
UNCOMMITED,
REGISTERING,
ESTABLISHED,
COLLISION,
FAILURE
}
[Compact]
[CCode(cheader_filename="avahi-gobject/ga-entry-group.h", ref_function="", unref_function="")]
public class EntryGroupService {
public Interface interface;
public Protocol protocol;
public PublishFlags flags;
public string name;
public string type;
public string domain;
public string host;
public uint16 port;
public void freeze();
public void set(string key, string value) throws Error;
public void set_arbitrary(string key, char[] value) throws Error;
public void remove_key(string key) throws Error;
public void thaw() throws Error;
}
[CCode(cheader_filename="avahi-gobject/ga-entry-group.h")]
public class EntryGroup : GLib.Object {
public EntryGroup();
public void attach(Client client) throws Error;
[CCode(sentinel="")]
public EntryGroupService add_service_strlist(string name, string type, uint16 port, ...) throws Error;
[CCode(sentinel="")]
public EntryGroupService add_service_full_strlist(Interface interface, Protocol protocol, PublishFlags flags, string name, string type, string domain, string host, uint16 port, ...) throws Error;
public EntryGroupService add_service(string name, string type, uint16 port, ...) throws Error;
public EntryGroupService add_service_full(Interface interface, Protocol protocol, PublishFlags flags, string name, string type, string domain, string host, uint16 port, ...) throws Error;
public void add_record(PublishFlags flags, string name, uint16 type, uint32 ttl, char[] data) throws Error;
public void add_record_full(Interface interface, Protocol protocol, PublishFlags flags, string name, uint16 class, uint16 type, uint32 ttl, char[] data) throws Error;
public void commit() throws Error;
public void reset() throws Error;
[NoAccessorMethod]
public EntryGroupState state { get; }
public signal void state_changed(EntryGroupState state);
}
}

View File

@ -0,0 +1,92 @@
/* bzlib.vapi
*
* Copyright (C) 2008 Maciej Piechotka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author:
* Maciej Piechotka <uzytkownik2@gmail.com>
*/
[CCode (cheader_filename = "bzlib.h")]
namespace BZLib {
[CCode (cname = "int", cprefix = "BZ_", has_type_id = false)]
public enum Action {
RUN,
FLUSH,
FINISH
}
[CCode (cname = "int", cprefix = "BZ_", has_type_id = false)]
public enum Status {
OK,
RUN_OK,
FLUSH_OK,
FINISH_OK,
STREAM_END,
SEQUENCE_ERROR,
MEM_ERROR,
DATA_ERROR,
DATA_ERROR_MAGIC,
IO_ERROR,
UNEXPECTED_EOF,
OUTBUFF_FULL,
CONFIG_ERROR
}
[CCode (cname = "bz_stream", has_type_id = false)]
public struct Stream {
public string next_in;
public uint avail_in;
public uint total_in_lo32;
public uint total_in_hi32;
public string next_out;
public uint avail_out;
public uint total_out_lo32;
public uint total_out_hi32;
public void *state;
public AllocFunc? bzalloc;
public FreeFunc? bzfree;
public void *opaque;
[CCode (cname = "BZ2_bzCompressInit")]
public Status compress_init (int block_size_100k, int verbosity, int work_factor);
[CCode (cname = "BZ2_bzCompress")]
public Status compress (Action action);
[CCode (cname = "BZ2_bzCompressEnd")]
public Status compress_end ();
[CCode (cname = "BZ2_bzDecompressInit")]
public Status decompress_init (int verbosity, int small);
[CCode (cname = "BZ2_bzDecompress")]
public Status decompress ();
[CCode (cname = "BZ2_bzDecompressEnd")]
public Status decompress_end ();
}
[CCode (cname = "BZFILE", cprefix = "BZ2_bz", free_function = "BZ2_bzclose")]
[Compact]
public class BZFileStream {
public static BZFileStream open (string path, string mode = "rb");
public static BZFileStream dopen (int fd, string mode);
public int read (uint8[] buf);
public int write (uint8[] buf);
public unowned string error (out Status status);
}
[CCode (has_target = false, has_typedef = false)]
public delegate void* AllocFunc (void* target, int m, int n);
[CCode (has_target = false, has_typedef = false)]
public delegate void FreeFunc (void* target, void* p);
}

View File

@ -0,0 +1,2 @@
cairo
gobject-2.0

View File

@ -0,0 +1,5 @@
/* cairo-gobject.vapi generated by vapigen, do not modify. */
[CCode (cheader_filename = "cairo-gobject.h", gir_namespace = "cairo", gir_version = "1.0")]
namespace Cairo {
}

View File

@ -0,0 +1,3 @@
cairo
xcb

View File

@ -0,0 +1,32 @@
/* cairo-xcb.vala
*
* Copyright (C) 2009 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Author:
* Jürg Billeter <j@bitron.ch>
*/
[Version (deprecated_since = "vala-0.26", replacement = "bindings distributed with vala-extra-vapis")]
namespace Cairo {
[Compact]
[CCode (cname = "cairo_surface_t", cheader_filename = "cairo-xcb.h")]
public class XcbSurface : Surface {
[CCode (cname = "cairo_xcb_surface_create")]
public XcbSurface (Xcb.Connection connection, Xcb.Drawable drawable, Xcb.VisualType visual, int width, int height);
public void set_size (int width, int height);
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,378 @@
[CCode (cprefix = "ccss_", lower_case_cprefix = "ccss_", cheader_filename = "ccss/ccss.h")]
namespace CCss {
[Compact]
[CCode (cprefix = "ccss_background_attachment_", cname = "ccss_background_attachment_t")]
public class BackgroundAttachment: Property {
[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = false, cname = "ccss_background_attachment_type_t")]
public enum Type {
SCROLL,
FIXED
}
public Type attachment {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_background_image_", cname = "ccss_background_image_t")]
public class BackgroundImage: Property {
public string uri {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_background_position_", cname = "ccss_background_position_t")]
public class BackgroundPosition: Property {
public Position horizontal_position {
get;
}
public Position vertical_position {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_background_repeat_", cname = "ccss_background_repeat_t")]
public class BackgroundRepeat: Property {
[CCode (cprefix = "CCSS_BACKGROUND_", has_type_id = false, cname = "ccss_background_repeat_type_t")]
public enum Type {
REPEAT,
REPEAT_X,
REPEAT_Y,
NO_REPEAT
}
public Type repeat {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_background_size_", cname = "ccss_background_size_t")]
public class BackgroundSize: Property {
public Position height {
get;
}
public Position width {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_background_", cname = "ccss_background_t")]
public class Background: Property {
public BackgroundAttachment attachment {
get;
}
public Color color {
get;
}
public BackgroundImage image {
get;
}
public BackgroundPosition position {
get;
}
public BackgroundRepeat repeat {
get;
}
public BackgroundSize size {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_block_", cname = "ccss_block_t")]
public class Block {
public void add_property (string property_name, Property property);
}
[Compact]
[CCode (cprefix = "ccss_border_image_", cname = "ccss_border_image_t")]
public class BorderImage: Property {
[CCode (cprefix = "CCSS_BORDER_IMAGE_TILING_", has_type_id = false, cname = "ccss_border_image_tiling_t")]
public enum Tiling {
REPEAT,
ROUND,
STRETCH
}
public string uri {
get;
}
public Position top {
get;
}
public Position right {
get;
}
public Position bottom {
get;
}
public Position left {
get;
}
public Tiling top_middle_bottom_horizontal_tiling {
get;
}
public Tiling left_middle_right_vertical_tiling {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_border_join_", cname = "ccss_border_join_t")]
public class BorderRadius: Property {
public double radius {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_border_spacing_", cname = "ccss_border_spacing_t")]
public class BorderSpacing: Property {
public double spacing {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_border_style_", cname = "ccss_border_style_t")]
public class BorderStyle: Property {
[CCode (cprefix = "CCSS_BORDER_STYLE_", has_type_id = false, cname = "ccss_border_style_type_t")]
public enum Type {
HIDDEN,
DOTTED,
DASHED,
SOLID,
DOUBLE,
GROOVE,
RIDGE,
INSET,
OUTSET
}
public Type style {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_border_width_", cname = "ccss_border_width_t")]
public class BorderWidth: Property {
public double width {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_color_", cname = "ccss_color_t", free_function = "ccss_color_destroy")]
public class Color: Property {
public double alpha {
get;
}
public double blue {
get;
}
public double green {
get;
}
public double red {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_function_", cname = "ccss_function_t", ref_function = "ccss_function_reference", unref_function = "ccss_function_destroy")]
public class Function {
[CCode (cname = "ccss_function_create")]
public Function (string name, FunctionDelegate function);
}
[CCode (cname = "ccss_function_f", has_target = false)]
public delegate string? FunctionDelegate (GLib.SList<string> args, void* user_data);
[Compact]
[CCode (cprefix = "ccss_grammar_", cname = "ccss_grammar_t", ref_function = "ccss_grammar_reference", unref_function = "ccss_grammar_destroy")]
public class Grammar {
[CCode (cname = "ccss_grammar_create_generic")]
public Grammar.generic ();
[CCode (cname = "ccss_grammar_create_css")]
public Grammar.css ();
/*public void add_properties (PropertyClass properties);
public unowned PropertyClass lookup_property (string name);*/
public void add_function (Function function);
public unowned Function lookup_function (string name);
public Stylesheet create_stylesheet ();
public Stylesheet create_stylesheet_from_buffer (char[] buffer, void* user_data);
public Stylesheet create_stylesheet_from_file (string css_file, void* user_data);
}
[CCode (cname = "ccss_node_class_t")]
public struct NodeClass {
public Node.IsA is_a;
public Node.GetContainer get_container;
public Node.GetBaseStyle get_base_style;
public Node.GetInstance get_instance;
public Node.GetId get_id;
public Node.GetType get_type;
public Node.GetClasses get_classes;
public Node.GetPseudoClasses get_pseudo_classes;
public Node.GetAttribute get_attribute;
public Node.GetStyle get_style;
public Node.GetViewport get_viewport;
public Node.Release release;
}
[Compact]
[CCode (cprefix = "ccss_node_", cname = "ccss_node_t", free_function = "ccss_node_destroy")]
public class Node {
[CCode (cname = "ccss_node_create")]
public Node (NodeClass node_class, uint n_methods, void* user_data);
public void* get_user_data ();
[CCode (cname = "ccss_node_get_attribute_f", has_target = false)]
public delegate string? GetAttribute (Node node, string name);
[CCode (cname = "ccss_node_get_base_style_f", has_target = false)]
public delegate Node? GetBaseStyle (Node node);
[CCode (cname = "ccss_node_get_classes_f", array_length = false, array_null_terminated = true, has_target = false)]
public delegate string[]? GetClasses (Node node);
[CCode (cname = "ccss_node_get_container_f", has_target = false)]
public delegate Node? GetContainer (Node node);
[CCode (cname = "ccss_node_get_id_f", has_target = false)]
public delegate string? GetId (Node node);
[CCode (cname = "ccss_node_get_instance_f", has_target = false)]
public delegate long GetInstance (Node node);
[CCode (cname = "ccss_node_get_pseudo_classes_f", array_length = false, array_null_terminated = true, has_target = false)]
public delegate string[]? GetPseudoClasses (Node node);
[CCode (cname = "ccss_node_get_style_f", has_target = false)]
public delegate string? GetStyle (Node node, uint descriptor);
[CCode (cname = "ccss_node_get_type_f", has_target = false)]
public delegate string? GetType (Node node);
[CCode (cname = "ccss_node_get_viewport_f", has_target = false)]
public delegate bool GetViewport (Node node, double x, double y, double width, double height);
[CCode (cname = "ccss_node_is_a_f", has_target = false)]
public delegate bool IsA (Node node, string type_name);
[CCode (cname = "ccss_node_release_f", has_target = false)]
public delegate void Release (Node node);
}
[Compact]
[CCode (cname = "ccss_padding_t")]
public class Padding: Property {
public double padding {
get;
}
}
[Compact]
[CCode (cprefix = "ccss_position_", cname = "ccss_position_t")]
public class Position: Property {
[CCode (cprefix = "CCSS_POSITION_", has_type_id = false, cname = "ccss_position_type_t")]
public enum Type {
LENGTH,
PERCENTAGE,
MASK_NUMERIC,
LEFT,
TOP,
RIGHT,
BOTTOM,
CENTER,
MASK_HORIZONTAL,
MASK_VERTICAL,
AUTO,
CONTAIN,
COVER,
MASK_AUTO
}
public double get_hsize (double extent_x, double extent_y, double width, double height);
public double get_pos (double extent, double size);
public double get_size (double extent);
public double get_vsize (double extent_x, double extent_y, double width, double height);
public string serialize ();
}
[Compact]
[CCode (cname = "ccss_property_class_t")]
public class PropertyClass {
public string name;
public Property.Convert convert;
public Property.Create create;
public Property.Destroy destroy;
public Property.Factory factory;
public Property.Inherit inherit;
public Property.Serialize serialize;
}
/*[Compact]
[CCode (cname = "ccss_property_generic_t")]
public class PropertyGeneric: Property {
public weak string name;
public void* values;
}*/
[Compact]
[CCode (cprefix = "ccss_property_", cname = "ccss_property_t", free_function = "ccss_property_destroy")]
public class Property {
[CCode (cprefix = "CCSS_PROPERTY_STATE_", has_type_id = false, cname = "ccss_property_state_t")]
public enum State {
INVALID,
NONE,
INHERIT,
SET,
ERROR_OVERFLOW;
[CCode (cname = "ccss_property_parse_state")]
public static State parse (string value);
[CCode (cname = "ccss_property_state_serialize")]
public unowned string serialize ();
}
[CCode (cprefix = "CCSS_PROPERTY_TYPE_", has_type_id = false, cname = "ccss_property_type_t")]
public enum Type {
DOUBLE,
STRING
}
public Type type {
get;
}
public State get_state {
get;
}
[CCode (cname = "ccss_property_create_f")]
public delegate Property Create (Grammar grammar, void* values);
[CCode (cname = "ccss_property_convert_f", has_target = false)]
public delegate bool Convert (Property property, Type target, void* value);
[CCode (cname = "ccss_property_destroy_f", has_target = false)]
public delegate void Destroy (Property property);
[CCode (cname = "ccss_property_factory_f")]
public delegate bool Factory (Grammar grammar, Block block, string name, void* values);
[CCode (cname = "ccss_property_inherit_f", has_target = false)]
public delegate bool Inherit (Style container_style, Style style);
[CCode (cname = "ccss_property_serialize_f", has_target = false)]
public delegate string Serialize (Property property);
}
[Compact]
[CCode (cprefix = "ccss_style_", cname = "ccss_style_t", free_function = "ccss_style_destroy")]
public class Style {
public void dump ();
public void @foreach (Iterator func);
public bool get_double (string property_name, out double value);
public bool get_property (string property_name, out unowned Property value);
public bool get_string (string property_name, out unowned string value);
public Stylesheet stylesheet {
get;
}
[CCode (cname = "ccss_style_iterator_f")]
public delegate void Iterator (Style style, string property_name);
public static GLib.HashFunc hash;
}
[Compact]
[CCode (cprefix = "ccss_stylesheet_", cname = "ccss_stylesheet_t", ref_function = "ccss_stylesheet_reference", unref_function = "ccss_stylesheet_destroy")]
public class Stylesheet {
[CCode (cprefix = "CCSS_STYLESHEET_", has_type_id = false, cname = "ccss_stylesheet_precedence_t")]
public enum Precedence {
USER_AGENT,
USER,
AUTHOR
}
public uint add_from_buffer (char[] buffer, Precedence precedence, void* user_data);
public uint add_from_file (string css_file, Precedence precedence, void* user_data);
public void dump ();
public void @foreach (Iterator func);
public Grammar grammar {
owned get;
}
public Style? query (Node node);
public Style? query_type (string type_name);
public bool unload (uint descriptor);
[CCode (cname = "ccss_stylesheet_iterator_f")]
public delegate void Iterator (Stylesheet stylesheet, string type_name);
}
}

View File

@ -0,0 +1,5 @@
atk
cairo-gobject
pango
cogl-1.0
json-glib-1.0

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
clutter-1.0
gdk-3.0

View File

@ -0,0 +1,28 @@
/* clutter-gdk-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "ClutterGdk", gir_namespace = "ClutterGdk", gir_version = "1.0", lower_case_cprefix = "clutter_gdk_")]
namespace ClutterGdk {
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static void disable_event_retrieval ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "0.6")]
public static unowned Gdk.Display get_default_display ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static unowned Clutter.Stage get_stage_from_window (Gdk.Window window);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static unowned Gdk.Window get_stage_window (Clutter.Stage stage);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.22")]
public static unowned Gdk.Visual get_visual ();
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
public static Gdk.FilterReturn handle_event (Gdk.Event event);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "0.8")]
public static void set_display (Gdk.Display display);
[CCode (cheader_filename = "clutter/gdk/clutter-gdk.h")]
[Version (since = "1.10")]
public static bool set_stage_foreign (Clutter.Stage stage, Gdk.Window window);
}

View File

@ -0,0 +1,4 @@
clutter-1.0
gstreamer-1.0
gstreamer-base-1.0
gstreamer-video-1.0

View File

@ -0,0 +1,95 @@
/* clutter-gst-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "ClutterGst", gir_namespace = "ClutterGst", gir_version = "2.0", lower_case_cprefix = "clutter_gst_")]
namespace ClutterGst {
namespace Version {
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_VERSION_HEX")]
public const int HEX;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MAJOR_VERSION")]
public const int MAJOR;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MICRO_VERSION")]
public const int MICRO;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_MINOR_VERSION")]
public const int MINOR;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_VERSION_S")]
public const string STRING;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cname = "CLUTTER_GST_CHECK_VERSION")]
public static bool check (int major, int minor, int micro);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_sink_get_type ()")]
public class VideoSink : Gst.Base.Sink, Gst.Video.Navigation {
[CCode (has_construct_function = false, type = "GstElement*")]
[Version (deprecated = true, deprecated_since = "1.6")]
public VideoSink (Clutter.Texture texture);
[NoAccessorMethod]
public Clutter.Texture texture { owned get; set; }
[NoAccessorMethod]
public int update_priority { get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_video_texture_get_type ()")]
public class VideoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Media, Clutter.Scriptable, ClutterGst.Player {
[CCode (has_construct_function = false, type = "ClutterActor*")]
public VideoTexture ();
[Version (since = "1.2")]
public unowned Cogl.Handle get_idle_material ();
[Version (since = "1.2")]
public void set_idle_material (Cogl.Handle material);
[NoAccessorMethod]
public Gst.Fraction pixel_aspect_ratio { owned get; set; }
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", type_id = "clutter_gst_player_get_type ()")]
[Version (since = "1.4")]
public interface Player : Clutter.Media, GLib.Object {
public static void class_init (GLib.ObjectClass object_class);
public void deinit ();
public abstract int get_audio_stream ();
public abstract unowned GLib.List<string> get_audio_streams ();
public abstract ClutterGst.BufferingMode get_buffering_mode ();
public abstract bool get_idle ();
[Version (since = "1.6")]
public abstract bool get_in_seek ();
public abstract unowned Gst.Element get_pipeline ();
public abstract ClutterGst.SeekFlags get_seek_flags ();
public abstract int get_subtitle_track ();
public abstract unowned GLib.List<string> get_subtitle_tracks ();
public abstract string get_user_agent ();
public bool init ();
public abstract void set_audio_stream (int index_);
public abstract void set_buffering_mode (ClutterGst.BufferingMode mode);
public abstract void set_seek_flags (ClutterGst.SeekFlags flags);
public abstract void set_subtitle_track (int index_);
public abstract void set_user_agent (string user_agent);
public abstract int audio_stream { get; set; }
public abstract void* audio_streams { get; }
public abstract bool idle { get; }
public abstract Cogl.Handle idle_material { get; set; }
[Version (since = "1.6")]
public abstract bool in_seek { get; }
public abstract ClutterGst.SeekFlags seek_flags { get; set; }
public abstract int subtitle_track { get; set; }
public abstract void* subtitle_tracks { get; }
public abstract string user_agent { owned get; set; }
public virtual signal void download_buffering (double start, double stop);
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_BUFFERING_MODE_", type_id = "clutter_gst_buffering_mode_get_type ()")]
[Version (since = "1.4")]
public enum BufferingMode {
STREAM,
DOWNLOAD
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h", cprefix = "CLUTTER_GST_SEEK_FLAG_", type_id = "clutter_gst_seek_flags_get_type ()")]
[Flags]
[Version (since = "1.4")]
public enum SeekFlags {
NONE,
ACCURATE
}
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (since = "1.0")]
public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string parameter_string, [CCode (array_length = false, type = "GOptionEntry*")] GLib.OptionEntry[]? entries = null, string? translation_domain = null) throws GLib.Error;
[CCode (cheader_filename = "clutter-gst/clutter-gst.h")]
[Version (replacement = "Player.class_init", since = "1.4")]
public static void player_class_init (GLib.ObjectClass object_class);
}

View File

@ -0,0 +1,8 @@
cogl-1.0
clutter-1.0
gdk-pixbuf-2.0
gstreamer-1.0
gstreamer-audio-1.0
gstreamer-base-1.0
gstreamer-pbutils-1.0
gstreamer-video-1.0

Some files were not shown because too many files have changed in this diff Show More