Imported Upstream version 1.56.1
[platform/upstream/gobject-introspection.git] / docs / reference / html / gi-GIFunctionInfo.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GIFunctionInfo: GObject Introspection Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="GObject Introspection Reference Manual">
8 <link rel="up" href="ch01.html" title="GIRepository">
9 <link rel="prev" href="gi-GICallableInfo.html" title="GICallableInfo">
10 <link rel="next" href="gi-GICallbackInfo.html" title="GICallbackInfo">
11 <meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#gi-GIFunctionInfo.description" class="shortcut">Description</a></span>
19 </td>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="gi-GICallableInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="gi-GICallbackInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24 </tr></table>
25 <div class="refentry">
26 <a name="gi-GIFunctionInfo"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="gi-GIFunctionInfo.top_of_page"></a>GIFunctionInfo</span></h2>
30 <p>GIFunctionInfo — Struct representing a function</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
34 <div class="refsect1">
35 <a name="gi-GIFunctionInfo.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_return">
39 <col class="functions_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="define_keyword">#define</td>
44 <td class="function_name">
45 <a class="link" href="gi-GIFunctionInfo.html#GI-IS-FUNCTION-INFO:CAPS" title="GI_IS_FUNCTION_INFO()">GI_IS_FUNCTION_INFO</a><span class="c_punctuation">()</span>
46 </td>
47 </tr>
48 <tr>
49 <td class="function_type">
50 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfoFlags" title="enum GIFunctionInfoFlags"><span class="returnvalue">GIFunctionInfoFlags</span></a>
51 </td>
52 <td class="function_name">
53 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-get-flags" title="g_function_info_get_flags ()">g_function_info_get_flags</a> <span class="c_punctuation">()</span>
54 </td>
55 </tr>
56 <tr>
57 <td class="function_type">
58 <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
59 </td>
60 <td class="function_name">
61 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-get-property" title="g_function_info_get_property ()">g_function_info_get_property</a> <span class="c_punctuation">()</span>
62 </td>
63 </tr>
64 <tr>
65 <td class="function_type">const <span class="returnvalue">gchar</span> *
66 </td>
67 <td class="function_name">
68 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-get-symbol" title="g_function_info_get_symbol ()">g_function_info_get_symbol</a> <span class="c_punctuation">()</span>
69 </td>
70 </tr>
71 <tr>
72 <td class="function_type">
73 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
74 </td>
75 <td class="function_name">
76 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-get-vfunc" title="g_function_info_get_vfunc ()">g_function_info_get_vfunc</a> <span class="c_punctuation">()</span>
77 </td>
78 </tr>
79 <tr>
80 <td class="function_type">
81 <span class="returnvalue">gboolean</span>
82 </td>
83 <td class="function_name">
84 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-invoke" title="g_function_info_invoke ()">g_function_info_invoke</a> <span class="c_punctuation">()</span>
85 </td>
86 </tr>
87 <tr>
88 <td class="function_type">
89 <span class="returnvalue">GQuark</span>
90 </td>
91 <td class="function_name">
92 <a class="link" href="gi-GIFunctionInfo.html#g-invoke-error-quark" title="g_invoke_error_quark ()">g_invoke_error_quark</a> <span class="c_punctuation">()</span>
93 </td>
94 </tr>
95 </tbody>
96 </table></div>
97 </div>
98 <div class="refsect1">
99 <a name="gi-GIFunctionInfo.other"></a><h2>Types and Values</h2>
100 <div class="informaltable"><table class="informaltable" width="100%" border="0">
101 <colgroup>
102 <col width="150px" class="name">
103 <col class="description">
104 </colgroup>
105 <tbody>
106 <tr>
107 <td class="typedef_keyword">typedef</td>
108 <td class="function_name"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo">GIFunctionInfo</a></td>
109 </tr>
110 <tr>
111 <td class="datatype_keyword">enum</td>
112 <td class="function_name"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfoFlags" title="enum GIFunctionInfoFlags">GIFunctionInfoFlags</a></td>
113 </tr>
114 <tr>
115 <td class="define_keyword">#define</td>
116 <td class="function_name"><a class="link" href="gi-GIFunctionInfo.html#G-INVOKE-ERROR:CAPS" title="G_INVOKE_ERROR">G_INVOKE_ERROR</a></td>
117 </tr>
118 <tr>
119 <td class="datatype_keyword">enum</td>
120 <td class="function_name"><a class="link" href="gi-GIFunctionInfo.html#GInvokeError" title="enum GInvokeError">GInvokeError</a></td>
121 </tr>
122 </tbody>
123 </table></div>
124 </div>
125 <div class="refsect1">
126 <a name="gi-GIFunctionInfo.description"></a><h2>Description</h2>
127 <p>GIFunctionInfo represents a function, method or constructor.
128 To find out what kind of entity a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> represents, call
129 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-get-flags" title="g_function_info_get_flags ()"><code class="function">g_function_info_get_flags()</code></a>.</p>
130 <p>See also <a class="link" href="gi-GICallableInfo.html#GICallableInfo" title="GICallableInfo"><span class="type">GICallableInfo</span></a> for information on how to retreive arguments and
131 other metadata.</p>
132 <div class="refsect1">
133 <a name="gi-gifunctioninfo.struct-hierarchy"></a><h2>Struct hierarchy</h2>
134 <pre class="synopsis">
135   <a class="link" href="gi-GIBaseInfo.html" title="GIBaseInfo">GIBaseInfo</a>
136    +----<a class="link" href="gi-GICallableInfo.html" title="GICallableInfo">GICallableInfo</a>
137          +----GIFunctionInfo
138          +----<a class="link" href="gi-GISignalInfo.html" title="GISignalInfo">GISignalInfo</a>
139          +----<a class="link" href="gi-GIVFuncInfo.html" title="GIVFuncInfo">GIVFuncInfo</a>
140 </pre>
141 </div>
142 </div>
143 <div class="refsect1">
144 <a name="gi-GIFunctionInfo.functions_details"></a><h2>Functions</h2>
145 <div class="refsect2">
146 <a name="GI-IS-FUNCTION-INFO:CAPS"></a><h3>GI_IS_FUNCTION_INFO()</h3>
147 <pre class="programlisting">#define             GI_IS_FUNCTION_INFO(info)</pre>
148 <p>Checks if <em class="parameter"><code>info</code></em>
149  is a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>.</p>
150 <div class="refsect3">
151 <a name="GI-IS-FUNCTION-INFO.parameters"></a><h4>Parameters</h4>
152 <div class="informaltable"><table class="informaltable" width="100%" border="0">
153 <colgroup>
154 <col width="150px" class="parameters_name">
155 <col class="parameters_description">
156 <col width="200px" class="parameters_annotations">
157 </colgroup>
158 <tbody><tr>
159 <td class="parameter_name"><p>info</p></td>
160 <td class="parameter_description"><p>an info structure</p></td>
161 <td class="parameter_annotations"> </td>
162 </tr></tbody>
163 </table></div>
164 </div>
165 </div>
166 <hr>
167 <div class="refsect2">
168 <a name="g-function-info-get-flags"></a><h3>g_function_info_get_flags ()</h3>
169 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfoFlags" title="enum GIFunctionInfoFlags"><span class="returnvalue">GIFunctionInfoFlags</span></a>
170 g_function_info_get_flags (<em class="parameter"><code><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> *info</code></em>);</pre>
171 <p>Obtain the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfoFlags" title="enum GIFunctionInfoFlags"><span class="type">GIFunctionInfoFlags</span></a> for the <em class="parameter"><code>info</code></em>
172 .</p>
173 <div class="refsect3">
174 <a name="g-function-info-get-flags.parameters"></a><h4>Parameters</h4>
175 <div class="informaltable"><table class="informaltable" width="100%" border="0">
176 <colgroup>
177 <col width="150px" class="parameters_name">
178 <col class="parameters_description">
179 <col width="200px" class="parameters_annotations">
180 </colgroup>
181 <tbody><tr>
182 <td class="parameter_name"><p>info</p></td>
183 <td class="parameter_description"><p>a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p></td>
184 <td class="parameter_annotations"> </td>
185 </tr></tbody>
186 </table></div>
187 </div>
188 <div class="refsect3">
189 <a name="g-function-info-get-flags.returns"></a><h4>Returns</h4>
190 <p> the flags</p>
191 </div>
192 </div>
193 <hr>
194 <div class="refsect2">
195 <a name="g-function-info-get-property"></a><h3>g_function_info_get_property ()</h3>
196 <pre class="programlisting"><a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
197 g_function_info_get_property (<em class="parameter"><code><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> *info</code></em>);</pre>
198 <p>Obtain the property associated with this <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>.
199 Only <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> with the flag <a class="link" href="gi-GIFunctionInfo.html#GI-FUNCTION-IS-GETTER:CAPS"><code class="literal">GI_FUNCTION_IS_GETTER</code></a> or
200 <a class="link" href="gi-GIFunctionInfo.html#GI-FUNCTION-IS-SETTER:CAPS"><code class="literal">GI_FUNCTION_IS_SETTER</code></a> have a property set. For other cases,
201 <code class="literal">NULL</code> will be returned.</p>
202 <div class="refsect3">
203 <a name="g-function-info-get-property.parameters"></a><h4>Parameters</h4>
204 <div class="informaltable"><table class="informaltable" width="100%" border="0">
205 <colgroup>
206 <col width="150px" class="parameters_name">
207 <col class="parameters_description">
208 <col width="200px" class="parameters_annotations">
209 </colgroup>
210 <tbody><tr>
211 <td class="parameter_name"><p>info</p></td>
212 <td class="parameter_description"><p>a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p></td>
213 <td class="parameter_annotations"> </td>
214 </tr></tbody>
215 </table></div>
216 </div>
217 <div class="refsect3">
218 <a name="g-function-info-get-property.returns"></a><h4>Returns</h4>
219 <p>the property or <code class="literal">NULL</code> if not set. Free it with
220 <a class="link" href="gi-GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
221 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
222 </div>
223 </div>
224 <hr>
225 <div class="refsect2">
226 <a name="g-function-info-get-symbol"></a><h3>g_function_info_get_symbol ()</h3>
227 <pre class="programlisting">const <span class="returnvalue">gchar</span> *
228 g_function_info_get_symbol (<em class="parameter"><code><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> *info</code></em>);</pre>
229 <p>Obtain the symbol of the function. The symbol is the name of the
230 exported function, suitable to be used as an argument to
231 <code class="function">g_module_symbol()</code>.</p>
232 <div class="refsect3">
233 <a name="g-function-info-get-symbol.parameters"></a><h4>Parameters</h4>
234 <div class="informaltable"><table class="informaltable" width="100%" border="0">
235 <colgroup>
236 <col width="150px" class="parameters_name">
237 <col class="parameters_description">
238 <col width="200px" class="parameters_annotations">
239 </colgroup>
240 <tbody><tr>
241 <td class="parameter_name"><p>info</p></td>
242 <td class="parameter_description"><p>a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p></td>
243 <td class="parameter_annotations"> </td>
244 </tr></tbody>
245 </table></div>
246 </div>
247 <div class="refsect3">
248 <a name="g-function-info-get-symbol.returns"></a><h4>Returns</h4>
249 <p> the symbol</p>
250 </div>
251 </div>
252 <hr>
253 <div class="refsect2">
254 <a name="g-function-info-get-vfunc"></a><h3>g_function_info_get_vfunc ()</h3>
255 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
256 g_function_info_get_vfunc (<em class="parameter"><code><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> *info</code></em>);</pre>
257 <p>Obtain the virtual function associated with this <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>.
258 Only <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> with the flag <a class="link" href="gi-GIFunctionInfo.html#GI-FUNCTION-WRAPS-VFUNC:CAPS"><code class="literal">GI_FUNCTION_WRAPS_VFUNC</code></a> has
259 a virtual function set. For other cases, <code class="literal">NULL</code> will be returned.</p>
260 <div class="refsect3">
261 <a name="g-function-info-get-vfunc.parameters"></a><h4>Parameters</h4>
262 <div class="informaltable"><table class="informaltable" width="100%" border="0">
263 <colgroup>
264 <col width="150px" class="parameters_name">
265 <col class="parameters_description">
266 <col width="200px" class="parameters_annotations">
267 </colgroup>
268 <tbody><tr>
269 <td class="parameter_name"><p>info</p></td>
270 <td class="parameter_description"><p>a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p></td>
271 <td class="parameter_annotations"> </td>
272 </tr></tbody>
273 </table></div>
274 </div>
275 <div class="refsect3">
276 <a name="g-function-info-get-vfunc.returns"></a><h4>Returns</h4>
277 <p>the virtual function or <code class="literal">NULL</code> if not set.
278 Free it by calling <a class="link" href="gi-GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
279 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
280 </div>
281 </div>
282 <hr>
283 <div class="refsect2">
284 <a name="g-function-info-invoke"></a><h3>g_function_info_invoke ()</h3>
285 <pre class="programlisting"><span class="returnvalue">gboolean</span>
286 g_function_info_invoke (<em class="parameter"><code><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> *info</code></em>,
287                         <em class="parameter"><code>const <a class="link" href="gi-common-types.html#GIArgument" title="GIArgument"><span class="type">GIArgument</span></a> *in_args</code></em>,
288                         <em class="parameter"><code><span class="type">int</span> n_in_args</code></em>,
289                         <em class="parameter"><code>const <a class="link" href="gi-common-types.html#GIArgument" title="GIArgument"><span class="type">GIArgument</span></a> *out_args</code></em>,
290                         <em class="parameter"><code><span class="type">int</span> n_out_args</code></em>,
291                         <em class="parameter"><code><a class="link" href="gi-common-types.html#GIArgument" title="GIArgument"><span class="type">GIArgument</span></a> *return_value</code></em>,
292                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
293 <p>Invokes the function described in <em class="parameter"><code>info</code></em>
294  with the given
295 arguments. Note that inout parameters must appear in both
296 argument lists. This function uses <code class="function">dlsym()</code> to obtain a pointer
297 to the function, so the library or shared object containing the
298 described function must either be linked to the caller, or must
299 have been <code class="function">g_module_symbol()</code>ed before calling this function.</p>
300 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
301 <div class="refsect3">
302 <a name="g-function-info-invoke.parameters"></a><h4>Parameters</h4>
303 <div class="informaltable"><table class="informaltable" width="100%" border="0">
304 <colgroup>
305 <col width="150px" class="parameters_name">
306 <col class="parameters_description">
307 <col width="200px" class="parameters_annotations">
308 </colgroup>
309 <tbody>
310 <tr>
311 <td class="parameter_name"><p>info</p></td>
312 <td class="parameter_description"><p>a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> describing the function to invoke</p></td>
313 <td class="parameter_annotations"> </td>
314 </tr>
315 <tr>
316 <td class="parameter_name"><p>in_args</p></td>
317 <td class="parameter_description"><p>an array of <a class="link" href="gi-common-types.html#GIArgument" title="GIArgument"><span class="type">GIArgument</span></a>s, one for each in
318 parameter of <em class="parameter"><code>info</code></em>
319 . If there are no in parameter, <em class="parameter"><code>in_args</code></em>
320 can be <code class="literal">NULL</code>. </p></td>
321 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_in_args]</span></td>
322 </tr>
323 <tr>
324 <td class="parameter_name"><p>n_in_args</p></td>
325 <td class="parameter_description"><p>the length of the <em class="parameter"><code>in_args</code></em>
326 array</p></td>
327 <td class="parameter_annotations"> </td>
328 </tr>
329 <tr>
330 <td class="parameter_name"><p>out_args</p></td>
331 <td class="parameter_description"><p>an array of <a class="link" href="gi-common-types.html#GIArgument" title="GIArgument"><span class="type">GIArgument</span></a>s, one for each out
332 parameter of <em class="parameter"><code>info</code></em>
333 . If there are no out parameters, <em class="parameter"><code>out_args</code></em>
334 may be <code class="literal">NULL</code>. </p></td>
335 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_out_args]</span></td>
336 </tr>
337 <tr>
338 <td class="parameter_name"><p>n_out_args</p></td>
339 <td class="parameter_description"><p>the length of the <em class="parameter"><code>out_args</code></em>
340 array</p></td>
341 <td class="parameter_annotations"> </td>
342 </tr>
343 <tr>
344 <td class="parameter_name"><p>return_value</p></td>
345 <td class="parameter_description"><p>return location for the return value of the
346 function. If the function returns void, <em class="parameter"><code>return_value</code></em>
347 may be
348 <code class="literal">NULL</code></p></td>
349 <td class="parameter_annotations"> </td>
350 </tr>
351 <tr>
352 <td class="parameter_name"><p>error</p></td>
353 <td class="parameter_description"><p>return location for detailed error information, or <code class="literal">NULL</code></p></td>
354 <td class="parameter_annotations"> </td>
355 </tr>
356 </tbody>
357 </table></div>
358 </div>
359 <div class="refsect3">
360 <a name="g-function-info-invoke.returns"></a><h4>Returns</h4>
361 <p> <code class="literal">TRUE</code> if the function has been invoked, <code class="literal">FALSE</code> if an
362 error occurred.</p>
363 </div>
364 </div>
365 <hr>
366 <div class="refsect2">
367 <a name="g-invoke-error-quark"></a><h3>g_invoke_error_quark ()</h3>
368 <pre class="programlisting"><span class="returnvalue">GQuark</span>
369 g_invoke_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
370 <p>TODO</p>
371 <div class="refsect3">
372 <a name="g-invoke-error-quark.returns"></a><h4>Returns</h4>
373 <p> TODO</p>
374 </div>
375 </div>
376 </div>
377 <div class="refsect1">
378 <a name="gi-GIFunctionInfo.other_details"></a><h2>Types and Values</h2>
379 <div class="refsect2">
380 <a name="GIFunctionInfo"></a><h3>GIFunctionInfo</h3>
381 <pre class="programlisting">typedef GIBaseInfo GIFunctionInfo;
382 </pre>
383 <p>Represents a function, eg arguments and return value.</p>
384 </div>
385 <hr>
386 <div class="refsect2">
387 <a name="GIFunctionInfoFlags"></a><h3>enum GIFunctionInfoFlags</h3>
388 <p>Flags for a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> struct.</p>
389 <div class="refsect3">
390 <a name="GIFunctionInfoFlags.members"></a><h4>Members</h4>
391 <div class="informaltable"><table class="informaltable" width="100%" border="0">
392 <colgroup>
393 <col width="300px" class="enum_members_name">
394 <col class="enum_members_description">
395 <col width="200px" class="enum_members_annotations">
396 </colgroup>
397 <tbody>
398 <tr>
399 <td class="enum_member_name"><p><a name="GI-FUNCTION-IS-METHOD:CAPS"></a>GI_FUNCTION_IS_METHOD</p></td>
400 <td class="enum_member_description">
401 <p>is a method.</p>
402 </td>
403 <td class="enum_member_annotations"> </td>
404 </tr>
405 <tr>
406 <td class="enum_member_name"><p><a name="GI-FUNCTION-IS-CONSTRUCTOR:CAPS"></a>GI_FUNCTION_IS_CONSTRUCTOR</p></td>
407 <td class="enum_member_description">
408 <p>is a constructor.</p>
409 </td>
410 <td class="enum_member_annotations"> </td>
411 </tr>
412 <tr>
413 <td class="enum_member_name"><p><a name="GI-FUNCTION-IS-GETTER:CAPS"></a>GI_FUNCTION_IS_GETTER</p></td>
414 <td class="enum_member_description">
415 <p>is a getter of a <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="type">GIPropertyInfo</span></a>.</p>
416 </td>
417 <td class="enum_member_annotations"> </td>
418 </tr>
419 <tr>
420 <td class="enum_member_name"><p><a name="GI-FUNCTION-IS-SETTER:CAPS"></a>GI_FUNCTION_IS_SETTER</p></td>
421 <td class="enum_member_description">
422 <p>is a setter of a <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="type">GIPropertyInfo</span></a>.</p>
423 </td>
424 <td class="enum_member_annotations"> </td>
425 </tr>
426 <tr>
427 <td class="enum_member_name"><p><a name="GI-FUNCTION-WRAPS-VFUNC:CAPS"></a>GI_FUNCTION_WRAPS_VFUNC</p></td>
428 <td class="enum_member_description">
429 <p>represents a virtual function.</p>
430 </td>
431 <td class="enum_member_annotations"> </td>
432 </tr>
433 <tr>
434 <td class="enum_member_name"><p><a name="GI-FUNCTION-THROWS:CAPS"></a>GI_FUNCTION_THROWS</p></td>
435 <td class="enum_member_description">
436 <p>the function may throw an error.</p>
437 </td>
438 <td class="enum_member_annotations"> </td>
439 </tr>
440 </tbody>
441 </table></div>
442 </div>
443 </div>
444 <hr>
445 <div class="refsect2">
446 <a name="G-INVOKE-ERROR:CAPS"></a><h3>G_INVOKE_ERROR</h3>
447 <pre class="programlisting">#define G_INVOKE_ERROR (g_invoke_error_quark ())
448 </pre>
449 <p>TODO</p>
450 </div>
451 <hr>
452 <div class="refsect2">
453 <a name="GInvokeError"></a><h3>enum GInvokeError</h3>
454 <p>An error occuring while invoking a function via
455 <a class="link" href="gi-GIFunctionInfo.html#g-function-info-invoke" title="g_function_info_invoke ()"><code class="function">g_function_info_invoke()</code></a>.</p>
456 <div class="refsect3">
457 <a name="GInvokeError.members"></a><h4>Members</h4>
458 <div class="informaltable"><table class="informaltable" width="100%" border="0">
459 <colgroup>
460 <col width="300px" class="enum_members_name">
461 <col class="enum_members_description">
462 <col width="200px" class="enum_members_annotations">
463 </colgroup>
464 <tbody>
465 <tr>
466 <td class="enum_member_name"><p><a name="G-INVOKE-ERROR-FAILED:CAPS"></a>G_INVOKE_ERROR_FAILED</p></td>
467 <td class="enum_member_description">
468 <p>invokation failed, unknown error.</p>
469 </td>
470 <td class="enum_member_annotations"> </td>
471 </tr>
472 <tr>
473 <td class="enum_member_name"><p><a name="G-INVOKE-ERROR-SYMBOL-NOT-FOUND:CAPS"></a>G_INVOKE_ERROR_SYMBOL_NOT_FOUND</p></td>
474 <td class="enum_member_description">
475 <p>symbol couldn't be found in any of the
476 libraries associated with the typelib of the function.</p>
477 </td>
478 <td class="enum_member_annotations"> </td>
479 </tr>
480 <tr>
481 <td class="enum_member_name"><p><a name="G-INVOKE-ERROR-ARGUMENT-MISMATCH:CAPS"></a>G_INVOKE_ERROR_ARGUMENT_MISMATCH</p></td>
482 <td class="enum_member_description">
483 <p>the arguments provided didn't match
484 the expected arguments for the functions type signature.</p>
485 </td>
486 <td class="enum_member_annotations"> </td>
487 </tr>
488 </tbody>
489 </table></div>
490 </div>
491 </div>
492 </div>
493 </div>
494 <div class="footer">
495 <hr>Generated by GTK-Doc V1.28.1</div>
496 </body>
497 </html>