summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_gtype_struct.page
blob: 7a42b85c7eeefcad249bfe7c9ce77c3e4b417c59 (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.struct_info_is_gtype_struct"
      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>gboolean</api:type>
      </api:returns>
      <api:name>g_struct_info_is_gtype_struct</api:name>
      <api:arg>
        <api:type>GIStructInfo*</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>g_struct_info_is_gtype_struct</title>
<synopsis><code mime="text/x-csrc">
gboolean g_struct_info_is_gtype_struct (GIStructInfo* info);
</code></synopsis>
<p>Return true if this structure represents the "class structure" for some
<link xref="GObject">GObject</link> or <link xref="GInterface">GInterface</link>.  This function is mainly useful to hide this kind of structure
from generated public APIs.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>%TRUE if this is a class struct, %FALSE otherwise</p></td>
</tr>
</table>
</page>