1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ide-source-range: LibIDE Reference Manual</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="LibIDE Reference Manual">
8
<link rel="up" href="ch10.html" title="Diagnostics">
9
<link rel="prev" href="libide-ide-source-location.html" title="ide-source-location">
10
<link rel="next" href="IdeSymbolResolver.html" title="IdeSymbolResolver">
11
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
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="#libide-ide-source-range.description" class="shortcut">Description</a></span>
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="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
<td><a accesskey="p" href="libide-ide-source-location.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
<td><a accesskey="n" href="IdeSymbolResolver.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
<div class="refentry">
26
<a name="libide-ide-source-range"></a><div class="titlepage"></div>
27
<div class="refnamediv"><table width="100%"><tr>
29
<h2><span class="refentrytitle"><a name="libide-ide-source-range.top_of_page"></a>ide-source-range</span></h2>
30
<p>ide-source-range</p>
32
<td class="gallery_image" valign="top" align="right"></td>
34
<div class="refsect1">
35
<a name="libide-ide-source-range.functions"></a><h2>Functions</h2>
36
<div class="informaltable"><table width="100%" border="0">
38
<col width="150px" class="functions_return">
39
<col class="functions_name">
43
<td class="function_type">
44
<span class="returnvalue">IdeSourceRange</span> *
46
<td class="function_name">
47
<a class="link" href="libide-ide-source-range.html#ide-source-range-ref" title="ide_source_range_ref ()">ide_source_range_ref</a> <span class="c_punctuation">()</span>
51
<td class="function_type">
52
<span class="returnvalue">void</span>
54
<td class="function_name">
55
<a class="link" href="libide-ide-source-range.html#ide-source-range-unref" title="ide_source_range_unref ()">ide_source_range_unref</a> <span class="c_punctuation">()</span>
59
<td class="function_type">
60
<span class="returnvalue">IdeSourceLocation</span> *
62
<td class="function_name">
63
<a class="link" href="libide-ide-source-range.html#ide-source-range-get-begin" title="ide_source_range_get_begin ()">ide_source_range_get_begin</a> <span class="c_punctuation">()</span>
67
<td class="function_type">
68
<span class="returnvalue">IdeSourceLocation</span> *
70
<td class="function_name">
71
<a class="link" href="libide-ide-source-range.html#ide-source-range-get-end" title="ide_source_range_get_end ()">ide_source_range_get_end</a> <span class="c_punctuation">()</span>
77
<div class="refsect1">
78
<a name="libide-ide-source-range.description"></a><h2>Description</h2>
80
<div class="refsect1">
81
<a name="libide-ide-source-range.functions_details"></a><h2>Functions</h2>
82
<div class="refsect2">
83
<a name="ide-source-range-ref"></a><h3>ide_source_range_ref ()</h3>
84
<pre class="programlisting"><span class="returnvalue">IdeSourceRange</span> *
85
ide_source_range_ref (<em class="parameter"><code><span class="type">IdeSourceRange</span> *self</code></em>);</pre>
86
<p>Increments the reference count of <em class="parameter"><code>self</code></em>
87
by one. When you are done with
88
<em class="parameter"><code>self</code></em>
89
, release it by calling <a class="link" href="libide-ide-source-range.html#ide-source-range-unref" title="ide_source_range_unref ()"><code class="function">ide_source_range_unref()</code></a>.</p>
90
<div class="refsect3">
91
<a name="id-1.2.11.8.5.2.5"></a><h4>Parameters</h4>
92
<div class="informaltable"><table width="100%" border="0">
94
<col width="150px" class="parameters_name">
95
<col class="parameters_description">
96
<col width="200px" class="parameters_annotations">
99
<td class="parameter_name"><p>self</p></td>
100
<td class="parameter_description"><p>An <span class="type">IdeSourceRange</span></p></td>
101
<td class="parameter_annotations"> </td>
105
<div class="refsect3">
106
<a name="id-1.2.11.8.5.2.6"></a><h4>Returns</h4>
107
<p> <em class="parameter"><code>self</code></em>
109
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
113
<div class="refsect2">
114
<a name="ide-source-range-unref"></a><h3>ide_source_range_unref ()</h3>
115
<pre class="programlisting"><span class="returnvalue">void</span>
116
ide_source_range_unref (<em class="parameter"><code><span class="type">IdeSourceRange</span> *self</code></em>);</pre>
117
<p>Decrements the reference count of <em class="parameter"><code>self</code></em>
119
<div class="refsect3">
120
<a name="id-1.2.11.8.5.3.5"></a><h4>Parameters</h4>
121
<div class="informaltable"><table width="100%" border="0">
123
<col width="150px" class="parameters_name">
124
<col class="parameters_description">
125
<col width="200px" class="parameters_annotations">
128
<td class="parameter_name"><p>self</p></td>
129
<td class="parameter_description"><p> An <span class="type">IdeSourceRange</span>. </p></td>
130
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
136
<div class="refsect2">
137
<a name="ide-source-range-get-begin"></a><h3>ide_source_range_get_begin ()</h3>
138
<pre class="programlisting"><span class="returnvalue">IdeSourceLocation</span> *
139
ide_source_range_get_begin (<em class="parameter"><code><span class="type">IdeSourceRange</span> *self</code></em>);</pre>
140
<p>Gets the beginning of the source range.</p>
141
<div class="refsect3">
142
<a name="id-1.2.11.8.5.4.5"></a><h4>Returns</h4>
143
<p> An <span class="type">IdeSourceLocation</span>. </p>
144
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
148
<div class="refsect2">
149
<a name="ide-source-range-get-end"></a><h3>ide_source_range_get_end ()</h3>
150
<pre class="programlisting"><span class="returnvalue">IdeSourceLocation</span> *
151
ide_source_range_get_end (<em class="parameter"><code><span class="type">IdeSourceRange</span> *self</code></em>);</pre>
152
<p>Gets the end of the source range.</p>
153
<div class="refsect3">
154
<a name="id-1.2.11.8.5.5.5"></a><h4>Returns</h4>
155
<p> An <span class="type">IdeSourceLocation</span>. </p>
156
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
160
<div class="refsect1">
161
<a name="libide-ide-source-range.other_details"></a><h2>Types and Values</h2>
166
Generated by GTK-Doc V1.21.1</div>
b'\\ No newline at end of file'