summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
blob: 255ca009d777537f886f17c0d34c8906d37a08ee (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
<?xml version="1.0"?>

<page id="GIRepository.BaseInfo.equal"
      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="GIRepository.BaseInfo" group="function"/>
    <api:function>
      <api:returns>
        <api:type>gboolean</api:type>
      </api:returns>
      <api:name>g_base_info_equal</api:name>
      <api:arg>
        <api:type>GIRepository.BaseInfo</api:type>
        <api:name>info2</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>equal</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.BaseInfo)
@returns(gboolean)
def GIRepository.BaseInfo.equal(info2)
</code></synopsis>
<p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the
TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p>

<table>
<tr>
<td><p>info2 :</p></td>
<td><p>a <link xref="GIBaseInfo">GIBaseInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>%TRUE if and only if @info1 equals @info2.</p></td>
</tr>
</table>
</page>