summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_vfunc_using_interfaces.page
blob: 02d47011cbc261aadac0d665a588595f1c8d661a (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0"?>

<page id="GIRepository.object_info_find_vfunc_using_interfaces"
      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_object_info_find_vfunc_using_interfaces</api:name>
      <api:arg>
        <api:type>GIObjectInfo*</api:type>
        <api:name>info</api:name>
      </api:arg>
      <api:arg>
        <api:type>gchar*</api:type>
        <api:name>name</api:name>
      </api:arg>
      <api:arg>
        <api:type>GIObjectInfo**</api:type>
        <api:name>implementor</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>g_object_info_find_vfunc_using_interfaces</title>
<synopsis><code mime="text/x-csrc">
GIVFuncInfo* g_object_info_find_vfunc_using_interfaces (GIObjectInfo* info,
                                                        gchar* name,
                                                        GIObjectInfo** implementor);
</code></synopsis>
<p>Locate a virtual function slot with name @name, searching both the object
@info and any interfaces it implements.  Note that the namespace for
virtuals is distinct from that of methods; there may or may not be a
concrete method associated for a virtual. If there is one, it may be
retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
returned.</p><p>Note that this function does *not* search parent classes; you will have
to chain up if that's desired.</p><p>g_base_info_unref() when done.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
</tr>
<tr>
<td><p>name :</p></td>
<td><p>name of method to obtain</p></td>
</tr>
<tr>
<td><p>implementor :</p></td>
<td><p>The implementor of the interface</p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
</tr>
</table>
</page>