-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
GLibWin32-2.0.gir
136 lines (136 loc) · 5.99 KB
/
GLibWin32-2.0.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GLib" version="2.0"/>
<package name="glib-2.0"/>
<c:include name="glib.h"/>
<namespace name="GLibWin32" version="2.0" shared-library="libgobject-2.0-0.dll,libglib-2.0-0.dll" c:identifier-prefixes="GWin32,G" c:symbol-prefixes="glib,g_win32,g">
<function-macro name="HAVE_WIDECHAR_API" c:identifier="G_WIN32_HAVE_WIDECHAR_API" introspectable="0"/>
<function-macro name="IS_NT_BASED" c:identifier="G_WIN32_IS_NT_BASED" introspectable="0"/>
<enumeration name="OSType" c:type="GWin32OSType">
<doc xml:space="preserve">Type of Windows edition to check for at run-time.</doc>
<member name="any" value="0" c:identifier="G_WIN32_OS_ANY">
<doc xml:space="preserve">The running system can be a workstation or a server edition of
Windows. The type of the running system is therefore not checked.</doc>
</member>
<member name="workstation" value="1" c:identifier="G_WIN32_OS_WORKSTATION">
<doc xml:space="preserve">The running system is a workstation edition of Windows,
such as Windows 7 Professional.</doc>
</member>
<member name="server" value="2" c:identifier="G_WIN32_OS_SERVER">
<doc xml:space="preserve">The running system is a server edition of Windows, such as
Windows Server 2008 R2.</doc>
</member>
</enumeration>
<function name="check_windows_version" c:identifier="g_win32_check_windows_version">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="major" transfer-ownership="none">
<type name="gint" c:type="const gint"/>
</parameter>
<parameter name="minor" transfer-ownership="none">
<type name="gint" c:type="const gint"/>
</parameter>
<parameter name="spver" transfer-ownership="none">
<type name="gint" c:type="const gint"/>
</parameter>
<parameter name="os_type" transfer-ownership="none">
<type name="GLib.Win32OSType" c:type="const GWin32OSType"/>
</parameter>
</parameters>
</function>
<function name="error_message" c:identifier="g_win32_error_message">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="ftruncate" c:identifier="g_win32_ftruncate">
<return-value transfer-ownership="none">
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="f" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="get_command_line" c:identifier="g_win32_get_command_line" introspectable="0">
<return-value>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
</function>
<function name="get_package_installation_directory" c:identifier="g_win32_get_package_installation_directory">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="package" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dll_name" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_package_installation_directory_of_module" c:identifier="g_win32_get_package_installation_directory_of_module">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="hmodule" transfer-ownership="none" nullable="1" allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="get_package_installation_subdirectory" c:identifier="g_win32_get_package_installation_subdirectory">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="package" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dll_name" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="subdir" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_windows_version" c:identifier="g_win32_get_windows_version">
<return-value transfer-ownership="none">
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="getlocale" c:identifier="g_win32_getlocale">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
</function>
<function name="locale_filename_from_utf8" c:identifier="g_win32_locale_filename_from_utf8">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="utf8filename" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>