summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_vfunc.page
blob: 7aa703c58ee8f47a5db50eb9c05b5456941c635a (plain)
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
<?xml version="1.0"?>

<page id="GIRepository.function_info_get_vfunc"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/">
  <info>
    <link type="guide" xref="index" group="function"/>
    <api:function>
      <api:returns>
        <api:type>GIVFuncInfo*</api:type>
      </api:returns>
      <api:name>g_function_info_get_vfunc</api:name>
      <api:arg>
        <api:type>GIFunctionInfo*</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>g_function_info_get_vfunc</title>
<synopsis><code mime="text/x-csrc">
GIVFuncInfo* g_function_info_get_vfunc (GIFunctionInfo* info);
</code></synopsis>
<p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIFunctionInfo">GIFunctionInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the virtual function or %NULL if not set.</p></td>
</tr>
</table>
</page>