rsvg2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +35 -0
- data/Rakefile +69 -0
- data/ext/rsvg2/depend +6 -0
- data/ext/rsvg2/extconf.rb +89 -0
- data/ext/rsvg2/rbrsvg.c +206 -0
- data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
- data/ext/rsvg2/rbrsvghandle.c +496 -0
- data/ext/rsvg2/rsvg2.def +2 -0
- data/ext/rsvg2/rsvg2.h +70 -0
- data/extconf.rb +49 -0
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/rsvg2.rb +33 -0
- data/sample/svg-viewer.rb +44 -0
- data/sample/svg2.rb +60 -0
- data/test/rsvg2-test-utils.rb +23 -0
- data/test/run-test.rb +49 -0
- data/test/test-handle.rb +91 -0
- data/vendor/local/bin/croco-0.6-config +87 -0
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +41 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +41 -0
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- data/vendor/local/share/license/libcroco/AUTHORS +13 -0
- data/vendor/local/share/license/libcroco/COPYING +481 -0
- data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
- data/vendor/local/share/license/librsvg/AUTHORS +1 -0
- data/vendor/local/share/license/librsvg/COPYING +340 -0
- data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
- data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
- metadata +209 -0
@@ -0,0 +1,205 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>cr-parsing-location</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
|
+
<link rel="prev" href="libcroco-cr-parser.html" title="cr-parser">
|
10
|
+
<link rel="next" href="libcroco-cr-prop-list.html" title="cr-prop-list">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="libcroco-cr-parser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Libcroco Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="libcroco-cr-prop-list.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#libcroco-cr-parsing-location.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-parsing-location.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-parsing-location"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="libcroco-cr-parsing-location.top_of_page"></a>cr-parsing-location</span></h2>
|
34
|
+
<p>cr-parsing-location</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-parsing-location.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">struct <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation">CRParsingLocation</a>;
|
41
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-copy" title="cr_parsing_location_copy ()">cr_parsing_location_copy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_to</code></em>,
|
42
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_from</code></em>);
|
43
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-destroy" title="cr_parsing_location_destroy ()">cr_parsing_location_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_this</code></em>);
|
44
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-dump" title="cr_parsing_location_dump ()">cr_parsing_location_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
45
|
+
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>,
|
46
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
47
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-init" title="cr_parsing_location_init ()">cr_parsing_location_init</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_this</code></em>);
|
48
|
+
<a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="returnvalue">CRParsingLocation</span></a> * <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-new" title="cr_parsing_location_new ()">cr_parsing_location_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-to-string" title="cr_parsing_location_to_string ()">cr_parsing_location_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>);
|
51
|
+
</pre>
|
52
|
+
</div>
|
53
|
+
<div class="refsect1">
|
54
|
+
<a name="libcroco-cr-parsing-location.description"></a><h2>Description</h2>
|
55
|
+
<p>
|
56
|
+
</p>
|
57
|
+
</div>
|
58
|
+
<div class="refsect1">
|
59
|
+
<a name="libcroco-cr-parsing-location.details"></a><h2>Details</h2>
|
60
|
+
<div class="refsect2">
|
61
|
+
<a name="CRParsingLocation"></a><h3>struct CRParsingLocation</h3>
|
62
|
+
<pre class="programlisting">struct CRParsingLocation {
|
63
|
+
guint line ;
|
64
|
+
guint column ;
|
65
|
+
guint byte_offset ;
|
66
|
+
};
|
67
|
+
</pre>
|
68
|
+
<p>
|
69
|
+
</p>
|
70
|
+
</div>
|
71
|
+
<hr>
|
72
|
+
<div class="refsect2">
|
73
|
+
<a name="cr-parsing-location-copy"></a><h3>cr_parsing_location_copy ()</h3>
|
74
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parsing_location_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_to</code></em>,
|
75
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_from</code></em>);</pre>
|
76
|
+
<p>
|
77
|
+
Copies an instance of CRParsingLocation into another one.
|
78
|
+
</p>
|
79
|
+
<div class="variablelist"><table border="0">
|
80
|
+
<col align="left" valign="top">
|
81
|
+
<tbody>
|
82
|
+
<tr>
|
83
|
+
<td><p><span class="term"><em class="parameter"><code>a_to</code></em> :</span></p></td>
|
84
|
+
<td>the destination of the copy.
|
85
|
+
Must be allocated by the caller.</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td><p><span class="term"><em class="parameter"><code>a_from</code></em> :</span></p></td>
|
89
|
+
<td>the source of the copy.</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
93
|
+
<td>CR_OK upon succesful completion, an error code
|
94
|
+
otherwise.</td>
|
95
|
+
</tr>
|
96
|
+
</tbody>
|
97
|
+
</table></div>
|
98
|
+
</div>
|
99
|
+
<hr>
|
100
|
+
<div class="refsect2">
|
101
|
+
<a name="cr-parsing-location-destroy"></a><h3>cr_parsing_location_destroy ()</h3>
|
102
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_parsing_location_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_this</code></em>);</pre>
|
103
|
+
<p>
|
104
|
+
Destroys the current instance of <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>
|
105
|
+
</p>
|
106
|
+
<div class="variablelist"><table border="0">
|
107
|
+
<col align="left" valign="top">
|
108
|
+
<tbody><tr>
|
109
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
110
|
+
<td>the current instance of <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>. Must
|
111
|
+
have been allocated with <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-new" title="cr_parsing_location_new ()"><code class="function">cr_parsing_location_new()</code></a>.</td>
|
112
|
+
</tr></tbody>
|
113
|
+
</table></div>
|
114
|
+
</div>
|
115
|
+
<hr>
|
116
|
+
<div class="refsect2">
|
117
|
+
<a name="cr-parsing-location-dump"></a><h3>cr_parsing_location_dump ()</h3>
|
118
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_parsing_location_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
119
|
+
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>,
|
120
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);</pre>
|
121
|
+
<div class="variablelist"><table border="0">
|
122
|
+
<col align="left" valign="top">
|
123
|
+
<tbody>
|
124
|
+
<tr>
|
125
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
126
|
+
<td>current instance of <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>
|
127
|
+
</td>
|
128
|
+
</tr>
|
129
|
+
<tr>
|
130
|
+
<td><p><span class="term"><em class="parameter"><code>a_mask</code></em> :</span></p></td>
|
131
|
+
<td>the serialization mask.</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td><p><span class="term"><em class="parameter"><code>a_fp</code></em> :</span></p></td>
|
135
|
+
<td>the file pointer to dump the parsing location to.</td>
|
136
|
+
</tr>
|
137
|
+
</tbody>
|
138
|
+
</table></div>
|
139
|
+
</div>
|
140
|
+
<hr>
|
141
|
+
<div class="refsect2">
|
142
|
+
<a name="cr-parsing-location-init"></a><h3>cr_parsing_location_init ()</h3>
|
143
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parsing_location_init (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_this</code></em>);</pre>
|
144
|
+
<p>
|
145
|
+
Initializes the an instance of <span class="type">CRparsingLocation</span>.
|
146
|
+
</p>
|
147
|
+
<div class="variablelist"><table border="0">
|
148
|
+
<col align="left" valign="top">
|
149
|
+
<tbody>
|
150
|
+
<tr>
|
151
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
152
|
+
<td>the current instance of <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>.</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
156
|
+
<td>CR_OK upon succesful completion, an error code otherwise.</td>
|
157
|
+
</tr>
|
158
|
+
</tbody>
|
159
|
+
</table></div>
|
160
|
+
</div>
|
161
|
+
<hr>
|
162
|
+
<div class="refsect2">
|
163
|
+
<a name="cr-parsing-location-new"></a><h3>cr_parsing_location_new ()</h3>
|
164
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="returnvalue">CRParsingLocation</span></a> * cr_parsing_location_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
165
|
+
<div class="variablelist"><table border="0">
|
166
|
+
<col align="left" valign="top">
|
167
|
+
<tbody><tr>
|
168
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
169
|
+
<td>the newly instanciated <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>.
|
170
|
+
Must be freed by <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-destroy" title="cr_parsing_location_destroy ()"><code class="function">cr_parsing_location_destroy()</code></a>
|
171
|
+
</td>
|
172
|
+
</tr></tbody>
|
173
|
+
</table></div>
|
174
|
+
</div>
|
175
|
+
<hr>
|
176
|
+
<div class="refsect2">
|
177
|
+
<a name="cr-parsing-location-to-string"></a><h3>cr_parsing_location_to_string ()</h3>
|
178
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_parsing_location_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
179
|
+
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>);</pre>
|
180
|
+
<div class="variablelist"><table border="0">
|
181
|
+
<col align="left" valign="top">
|
182
|
+
<tbody>
|
183
|
+
<tr>
|
184
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
185
|
+
<td>the current instance of <a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a>.</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td><p><span class="term"><em class="parameter"><code>a_mask</code></em> :</span></p></td>
|
189
|
+
<td>a bitmap that defines which parts of the
|
190
|
+
parsing location are to be serialized (line, column or byte offset)</td>
|
191
|
+
</tr>
|
192
|
+
<tr>
|
193
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
194
|
+
<td>the serialized string or NULL in case of an error.</td>
|
195
|
+
</tr>
|
196
|
+
</tbody>
|
197
|
+
</table></div>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
<div class="footer">
|
202
|
+
<hr>
|
203
|
+
Generated by GTK-Doc V1.18</div>
|
204
|
+
</body>
|
205
|
+
</html>
|
@@ -0,0 +1,421 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>cr-prop-list</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
|
+
<link rel="prev" href="libcroco-cr-parsing-location.html" title="cr-parsing-location">
|
10
|
+
<link rel="next" href="libcroco-cr-pseudo.html" title="cr-pseudo">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="libcroco-cr-parsing-location.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Libcroco Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="libcroco-cr-pseudo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#libcroco-cr-prop-list.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-prop-list.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-prop-list"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="libcroco-cr-prop-list.top_of_page"></a>cr-prop-list</span></h2>
|
34
|
+
<p>cr-prop-list</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-prop-list.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">struct <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList">CRPropList</a>;
|
41
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropListPriv" title="CRPropListPriv">CRPropListPriv</a>;
|
42
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-append" title="cr_prop_list_append ()">cr_prop_list_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
43
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_to_append</code></em>);
|
44
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-append2" title="cr_prop_list_append2 ()">cr_prop_list_append2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
45
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-destroy" title="cr_prop_list_destroy ()">cr_prop_list_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);
|
48
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-get-decl" title="cr_prop_list_get_decl ()">cr_prop_list_get_decl</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> const *a_this</code></em>,
|
49
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> **a_decl</code></em>);
|
50
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-get-next" title="cr_prop_list_get_next ()">cr_prop_list_get_next</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);
|
51
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-get-prev" title="cr_prop_list_get_prev ()">cr_prop_list_get_prev</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);
|
52
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-get-prop" title="cr_prop_list_get_prop ()">cr_prop_list_get_prop</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> const *a_this</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_prop</code></em>);
|
54
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-lookup-prop" title="cr_prop_list_lookup_prop ()">cr_prop_list_lookup_prop</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_pair</code></em>);
|
57
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-prepend" title="cr_prop_list_prepend ()">cr_prop_list_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_to_append</code></em>);
|
59
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-prepend2" title="cr_prop_list_prepend2 ()">cr_prop_list_prepend2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);
|
62
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-set-decl" title="cr_prop_list_set_decl ()">cr_prop_list_set_decl</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
63
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);
|
64
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-set-prop" title="cr_prop_list_set_prop ()">cr_prop_list_set_prop</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>);
|
66
|
+
<a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * <a class="link" href="libcroco-cr-prop-list.html#cr-prop-list-unlink" title="cr_prop_list_unlink ()">cr_prop_list_unlink</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_pair</code></em>);
|
68
|
+
</pre>
|
69
|
+
</div>
|
70
|
+
<div class="refsect1">
|
71
|
+
<a name="libcroco-cr-prop-list.description"></a><h2>Description</h2>
|
72
|
+
<p>
|
73
|
+
</p>
|
74
|
+
</div>
|
75
|
+
<div class="refsect1">
|
76
|
+
<a name="libcroco-cr-prop-list.details"></a><h2>Details</h2>
|
77
|
+
<div class="refsect2">
|
78
|
+
<a name="CRPropList"></a><h3>struct CRPropList</h3>
|
79
|
+
<pre class="programlisting">struct CRPropList {
|
80
|
+
CRPropListPriv * priv;
|
81
|
+
};
|
82
|
+
</pre>
|
83
|
+
<p>
|
84
|
+
</p>
|
85
|
+
</div>
|
86
|
+
<hr>
|
87
|
+
<div class="refsect2">
|
88
|
+
<a name="CRPropListPriv"></a><h3>CRPropListPriv</h3>
|
89
|
+
<pre class="programlisting">typedef struct _CRPropListPriv CRPropListPriv;</pre>
|
90
|
+
<p>
|
91
|
+
</p>
|
92
|
+
</div>
|
93
|
+
<hr>
|
94
|
+
<div class="refsect2">
|
95
|
+
<a name="cr-prop-list-append"></a><h3>cr_prop_list_append ()</h3>
|
96
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_append (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
97
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_to_append</code></em>);</pre>
|
98
|
+
<p>
|
99
|
+
Appends a property list to the current one.
|
100
|
+
</p>
|
101
|
+
<div class="variablelist"><table border="0">
|
102
|
+
<col align="left" valign="top">
|
103
|
+
<tbody>
|
104
|
+
<tr>
|
105
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
106
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td><p><span class="term"><em class="parameter"><code>a_to_append</code></em> :</span></p></td>
|
111
|
+
<td>the property list to append</td>
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
115
|
+
<td>the resulting prop list, or NULL if an error
|
116
|
+
occured</td>
|
117
|
+
</tr>
|
118
|
+
</tbody>
|
119
|
+
</table></div>
|
120
|
+
</div>
|
121
|
+
<hr>
|
122
|
+
<div class="refsect2">
|
123
|
+
<a name="cr-prop-list-append2"></a><h3>cr_prop_list_append2 ()</h3>
|
124
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_append2 (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
125
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
126
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);</pre>
|
127
|
+
<div class="variablelist"><table border="0">
|
128
|
+
<col align="left" valign="top">
|
129
|
+
<tbody>
|
130
|
+
<tr>
|
131
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
132
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
|
137
|
+
<td>the property to consider</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td><p><span class="term"><em class="parameter"><code>a_decl</code></em> :</span></p></td>
|
141
|
+
<td>the declaration to consider</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
145
|
+
<td>the resulting property list, or NULL in case
|
146
|
+
of an error.</td>
|
147
|
+
</tr>
|
148
|
+
</tbody>
|
149
|
+
</table></div>
|
150
|
+
</div>
|
151
|
+
<hr>
|
152
|
+
<div class="refsect2">
|
153
|
+
<a name="cr-prop-list-destroy"></a><h3>cr_prop_list_destroy ()</h3>
|
154
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_prop_list_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);</pre>
|
155
|
+
<div class="variablelist"><table border="0">
|
156
|
+
<col align="left" valign="top">
|
157
|
+
<tbody><tr>
|
158
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
159
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
160
|
+
</td>
|
161
|
+
</tr></tbody>
|
162
|
+
</table></div>
|
163
|
+
</div>
|
164
|
+
<hr>
|
165
|
+
<div class="refsect2">
|
166
|
+
<a name="cr-prop-list-get-decl"></a><h3>cr_prop_list_get_decl ()</h3>
|
167
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_prop_list_get_decl (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> const *a_this</code></em>,
|
168
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> **a_decl</code></em>);</pre>
|
169
|
+
<div class="variablelist"><table border="0">
|
170
|
+
<col align="left" valign="top">
|
171
|
+
<tbody>
|
172
|
+
<tr>
|
173
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
174
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
175
|
+
</td>
|
176
|
+
</tr>
|
177
|
+
<tr>
|
178
|
+
<td><p><span class="term"><em class="parameter"><code>a_decl</code></em> :</span></p></td>
|
179
|
+
<td>out parameter. The property value</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
183
|
+
<td>CR_OK upon successful completion.</td>
|
184
|
+
</tr>
|
185
|
+
</tbody>
|
186
|
+
</table></div>
|
187
|
+
</div>
|
188
|
+
<hr>
|
189
|
+
<div class="refsect2">
|
190
|
+
<a name="cr-prop-list-get-next"></a><h3>cr_prop_list_get_next ()</h3>
|
191
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_get_next (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);</pre>
|
192
|
+
<p>
|
193
|
+
Gets the next prop/decl pair in the list
|
194
|
+
</p>
|
195
|
+
<div class="variablelist"><table border="0">
|
196
|
+
<col align="left" valign="top">
|
197
|
+
<tbody>
|
198
|
+
<tr>
|
199
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
200
|
+
<td>the current instance of CRPropList</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
204
|
+
<td>the next prop/declaration pair of the list,
|
205
|
+
or NULL if we reached end of list (or if an error occurs)</td>
|
206
|
+
</tr>
|
207
|
+
</tbody>
|
208
|
+
</table></div>
|
209
|
+
</div>
|
210
|
+
<hr>
|
211
|
+
<div class="refsect2">
|
212
|
+
<a name="cr-prop-list-get-prev"></a><h3>cr_prop_list_get_prev ()</h3>
|
213
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_get_prev (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>);</pre>
|
214
|
+
<p>
|
215
|
+
Gets the previous prop/decl pair in the list
|
216
|
+
</p>
|
217
|
+
<div class="variablelist"><table border="0">
|
218
|
+
<col align="left" valign="top">
|
219
|
+
<tbody>
|
220
|
+
<tr>
|
221
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
222
|
+
<td>the current instance of CRPropList</td>
|
223
|
+
</tr>
|
224
|
+
<tr>
|
225
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
226
|
+
<td>the previous prop/declaration pair of the list,
|
227
|
+
or NULL if we reached end of list (or if an error occurs)</td>
|
228
|
+
</tr>
|
229
|
+
</tbody>
|
230
|
+
</table></div>
|
231
|
+
</div>
|
232
|
+
<hr>
|
233
|
+
<div class="refsect2">
|
234
|
+
<a name="cr-prop-list-get-prop"></a><h3>cr_prop_list_get_prop ()</h3>
|
235
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_prop_list_get_prop (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> const *a_this</code></em>,
|
236
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_prop</code></em>);</pre>
|
237
|
+
<p>
|
238
|
+
Getter of the property associated to the current instance
|
239
|
+
of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
240
|
+
</p>
|
241
|
+
<div class="variablelist"><table border="0">
|
242
|
+
<col align="left" valign="top">
|
243
|
+
<tbody>
|
244
|
+
<tr>
|
245
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
246
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
247
|
+
</td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
|
251
|
+
<td>out parameter. The returned property</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
255
|
+
<td>CR_OK upon successful completion, an error code
|
256
|
+
otherwise.</td>
|
257
|
+
</tr>
|
258
|
+
</tbody>
|
259
|
+
</table></div>
|
260
|
+
</div>
|
261
|
+
<hr>
|
262
|
+
<div class="refsect2">
|
263
|
+
<a name="cr-prop-list-lookup-prop"></a><h3>cr_prop_list_lookup_prop ()</h3>
|
264
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_prop_list_lookup_prop (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
265
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
266
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_pair</code></em>);</pre>
|
267
|
+
<p>
|
268
|
+
Lookup a given property/declaration pair
|
269
|
+
</p>
|
270
|
+
<div class="variablelist"><table border="0">
|
271
|
+
<col align="left" valign="top">
|
272
|
+
<tbody>
|
273
|
+
<tr>
|
274
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
275
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
|
280
|
+
<td>the property to lookup</td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
284
|
+
<td>CR_OK if a prop/decl pair has been found,
|
285
|
+
CR_VALUE_NOT_FOUND_ERROR if not, or an error code if something
|
286
|
+
bad happens.</td>
|
287
|
+
</tr>
|
288
|
+
</tbody>
|
289
|
+
</table></div>
|
290
|
+
</div>
|
291
|
+
<hr>
|
292
|
+
<div class="refsect2">
|
293
|
+
<a name="cr-prop-list-prepend"></a><h3>cr_prop_list_prepend ()</h3>
|
294
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
295
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_to_append</code></em>);</pre>
|
296
|
+
<p>
|
297
|
+
Prepends a list to the current list
|
298
|
+
</p>
|
299
|
+
<div class="variablelist"><table border="0">
|
300
|
+
<col align="left" valign="top">
|
301
|
+
<tbody>
|
302
|
+
<tr>
|
303
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
304
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
305
|
+
</td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
309
|
+
<td>the new properties list.</td>
|
310
|
+
</tr>
|
311
|
+
</tbody>
|
312
|
+
</table></div>
|
313
|
+
</div>
|
314
|
+
<hr>
|
315
|
+
<div class="refsect2">
|
316
|
+
<a name="cr-prop-list-prepend2"></a><h3>cr_prop_list_prepend2 ()</h3>
|
317
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_prepend2 (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
318
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>,
|
319
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);</pre>
|
320
|
+
<p>
|
321
|
+
Prepends a propertie to a list of properties
|
322
|
+
</p>
|
323
|
+
<div class="variablelist"><table border="0">
|
324
|
+
<col align="left" valign="top">
|
325
|
+
<tbody>
|
326
|
+
<tr>
|
327
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
328
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
<tr>
|
332
|
+
<td><p><span class="term"><em class="parameter"><code>a_decl</code></em> :</span></p></td>
|
333
|
+
<td>the property value to append.</td>
|
334
|
+
</tr>
|
335
|
+
<tr>
|
336
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
337
|
+
<td>the new property list.</td>
|
338
|
+
</tr>
|
339
|
+
</tbody>
|
340
|
+
</table></div>
|
341
|
+
</div>
|
342
|
+
<hr>
|
343
|
+
<div class="refsect2">
|
344
|
+
<a name="cr-prop-list-set-decl"></a><h3>cr_prop_list_set_decl ()</h3>
|
345
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_prop_list_set_decl (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
346
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);</pre>
|
347
|
+
<div class="variablelist"><table border="0">
|
348
|
+
<col align="left" valign="top">
|
349
|
+
<tbody>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
352
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
353
|
+
</td>
|
354
|
+
</tr>
|
355
|
+
<tr>
|
356
|
+
<td><p><span class="term"><em class="parameter"><code>a_decl</code></em> :</span></p></td>
|
357
|
+
<td>the new property value.</td>
|
358
|
+
</tr>
|
359
|
+
<tr>
|
360
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
361
|
+
<td>CR_OK upon successful completion, an error code otherwise.</td>
|
362
|
+
</tr>
|
363
|
+
</tbody>
|
364
|
+
</table></div>
|
365
|
+
</div>
|
366
|
+
<hr>
|
367
|
+
<div class="refsect2">
|
368
|
+
<a name="cr-prop-list-set-prop"></a><h3>cr_prop_list_set_prop ()</h3>
|
369
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_prop_list_set_prop (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
370
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_prop</code></em>);</pre>
|
371
|
+
<p>
|
372
|
+
Sets the property of a CRPropList
|
373
|
+
</p>
|
374
|
+
<div class="variablelist"><table border="0">
|
375
|
+
<col align="left" valign="top">
|
376
|
+
<tbody>
|
377
|
+
<tr>
|
378
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
379
|
+
<td>the current instance of <a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a>
|
380
|
+
</td>
|
381
|
+
</tr>
|
382
|
+
<tr>
|
383
|
+
<td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
|
384
|
+
<td>the property to set</td>
|
385
|
+
</tr>
|
386
|
+
</tbody>
|
387
|
+
</table></div>
|
388
|
+
</div>
|
389
|
+
<hr>
|
390
|
+
<div class="refsect2">
|
391
|
+
<a name="cr-prop-list-unlink"></a><h3>cr_prop_list_unlink ()</h3>
|
392
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="returnvalue">CRPropList</span></a> * cr_prop_list_unlink (<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_this</code></em>,
|
393
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> *a_pair</code></em>);</pre>
|
394
|
+
<p>
|
395
|
+
Unlinks a prop/decl pair from the list
|
396
|
+
</p>
|
397
|
+
<div class="variablelist"><table border="0">
|
398
|
+
<col align="left" valign="top">
|
399
|
+
<tbody>
|
400
|
+
<tr>
|
401
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
402
|
+
<td>the current list of prop/decl pairs</td>
|
403
|
+
</tr>
|
404
|
+
<tr>
|
405
|
+
<td><p><span class="term"><em class="parameter"><code>a_pair</code></em> :</span></p></td>
|
406
|
+
<td>the prop/decl pair to unlink.</td>
|
407
|
+
</tr>
|
408
|
+
<tr>
|
409
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
410
|
+
<td>the new list or NULL in case of an error.</td>
|
411
|
+
</tr>
|
412
|
+
</tbody>
|
413
|
+
</table></div>
|
414
|
+
</div>
|
415
|
+
</div>
|
416
|
+
</div>
|
417
|
+
<div class="footer">
|
418
|
+
<hr>
|
419
|
+
Generated by GTK-Doc V1.18</div>
|
420
|
+
</body>
|
421
|
+
</html>
|