rsvg2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/rsvg2/extconf.rb +1 -0
  4. data/lib/2.2/rsvg2.so +0 -0
  5. data/lib/2.3/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +2 -2
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
  12. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
  13. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  14. data/vendor/local/lib/libcroco-0.6.a +0 -0
  15. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  16. data/vendor/local/lib/libcroco-0.6.la +3 -3
  17. data/vendor/local/lib/librsvg-2.a +0 -0
  18. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  19. data/vendor/local/lib/librsvg-2.la +2 -2
  20. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
  21. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  22. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
  23. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
  24. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  25. data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
  26. data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
  27. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  28. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
  29. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
  30. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
  31. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
  32. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
  33. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
  34. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
  56. data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
  59. data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  61. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
  62. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
  63. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
  64. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
  65. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  77. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  80. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
  83. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  90. metadata +14 -10
  91. data/lib/2.0/rsvg2.so +0 -0
  92. data/lib/2.1/rsvg2.so +0 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>cr-declaration</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>cr-declaration: Libcroco Reference Manual</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
8
  <link rel="up" href="ch01.html" title="Extensive APIs description">
9
9
  <link rel="prev" href="libcroco-cr-cascade.html" title="cr-cascade">
10
10
  <link rel="next" href="libcroco-cr-doc-handler.html" title="cr-doc-handler">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
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-cascade.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-doc-handler.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-declaration.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#libcroco-cr-declaration.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
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="#libcroco-cr-declaration.description" class="shortcut">Description</a></span>
19
+ </td>
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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
+ <td><a accesskey="p" href="libcroco-cr-cascade.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="libcroco-cr-doc-handler.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
29
25
  <div class="refentry">
30
26
  <a name="libcroco-cr-declaration"></a><div class="titlepage"></div>
31
27
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,610 +29,858 @@
33
29
  <h2><span class="refentrytitle"><a name="libcroco-cr-declaration.top_of_page"></a>cr-declaration</span></h2>
34
30
  <p>cr-declaration</p>
35
31
  </td>
36
- <td valign="top" align="right"></td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
37
33
  </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="libcroco-cr-declaration.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">struct <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration">CRDeclaration</a>;
41
- <a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement">CRStatement</a>;
42
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append" title="cr_declaration_append ()">cr_declaration_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
43
- <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);
44
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append2" title="cr_declaration_append2 ()">cr_declaration_append2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</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-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);
47
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-destroy" title="cr_declaration_destroy ()">cr_declaration_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
48
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump" title="cr_declaration_dump ()">cr_declaration_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
49
- <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
50
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>,
51
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_per_line</code></em>);
52
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump-one" title="cr_declaration_dump_one ()">cr_declaration_dump_one</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
53
- <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
54
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>);
55
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-by-prop-name" title="cr_declaration_get_by_prop_name ()">cr_declaration_get_by_prop_name</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
56
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>);
57
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-from-list" title="cr_declaration_get_from_list ()">cr_declaration_get_from_list</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
58
- <em class="parameter"><code><span class="type">int</span> itemnr</code></em>);
59
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string" title="cr_declaration_list_to_string ()">cr_declaration_list_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
60
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);
61
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string2" title="cr_declaration_list_to_string2 ()">cr_declaration_list_to_string2</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
62
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>,
63
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_decl_per_line</code></em>);
64
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-new" title="cr_declaration_new ()">cr_declaration_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</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_property</code></em>,
66
- <em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);
67
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-nr-props" title="cr_declaration_nr_props ()">cr_declaration_nr_props</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>);
68
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-from-buf" title="cr_declaration_parse_from_buf ()">cr_declaration_parse_from_buf</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
69
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
70
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
71
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-list-from-buf" title="cr_declaration_parse_list_from_buf ()">cr_declaration_parse_list_from_buf</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
72
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
73
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-prepend" title="cr_declaration_prepend ()">cr_declaration_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
74
- <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);
75
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-ref" title="cr_declaration_ref ()">cr_declaration_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
76
- <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-declaration.html#cr-declaration-to-string" title="cr_declaration_to_string ()">cr_declaration_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
77
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);
78
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unlink" title="cr_declaration_unlink ()">cr_declaration_unlink</a> (<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>);
79
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unref" title="cr_declaration_unref ()">cr_declaration_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);
80
- </pre>
81
- </div>
82
- <div class="refsect1">
83
- <a name="libcroco-cr-declaration.description"></a><h2>Description</h2>
84
- <p>
85
- </p>
86
- </div>
87
34
  <div class="refsect1">
88
- <a name="libcroco-cr-declaration.details"></a><h2>Details</h2>
89
- <div class="refsect2">
90
- <a name="CRDeclaration"></a><h3>struct CRDeclaration</h3>
91
- <pre class="programlisting">struct CRDeclaration {
92
- /**The property.*/
93
- CRString *property ;
94
-
95
- /**The value of the property.*/
96
- CRTerm *value ;
97
-
98
- /*the ruleset that contains this declaration*/
99
- CRStatement *parent_statement ;
100
-
101
- /*the next declaration*/
102
- CRDeclaration *next ;
103
-
104
- /*the previous one declaration*/
105
- CRDeclaration *prev ;
106
-
107
- /*does the declaration have the important keyword ?*/
108
- gboolean important ;
109
-
110
- glong ref_count ;
111
-
112
- CRParsingLocation location ;
113
- /*reserved for future usage*/
114
- gpointer rfu0 ;
115
- gpointer rfu1 ;
116
- gpointer rfu2 ;
117
- gpointer rfu3 ;
118
- };
119
- </pre>
120
- <p>
121
- </p>
122
- </div>
123
- <hr>
124
- <div class="refsect2">
125
- <a name="CRStatement"></a><h3>CRStatement</h3>
126
- <pre class="programlisting">typedef struct {
127
- /**
128
- *The type of the statement.
129
- */
130
- enum CRStatementType type ;
131
-
132
- union
133
- {
134
- CRRuleSet *ruleset ;
135
- CRAtImportRule *import_rule ;
136
- CRAtMediaRule *media_rule ;
137
- CRAtPageRule *page_rule ;
138
- CRAtCharsetRule *charset_rule ;
139
- CRAtFontFaceRule *font_face_rule ;
140
- } kind ;
141
-
142
- /*
143
- *the specificity of the selector
144
- *that matched this statement.
145
- *This is only used by the cascading
146
- *order determination algorithm.
147
- */
148
- gulong specificity ;
149
-
150
- /*
151
- *the style sheet that contains
152
- *this css statement.
153
- */
154
- CRStyleSheet *parent_sheet ;
155
- CRStatement *next ;
156
- CRStatement *prev ;
157
-
158
- CRParsingLocation location ;
159
-
160
- /**
161
- *a custom pointer useable by
162
- *applications that use libcroco.
163
- *libcroco itself will never modify
164
- *this pointer.
165
- */
166
- gpointer app_data ;
167
-
168
- /**
169
- *a custom pointer used
170
- *by the upper layers of libcroco.
171
- *application should never use this
172
- *pointer.
173
- */
174
- gpointer croco_data ;
175
- } CRStatement;
176
- </pre>
177
- <p>
178
- </p>
179
- </div>
180
- <hr>
181
- <div class="refsect2">
182
- <a name="cr-declaration-append"></a><h3>cr_declaration_append ()</h3>
183
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_append (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
184
- <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
185
- <p>
186
- Appends a new declaration to the current declarations list.
187
- </p>
188
- <div class="variablelist"><table border="0">
189
- <col align="left" valign="top">
35
+ <a name="libcroco-cr-declaration.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
190
41
  <tbody>
191
42
  <tr>
192
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
193
- <td>the current declaration list.</td>
43
+ <td class="function_type">
44
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-new" title="cr_declaration_new ()">cr_declaration_new</a> <span class="c_punctuation">()</span>
48
+ </td>
49
+ </tr>
50
+ <tr>
51
+ <td class="function_type">
52
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
53
+ </td>
54
+ <td class="function_name">
55
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-from-buf" title="cr_declaration_parse_from_buf ()">cr_declaration_parse_from_buf</a> <span class="c_punctuation">()</span>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td class="function_type">
60
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
61
+ </td>
62
+ <td class="function_name">
63
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-parse-list-from-buf" title="cr_declaration_parse_list_from_buf ()">cr_declaration_parse_list_from_buf</a> <span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td class="function_type">
68
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
69
+ </td>
70
+ <td class="function_name">
71
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append" title="cr_declaration_append ()">cr_declaration_append</a> <span class="c_punctuation">()</span>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <td class="function_type">
76
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
77
+ </td>
78
+ <td class="function_name">
79
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-append2" title="cr_declaration_append2 ()">cr_declaration_append2</a> <span class="c_punctuation">()</span>
80
+ </td>
81
+ </tr>
82
+ <tr>
83
+ <td class="function_type">
84
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
85
+ </td>
86
+ <td class="function_name">
87
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-prepend" title="cr_declaration_prepend ()">cr_declaration_prepend</a> <span class="c_punctuation">()</span>
88
+ </td>
89
+ </tr>
90
+ <tr>
91
+ <td class="function_type">
92
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unlink" title="cr_declaration_unlink ()">cr_declaration_unlink</a> <span class="c_punctuation">()</span>
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td class="function_type">
100
+ <span class="returnvalue">void</span>
101
+ </td>
102
+ <td class="function_name">
103
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump" title="cr_declaration_dump ()">cr_declaration_dump</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <span class="returnvalue">void</span>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-dump-one" title="cr_declaration_dump_one ()">cr_declaration_dump_one</a> <span class="c_punctuation">()</span>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <td class="function_type">
116
+ <span class="returnvalue">gint</span>
117
+ </td>
118
+ <td class="function_name">
119
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-nr-props" title="cr_declaration_nr_props ()">cr_declaration_nr_props</a> <span class="c_punctuation">()</span>
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td class="function_type">
124
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
125
+ </td>
126
+ <td class="function_name">
127
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-from-list" title="cr_declaration_get_from_list ()">cr_declaration_get_from_list</a> <span class="c_punctuation">()</span>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td class="function_type">
132
+ <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
133
+ </td>
134
+ <td class="function_name">
135
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-get-by-prop-name" title="cr_declaration_get_by_prop_name ()">cr_declaration_get_by_prop_name</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ <tr>
139
+ <td class="function_type">
140
+ <span class="returnvalue">gchar</span> *
141
+ </td>
142
+ <td class="function_name">
143
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-to-string" title="cr_declaration_to_string ()">cr_declaration_to_string</a> <span class="c_punctuation">()</span>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="function_type">
148
+ <span class="returnvalue">guchar</span> *
149
+ </td>
150
+ <td class="function_name">
151
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string" title="cr_declaration_list_to_string ()">cr_declaration_list_to_string</a> <span class="c_punctuation">()</span>
152
+ </td>
194
153
  </tr>
195
154
  <tr>
196
- <td><p><span class="term"><em class="parameter"><code>a_new</code></em> :</span></p></td>
197
- <td>the declaration to append.</td>
155
+ <td class="function_type">
156
+ <span class="returnvalue">guchar</span> *
157
+ </td>
158
+ <td class="function_name">
159
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-list-to-string2" title="cr_declaration_list_to_string2 ()">cr_declaration_list_to_string2</a> <span class="c_punctuation">()</span>
160
+ </td>
198
161
  </tr>
199
162
  <tr>
200
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
201
- <td>the declaration list with a_new appended to it, or NULL
202
- in case of error.</td>
163
+ <td class="function_type">
164
+ <span class="returnvalue">void</span>
165
+ </td>
166
+ <td class="function_name">
167
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-ref" title="cr_declaration_ref ()">cr_declaration_ref</a> <span class="c_punctuation">()</span>
168
+ </td>
169
+ </tr>
170
+ <tr>
171
+ <td class="function_type">
172
+ <span class="returnvalue">gboolean</span>
173
+ </td>
174
+ <td class="function_name">
175
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-unref" title="cr_declaration_unref ()">cr_declaration_unref</a> <span class="c_punctuation">()</span>
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <td class="function_type">
180
+ <span class="returnvalue">void</span>
181
+ </td>
182
+ <td class="function_name">
183
+ <a class="link" href="libcroco-cr-declaration.html#cr-declaration-destroy" title="cr_declaration_destroy ()">cr_declaration_destroy</a> <span class="c_punctuation">()</span>
184
+ </td>
203
185
  </tr>
204
186
  </tbody>
205
187
  </table></div>
206
188
  </div>
207
- <hr>
208
- <div class="refsect2">
209
- <a name="cr-declaration-append2"></a><h3>cr_declaration_append2 ()</h3>
210
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_append2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
211
- <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>,
212
- <em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
213
- <p>
214
- Appends a declaration to the current declaration list.
215
- </p>
216
- <div class="variablelist"><table border="0">
217
- <col align="left" valign="top">
189
+ <div class="refsect1">
190
+ <a name="libcroco-cr-declaration.other"></a><h2>Types and Values</h2>
191
+ <div class="informaltable"><table width="100%" border="0">
192
+ <colgroup>
193
+ <col width="150px" class="name">
194
+ <col class="description">
195
+ </colgroup>
218
196
  <tbody>
219
197
  <tr>
220
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
221
- <td>the current declaration list.</td>
198
+ <td class="datatype_keyword">struct</td>
199
+ <td class="function_name"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration">CRDeclaration</a></td>
222
200
  </tr>
223
201
  <tr>
224
- <td><p><span class="term"><em class="parameter"><code>a_prop</code></em> :</span></p></td>
225
- <td>the property string of the declaration to append.</td>
202
+ <td class="datatype_keyword"> </td>
203
+ <td class="function_name"><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement">CRStatement</a></td>
226
204
  </tr>
205
+ </tbody>
206
+ </table></div>
207
+ </div>
208
+ <div class="refsect1">
209
+ <a name="libcroco-cr-declaration.description"></a><h2>Description</h2>
210
+ </div>
211
+ <div class="refsect1">
212
+ <a name="libcroco-cr-declaration.functions_details"></a><h2>Functions</h2>
213
+ <div class="refsect2">
214
+ <a name="cr-declaration-new"></a><h3>cr_declaration_new ()</h3>
215
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
216
+ cr_declaration_new (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
217
+ <em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_property</code></em>,
218
+ <em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
219
+ <p>Returns the newly built instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>, or NULL in
220
+ case of error.</p>
221
+ <p>The returned CRDeclaration takes ownership of <em class="parameter"><code>a_property</code></em>
222
+ and <em class="parameter"><code>a_value</code></em>
223
+ .
224
+ (E.g. cr_declaration_destroy on this CRDeclaration will also free
225
+ <em class="parameter"><code>a_property</code></em>
226
+ and <em class="parameter"><code>a_value</code></em>
227
+ .)</p>
228
+ <div class="refsect3">
229
+ <a name="id-1.2.5.6.2.6"></a><h4>Parameters</h4>
230
+ <div class="informaltable"><table width="100%" border="0">
231
+ <colgroup>
232
+ <col width="150px" class="parameters_name">
233
+ <col class="parameters_description">
234
+ <col width="200px" class="parameters_annotations">
235
+ </colgroup>
236
+ <tbody>
227
237
  <tr>
228
- <td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
229
- <td>the value of the declaration to append.</td>
238
+ <td class="parameter_name"><p>a_statement</p></td>
239
+ <td class="parameter_description"><p>the statement this declaration belongs to. can be NULL.</p></td>
240
+ <td class="parameter_annotations"> </td>
230
241
  </tr>
231
242
  <tr>
232
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
233
- <td>the list with the new property appended to it, or NULL in
234
- case of an error.</td>
243
+ <td class="parameter_name"><p>a_property</p></td>
244
+ <td class="parameter_description"><p>the property string of the declaration</p></td>
245
+ <td class="parameter_annotations"> </td>
246
+ </tr>
247
+ <tr>
248
+ <td class="parameter_name"><p>a_value</p></td>
249
+ <td class="parameter_description"><p>the value expression of the declaration.
250
+ Constructor of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
251
+ <td class="parameter_annotations"> </td>
235
252
  </tr>
236
253
  </tbody>
237
254
  </table></div>
238
255
  </div>
239
- <hr>
240
- <div class="refsect2">
241
- <a name="cr-declaration-destroy"></a><h3>cr_declaration_destroy ()</h3>
242
- <pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
243
- <p>
244
- Destructor of the declaration list.
245
- </p>
246
- <div class="variablelist"><table border="0">
247
- <col align="left" valign="top">
248
- <tbody><tr>
249
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
250
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
251
- </tr></tbody>
252
- </table></div>
253
256
  </div>
254
257
  <hr>
255
258
  <div class="refsect2">
256
- <a name="cr-declaration-dump"></a><h3>cr_declaration_dump ()</h3>
257
- <pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
258
- <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
259
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>,
260
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_per_line</code></em>);</pre>
261
- <p>
262
- Dumps a declaration list to a file.
263
- </p>
264
- <div class="variablelist"><table border="0">
265
- <col align="left" valign="top">
259
+ <a name="cr-declaration-parse-from-buf"></a><h3>cr_declaration_parse_from_buf ()</h3>
260
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
261
+ cr_declaration_parse_from_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
262
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_str</code></em>,
263
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
264
+ <p>Parses a text buffer that contains
265
+ a css declaration.
266
+ Returns the parsed declaration, or NULL in case of error.</p>
267
+ <div class="refsect3">
268
+ <a name="id-1.2.5.6.3.5"></a><h4>Parameters</h4>
269
+ <div class="informaltable"><table width="100%" border="0">
270
+ <colgroup>
271
+ <col width="150px" class="parameters_name">
272
+ <col class="parameters_description">
273
+ <col width="200px" class="parameters_annotations">
274
+ </colgroup>
266
275
  <tbody>
267
276
  <tr>
268
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
269
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
270
- </tr>
271
- <tr>
272
- <td><p><span class="term"><em class="parameter"><code>a_fp</code></em> :</span></p></td>
273
- <td>the destination file.</td>
277
+ <td class="parameter_name"><p>a_statement</p></td>
278
+ <td class="parameter_description"><p>the parent css2 statement of this
279
+ this declaration. Must be non NULL and of type
280
+ RULESET_STMT (must be a ruleset).</p></td>
281
+ <td class="parameter_annotations"> </td>
274
282
  </tr>
275
283
  <tr>
276
- <td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
277
- <td>the number of indentation white char.</td>
284
+ <td class="parameter_name"><p>a_str</p></td>
285
+ <td class="parameter_description"><p>the string that contains the statement.</p></td>
286
+ <td class="parameter_annotations"> </td>
278
287
  </tr>
279
288
  <tr>
280
- <td><p><span class="term"><em class="parameter"><code>a_one_per_line</code></em> :</span></p></td>
281
- <td>whether to put one declaration per line of not .</td>
289
+ <td class="parameter_name"><p>a_enc</p></td>
290
+ <td class="parameter_description"><p>the encoding of a_str.</p></td>
291
+ <td class="parameter_annotations"> </td>
282
292
  </tr>
283
293
  </tbody>
284
294
  </table></div>
285
295
  </div>
296
+ </div>
286
297
  <hr>
287
298
  <div class="refsect2">
288
- <a name="cr-declaration-dump-one"></a><h3>cr_declaration_dump_one ()</h3>
289
- <pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_dump_one (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
290
- <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
291
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> a_indent</code></em>);</pre>
292
- <p>
293
- Dumps the first declaration of the declaration list to a file.
294
- </p>
295
- <div class="variablelist"><table border="0">
296
- <col align="left" valign="top">
299
+ <a name="cr-declaration-parse-list-from-buf"></a><h3>cr_declaration_parse_list_from_buf ()</h3>
300
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
301
+ cr_declaration_parse_list_from_buf (<em class="parameter"><code>const <span class="type">guchar</span> *a_str</code></em>,
302
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
303
+ <p>Parses a ';' separated list of properties declaration.
304
+ Returns the parsed list of declaration, NULL if parsing failed.</p>
305
+ <div class="refsect3">
306
+ <a name="id-1.2.5.6.4.5"></a><h4>Parameters</h4>
307
+ <div class="informaltable"><table width="100%" border="0">
308
+ <colgroup>
309
+ <col width="150px" class="parameters_name">
310
+ <col class="parameters_description">
311
+ <col width="200px" class="parameters_annotations">
312
+ </colgroup>
297
313
  <tbody>
298
314
  <tr>
299
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
300
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
315
+ <td class="parameter_name"><p>a_str</p></td>
316
+ <td class="parameter_description"><p>the input buffer that contains the list of declaration to
317
+ parse.</p></td>
318
+ <td class="parameter_annotations"> </td>
301
319
  </tr>
302
320
  <tr>
303
- <td><p><span class="term"><em class="parameter"><code>a_fp</code></em> :</span></p></td>
304
- <td>the destination file.</td>
305
- </tr>
306
- <tr>
307
- <td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
308
- <td>the number of indentation white char.</td>
321
+ <td class="parameter_name"><p>a_enc</p></td>
322
+ <td class="parameter_description"><p>the encoding of a_str</p></td>
323
+ <td class="parameter_annotations"> </td>
309
324
  </tr>
310
325
  </tbody>
311
326
  </table></div>
312
327
  </div>
328
+ </div>
313
329
  <hr>
314
330
  <div class="refsect2">
315
- <a name="cr-declaration-get-by-prop-name"></a><h3>cr_declaration_get_by_prop_name ()</h3>
316
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_get_by_prop_name (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
317
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>);</pre>
318
- <p>
319
- Use property name to get a CRDeclaration from the declaration list.
320
- </p>
321
- <div class="variablelist"><table border="0">
322
- <col align="left" valign="top">
331
+ <a name="cr-declaration-append"></a><h3>cr_declaration_append ()</h3>
332
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
333
+ cr_declaration_append (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
334
+ <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
335
+ <p>Appends a new declaration to the current declarations list.
336
+ Returns the declaration list with a_new appended to it, or NULL
337
+ in case of error.</p>
338
+ <div class="refsect3">
339
+ <a name="id-1.2.5.6.5.5"></a><h4>Parameters</h4>
340
+ <div class="informaltable"><table width="100%" border="0">
341
+ <colgroup>
342
+ <col width="150px" class="parameters_name">
343
+ <col class="parameters_description">
344
+ <col width="200px" class="parameters_annotations">
345
+ </colgroup>
323
346
  <tbody>
324
347
  <tr>
325
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
326
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
348
+ <td class="parameter_name"><p>a_this</p></td>
349
+ <td class="parameter_description"><p>the current declaration list.</p></td>
350
+ <td class="parameter_annotations"> </td>
327
351
  </tr>
328
352
  <tr>
329
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
330
- <td>
331
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> with property name a_prop, or NULL if not found.</td>
353
+ <td class="parameter_name"><p>a_new</p></td>
354
+ <td class="parameter_description"><p>the declaration to append.</p></td>
355
+ <td class="parameter_annotations"> </td>
332
356
  </tr>
333
357
  </tbody>
334
358
  </table></div>
335
359
  </div>
360
+ </div>
336
361
  <hr>
337
362
  <div class="refsect2">
338
- <a name="cr-declaration-get-from-list"></a><h3>cr_declaration_get_from_list ()</h3>
339
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_get_from_list (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
340
- <em class="parameter"><code><span class="type">int</span> itemnr</code></em>);</pre>
341
- <p>
342
- Use an index to get a CRDeclaration from the declaration list.
343
- </p>
344
- <div class="variablelist"><table border="0">
345
- <col align="left" valign="top">
363
+ <a name="cr-declaration-append2"></a><h3>cr_declaration_append2 ()</h3>
364
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
365
+ cr_declaration_append2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
366
+ <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>,
367
+ <em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
368
+ <p>Appends a declaration to the current declaration list.
369
+ Returns the list with the new property appended to it, or NULL in
370
+ case of an error.</p>
371
+ <div class="refsect3">
372
+ <a name="id-1.2.5.6.6.5"></a><h4>Parameters</h4>
373
+ <div class="informaltable"><table width="100%" border="0">
374
+ <colgroup>
375
+ <col width="150px" class="parameters_name">
376
+ <col class="parameters_description">
377
+ <col width="200px" class="parameters_annotations">
378
+ </colgroup>
346
379
  <tbody>
347
380
  <tr>
348
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
349
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
381
+ <td class="parameter_name"><p>a_this</p></td>
382
+ <td class="parameter_description"><p>the current declaration list.</p></td>
383
+ <td class="parameter_annotations"> </td>
350
384
  </tr>
351
385
  <tr>
352
- <td><p><span class="term"><em class="parameter"><code>itemnr</code></em> :</span></p></td>
353
- <td>the index into the declaration list.</td>
386
+ <td class="parameter_name"><p>a_prop</p></td>
387
+ <td class="parameter_description"><p>the property string of the declaration to append.</p></td>
388
+ <td class="parameter_annotations"> </td>
354
389
  </tr>
355
390
  <tr>
356
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
357
- <td>
358
- <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> at position itemnr,
359
- if itemnr &gt; number of declarations - 1,
360
- it will return NULL.</td>
391
+ <td class="parameter_name"><p>a_value</p></td>
392
+ <td class="parameter_description"><p>the value of the declaration to append.</p></td>
393
+ <td class="parameter_annotations"> </td>
361
394
  </tr>
362
395
  </tbody>
363
396
  </table></div>
364
397
  </div>
398
+ </div>
365
399
  <hr>
366
400
  <div class="refsect2">
367
- <a name="cr-declaration-list-to-string"></a><h3>cr_declaration_list_to_string ()</h3>
368
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_declaration_list_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
369
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);</pre>
370
- <p>
371
- Serializes the declaration list into a string
372
- </p>
373
- <div class="variablelist"><table border="0">
374
- <col align="left" valign="top">
401
+ <a name="cr-declaration-prepend"></a><h3>cr_declaration_prepend ()</h3>
402
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
403
+ cr_declaration_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
404
+ <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
405
+ <p>prepends a declaration to the current declaration list.</p>
406
+ <p>Returns the list with a_new prepended or NULL in case of error.</p>
407
+ <div class="refsect3">
408
+ <a name="id-1.2.5.6.7.6"></a><h4>Parameters</h4>
409
+ <div class="informaltable"><table width="100%" border="0">
410
+ <colgroup>
411
+ <col width="150px" class="parameters_name">
412
+ <col class="parameters_description">
413
+ <col width="200px" class="parameters_annotations">
414
+ </colgroup>
375
415
  <tbody>
376
416
  <tr>
377
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
378
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
417
+ <td class="parameter_name"><p>a_this</p></td>
418
+ <td class="parameter_description"><p>the current declaration list.</p></td>
419
+ <td class="parameter_annotations"> </td>
379
420
  </tr>
380
421
  <tr>
381
- <td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
382
- <td>the number of indentation white char
383
- to put before the actual serialisation.</td>
422
+ <td class="parameter_name"><p>a_new</p></td>
423
+ <td class="parameter_description"><p>the declaration to prepend.</p></td>
424
+ <td class="parameter_annotations"> </td>
384
425
  </tr>
385
426
  </tbody>
386
427
  </table></div>
387
428
  </div>
429
+ </div>
430
+ <hr>
431
+ <div class="refsect2">
432
+ <a name="cr-declaration-unlink"></a><h3>cr_declaration_unlink ()</h3>
433
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
434
+ cr_declaration_unlink (<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>
435
+ <p>Unlinks the declaration from the declaration list.
436
+ case of a successfull completion, NULL otherwise.</p>
437
+ <p>Returns a pointer to the unlinked declaration in</p>
438
+ <div class="refsect3">
439
+ <a name="id-1.2.5.6.8.6"></a><h4>Parameters</h4>
440
+ <div class="informaltable"><table width="100%" border="0">
441
+ <colgroup>
442
+ <col width="150px" class="parameters_name">
443
+ <col class="parameters_description">
444
+ <col width="200px" class="parameters_annotations">
445
+ </colgroup>
446
+ <tbody><tr>
447
+ <td class="parameter_name"><p>a_decls</p></td>
448
+ <td class="parameter_description"><p>the declaration to unlink.</p></td>
449
+ <td class="parameter_annotations"> </td>
450
+ </tr></tbody>
451
+ </table></div>
452
+ </div>
453
+ </div>
388
454
  <hr>
389
455
  <div class="refsect2">
390
- <a name="cr-declaration-list-to-string2"></a><h3>cr_declaration_list_to_string2 ()</h3>
391
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_declaration_list_to_string2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
392
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>,
393
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_one_decl_per_line</code></em>);</pre>
394
- <p>
395
- Serializes the declaration list into a string
396
- </p>
397
- <div class="variablelist"><table border="0">
398
- <col align="left" valign="top">
456
+ <a name="cr-declaration-dump"></a><h3>cr_declaration_dump ()</h3>
457
+ <pre class="programlisting"><span class="returnvalue">void</span>
458
+ cr_declaration_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
459
+ <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
460
+ <em class="parameter"><code><span class="type">glong</span> a_indent</code></em>,
461
+ <em class="parameter"><code><span class="type">gboolean</span> a_one_per_line</code></em>);</pre>
462
+ <p>Dumps a declaration list to a file.</p>
463
+ <div class="refsect3">
464
+ <a name="id-1.2.5.6.9.5"></a><h4>Parameters</h4>
465
+ <div class="informaltable"><table width="100%" border="0">
466
+ <colgroup>
467
+ <col width="150px" class="parameters_name">
468
+ <col class="parameters_description">
469
+ <col width="200px" class="parameters_annotations">
470
+ </colgroup>
399
471
  <tbody>
400
472
  <tr>
401
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
402
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
473
+ <td class="parameter_name"><p>a_this</p></td>
474
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
475
+ <td class="parameter_annotations"> </td>
403
476
  </tr>
404
477
  <tr>
405
- <td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
406
- <td>the number of indentation white char</td>
478
+ <td class="parameter_name"><p>a_fp</p></td>
479
+ <td class="parameter_description"><p>the destination file.</p></td>
480
+ <td class="parameter_annotations"> </td>
407
481
  </tr>
408
482
  <tr>
409
- <td><p><span class="term"><em class="parameter"><code>a_one_decl_per_line</code></em> :</span></p></td>
410
- <td>whether to output one doc per line or not.
411
- to put before the actual serialisation.</td>
483
+ <td class="parameter_name"><p>a_indent</p></td>
484
+ <td class="parameter_description"><p>the number of indentation white char.</p></td>
485
+ <td class="parameter_annotations"> </td>
412
486
  </tr>
413
487
  <tr>
414
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
415
- <td>the serialized form the declararation.</td>
488
+ <td class="parameter_name"><p>a_one_per_line</p></td>
489
+ <td class="parameter_description"><p>whether to put one declaration per line of not .</p></td>
490
+ <td class="parameter_annotations"> </td>
416
491
  </tr>
417
492
  </tbody>
418
493
  </table></div>
419
494
  </div>
495
+ </div>
420
496
  <hr>
421
497
  <div class="refsect2">
422
- <a name="cr-declaration-new"></a><h3>cr_declaration_new ()</h3>
423
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_new (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
424
- <em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> *a_property</code></em>,
425
- <em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> *a_value</code></em>);</pre>
426
- <div class="variablelist"><table border="0">
427
- <col align="left" valign="top">
498
+ <a name="cr-declaration-dump-one"></a><h3>cr_declaration_dump_one ()</h3>
499
+ <pre class="programlisting"><span class="returnvalue">void</span>
500
+ cr_declaration_dump_one (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
501
+ <em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>,
502
+ <em class="parameter"><code><span class="type">glong</span> a_indent</code></em>);</pre>
503
+ <p>Dumps the first declaration of the declaration list to a file.</p>
504
+ <div class="refsect3">
505
+ <a name="id-1.2.5.6.10.5"></a><h4>Parameters</h4>
506
+ <div class="informaltable"><table width="100%" border="0">
507
+ <colgroup>
508
+ <col width="150px" class="parameters_name">
509
+ <col class="parameters_description">
510
+ <col width="200px" class="parameters_annotations">
511
+ </colgroup>
428
512
  <tbody>
429
513
  <tr>
430
- <td><p><span class="term"><em class="parameter"><code>a_statement</code></em> :</span></p></td>
431
- <td>the statement this declaration belongs to. can be NULL.</td>
514
+ <td class="parameter_name"><p>a_this</p></td>
515
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
516
+ <td class="parameter_annotations"> </td>
432
517
  </tr>
433
518
  <tr>
434
- <td><p><span class="term"><em class="parameter"><code>a_property</code></em> :</span></p></td>
435
- <td>the property string of the declaration</td>
519
+ <td class="parameter_name"><p>a_fp</p></td>
520
+ <td class="parameter_description"><p>the destination file.</p></td>
521
+ <td class="parameter_annotations"> </td>
436
522
  </tr>
437
523
  <tr>
438
- <td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
439
- <td>the value expression of the declaration.
440
- Constructor of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
441
- </tr>
442
- <tr>
443
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
444
- <td>the newly built instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>, or NULL in
445
- case of error.
446
- The returned CRDeclaration takes ownership of <em class="parameter"><code>a_property</code></em> and <em class="parameter"><code>a_value</code></em>.
447
- (E.g. cr_declaration_destroy on this CRDeclaration will also free
448
- <em class="parameter"><code>a_property</code></em> and <em class="parameter"><code>a_value</code></em>.)</td>
524
+ <td class="parameter_name"><p>a_indent</p></td>
525
+ <td class="parameter_description"><p>the number of indentation white char.</p></td>
526
+ <td class="parameter_annotations"> </td>
449
527
  </tr>
450
528
  </tbody>
451
529
  </table></div>
452
530
  </div>
531
+ </div>
453
532
  <hr>
454
533
  <div class="refsect2">
455
- <a name="cr-declaration-nr-props"></a><h3>cr_declaration_nr_props ()</h3>
456
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> cr_declaration_nr_props (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>);</pre>
457
- <div class="variablelist"><table border="0">
458
- <col align="left" valign="top">
534
+ <a name="cr-declaration-nr-props"></a><h3>cr_declaration_nr_props ()</h3>
535
+ <pre class="programlisting"><span class="returnvalue">gint</span>
536
+ cr_declaration_nr_props (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>);</pre>
537
+ <div class="refsect3">
538
+ <a name="id-1.2.5.6.11.4"></a><h4>Parameters</h4>
539
+ <div class="informaltable"><table width="100%" border="0">
540
+ <colgroup>
541
+ <col width="150px" class="parameters_name">
542
+ <col class="parameters_description">
543
+ <col width="200px" class="parameters_annotations">
544
+ </colgroup>
459
545
  <tbody><tr>
460
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
461
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
462
- Return the number of properties in the declaration</td>
546
+ <td class="parameter_name"><p>a_this</p></td>
547
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
548
+ Return the number of properties in the declaration</p></td>
549
+ <td class="parameter_annotations"> </td>
463
550
  </tr></tbody>
464
551
  </table></div>
465
552
  </div>
553
+ </div>
466
554
  <hr>
467
555
  <div class="refsect2">
468
- <a name="cr-declaration-parse-from-buf"></a><h3>cr_declaration_parse_from_buf ()</h3>
469
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_parse_from_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> *a_statement</code></em>,
470
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
471
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
472
- <p>
473
- Parses a text buffer that contains
474
- a css declaration.
475
- </p>
476
- <div class="variablelist"><table border="0">
477
- <col align="left" valign="top">
556
+ <a name="cr-declaration-get-from-list"></a><h3>cr_declaration_get_from_list ()</h3>
557
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
558
+ cr_declaration_get_from_list (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
559
+ <em class="parameter"><code><span class="type">int</span> itemnr</code></em>);</pre>
560
+ <p>Use an index to get a CRDeclaration from the declaration list.</p>
561
+ <p>Returns <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> at position itemnr,
562
+ if itemnr &gt; number of declarations - 1,
563
+ it will return NULL.</p>
564
+ <div class="refsect3">
565
+ <a name="id-1.2.5.6.12.6"></a><h4>Parameters</h4>
566
+ <div class="informaltable"><table width="100%" border="0">
567
+ <colgroup>
568
+ <col width="150px" class="parameters_name">
569
+ <col class="parameters_description">
570
+ <col width="200px" class="parameters_annotations">
571
+ </colgroup>
478
572
  <tbody>
479
573
  <tr>
480
- <td><p><span class="term"><em class="parameter"><code>a_statement</code></em> :</span></p></td>
481
- <td>the parent css2 statement of this
482
- this declaration. Must be non NULL and of type
483
- RULESET_STMT (must be a ruleset).</td>
574
+ <td class="parameter_name"><p>a_this</p></td>
575
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
576
+ <td class="parameter_annotations"> </td>
484
577
  </tr>
485
578
  <tr>
486
- <td><p><span class="term"><em class="parameter"><code>a_str</code></em> :</span></p></td>
487
- <td>the string that contains the statement.</td>
579
+ <td class="parameter_name"><p>itemnr</p></td>
580
+ <td class="parameter_description"><p>the index into the declaration list.</p></td>
581
+ <td class="parameter_annotations"> </td>
488
582
  </tr>
583
+ </tbody>
584
+ </table></div>
585
+ </div>
586
+ </div>
587
+ <hr>
588
+ <div class="refsect2">
589
+ <a name="cr-declaration-get-by-prop-name"></a><h3>cr_declaration_get_by_prop_name ()</h3>
590
+ <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> *
591
+ cr_declaration_get_by_prop_name (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
592
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_str</code></em>);</pre>
593
+ <p>Use property name to get a CRDeclaration from the declaration list.
594
+ Returns <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> with property name a_prop, or NULL if not found.</p>
595
+ <div class="refsect3">
596
+ <a name="id-1.2.5.6.13.5"></a><h4>Parameters</h4>
597
+ <div class="informaltable"><table width="100%" border="0">
598
+ <colgroup>
599
+ <col width="150px" class="parameters_name">
600
+ <col class="parameters_description">
601
+ <col width="200px" class="parameters_annotations">
602
+ </colgroup>
603
+ <tbody>
489
604
  <tr>
490
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
491
- <td>the encoding of a_str.</td>
605
+ <td class="parameter_name"><p>a_this</p></td>
606
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
607
+ <td class="parameter_annotations"> </td>
492
608
  </tr>
493
609
  <tr>
494
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
495
- <td>the parsed declaration, or NULL in case of error.</td>
610
+ <td class="parameter_name"><p>a_prop</p></td>
611
+ <td class="parameter_description"><p>the property name to search for.</p></td>
612
+ <td class="parameter_annotations"> </td>
496
613
  </tr>
497
614
  </tbody>
498
615
  </table></div>
499
616
  </div>
617
+ </div>
500
618
  <hr>
501
619
  <div class="refsect2">
502
- <a name="cr-declaration-parse-list-from-buf"></a><h3>cr_declaration_parse_list_from_buf ()</h3>
503
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_parse_list_from_buf (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_str</code></em>,
504
- <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
505
- <p>
506
- Parses a ';' separated list of properties declaration.
507
- </p>
508
- <div class="variablelist"><table border="0">
509
- <col align="left" valign="top">
620
+ <a name="cr-declaration-to-string"></a><h3>cr_declaration_to_string ()</h3>
621
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
622
+ cr_declaration_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
623
+ <em class="parameter"><code><span class="type">gulong</span> a_indent</code></em>);</pre>
624
+ <p>Serializes the declaration into a string
625
+ Returns the serialized form the declaration. The caller must
626
+ free the string using <code class="function">g_free()</code>.</p>
627
+ <div class="refsect3">
628
+ <a name="id-1.2.5.6.14.5"></a><h4>Parameters</h4>
629
+ <div class="informaltable"><table width="100%" border="0">
630
+ <colgroup>
631
+ <col width="150px" class="parameters_name">
632
+ <col class="parameters_description">
633
+ <col width="200px" class="parameters_annotations">
634
+ </colgroup>
510
635
  <tbody>
511
636
  <tr>
512
- <td><p><span class="term"><em class="parameter"><code>a_str</code></em> :</span></p></td>
513
- <td>the input buffer that contains the list of declaration to
514
- parse.</td>
515
- </tr>
516
- <tr>
517
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
518
- <td>the encoding of a_str</td>
637
+ <td class="parameter_name"><p>a_this</p></td>
638
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
639
+ <td class="parameter_annotations"> </td>
519
640
  </tr>
520
641
  <tr>
521
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
522
- <td>the parsed list of declaration, NULL if parsing failed.</td>
642
+ <td class="parameter_name"><p>a_indent</p></td>
643
+ <td class="parameter_description"><p>the number of indentation white char
644
+ to put before the actual serialisation.</p></td>
645
+ <td class="parameter_annotations"> </td>
523
646
  </tr>
524
647
  </tbody>
525
648
  </table></div>
526
649
  </div>
650
+ </div>
527
651
  <hr>
528
652
  <div class="refsect2">
529
- <a name="cr-declaration-prepend"></a><h3>cr_declaration_prepend ()</h3>
530
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>,
531
- <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_new</code></em>);</pre>
532
- <p>
533
- prepends a declaration to the current declaration list.
534
- </p>
535
- <div class="variablelist"><table border="0">
536
- <col align="left" valign="top">
653
+ <a name="cr-declaration-list-to-string"></a><h3>cr_declaration_list_to_string ()</h3>
654
+ <pre class="programlisting"><span class="returnvalue">guchar</span> *
655
+ cr_declaration_list_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
656
+ <em class="parameter"><code><span class="type">gulong</span> a_indent</code></em>);</pre>
657
+ <p>Serializes the declaration list into a string</p>
658
+ <div class="refsect3">
659
+ <a name="id-1.2.5.6.15.5"></a><h4>Parameters</h4>
660
+ <div class="informaltable"><table width="100%" border="0">
661
+ <colgroup>
662
+ <col width="150px" class="parameters_name">
663
+ <col class="parameters_description">
664
+ <col width="200px" class="parameters_annotations">
665
+ </colgroup>
537
666
  <tbody>
538
667
  <tr>
539
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
540
- <td>the current declaration list.</td>
668
+ <td class="parameter_name"><p>a_this</p></td>
669
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
670
+ <td class="parameter_annotations"> </td>
541
671
  </tr>
542
672
  <tr>
543
- <td><p><span class="term"><em class="parameter"><code>a_new</code></em> :</span></p></td>
544
- <td>the declaration to prepend.</td>
545
- </tr>
546
- <tr>
547
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
548
- <td>the list with a_new prepended or NULL in case of error.</td>
673
+ <td class="parameter_name"><p>a_indent</p></td>
674
+ <td class="parameter_description"><p>the number of indentation white char
675
+ to put before the actual serialisation.</p></td>
676
+ <td class="parameter_annotations"> </td>
549
677
  </tr>
550
678
  </tbody>
551
679
  </table></div>
552
680
  </div>
553
- <hr>
554
- <div class="refsect2">
555
- <a name="cr-declaration-ref"></a><h3>cr_declaration_ref ()</h3>
556
- <pre class="programlisting"><span class="returnvalue">void</span> cr_declaration_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
557
- <p>
558
- Increases the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
559
- </p>
560
- <div class="variablelist"><table border="0">
561
- <col align="left" valign="top">
562
- <tbody><tr>
563
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
564
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
565
- </tr></tbody>
566
- </table></div>
567
681
  </div>
568
682
  <hr>
569
683
  <div class="refsect2">
570
- <a name="cr-declaration-to-string"></a><h3>cr_declaration_to_string ()</h3>
571
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_declaration_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
572
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> a_indent</code></em>);</pre>
573
- <p>
574
- Serializes the declaration into a string
575
- </p>
576
- <div class="variablelist"><table border="0">
577
- <col align="left" valign="top">
684
+ <a name="cr-declaration-list-to-string2"></a><h3>cr_declaration_list_to_string2 ()</h3>
685
+ <pre class="programlisting"><span class="returnvalue">guchar</span> *
686
+ cr_declaration_list_to_string2 (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> const *a_this</code></em>,
687
+ <em class="parameter"><code><span class="type">gulong</span> a_indent</code></em>,
688
+ <em class="parameter"><code><span class="type">gboolean</span> a_one_decl_per_line</code></em>);</pre>
689
+ <p>Serializes the declaration list into a string
690
+ Returns the serialized form the declararation.</p>
691
+ <div class="refsect3">
692
+ <a name="id-1.2.5.6.16.5"></a><h4>Parameters</h4>
693
+ <div class="informaltable"><table width="100%" border="0">
694
+ <colgroup>
695
+ <col width="150px" class="parameters_name">
696
+ <col class="parameters_description">
697
+ <col width="200px" class="parameters_annotations">
698
+ </colgroup>
578
699
  <tbody>
579
700
  <tr>
580
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
581
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
701
+ <td class="parameter_name"><p>a_this</p></td>
702
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
703
+ <td class="parameter_annotations"> </td>
582
704
  </tr>
583
705
  <tr>
584
- <td><p><span class="term"><em class="parameter"><code>a_indent</code></em> :</span></p></td>
585
- <td>the number of indentation white char
586
- to put before the actual serialisation.</td>
706
+ <td class="parameter_name"><p>a_indent</p></td>
707
+ <td class="parameter_description"><p>the number of indentation white char</p></td>
708
+ <td class="parameter_annotations"> </td>
587
709
  </tr>
588
710
  <tr>
589
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
590
- <td>the serialized form the declaration. The caller must
591
- free the string using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
711
+ <td class="parameter_name"><p>a_one_decl_per_line</p></td>
712
+ <td class="parameter_description"><p>whether to output one doc per line or not.
713
+ to put before the actual serialisation.</p></td>
714
+ <td class="parameter_annotations"> </td>
592
715
  </tr>
593
716
  </tbody>
594
717
  </table></div>
595
718
  </div>
719
+ </div>
596
720
  <hr>
597
721
  <div class="refsect2">
598
- <a name="cr-declaration-unlink"></a><h3>cr_declaration_unlink ()</h3>
599
- <pre class="programlisting"><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="returnvalue">CRDeclaration</span></a> * cr_declaration_unlink (<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>
600
- <p>
601
- Unlinks the declaration from the declaration list.
602
- case of a successfull completion, NULL otherwise.
603
- </p>
604
- <div class="variablelist"><table border="0">
605
- <col align="left" valign="top">
722
+ <a name="cr-declaration-ref"></a><h3>cr_declaration_ref ()</h3>
723
+ <pre class="programlisting"><span class="returnvalue">void</span>
724
+ cr_declaration_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
725
+ <p>Increases the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p>
726
+ <div class="refsect3">
727
+ <a name="id-1.2.5.6.17.5"></a><h4>Parameters</h4>
728
+ <div class="informaltable"><table width="100%" border="0">
729
+ <colgroup>
730
+ <col width="150px" class="parameters_name">
731
+ <col class="parameters_description">
732
+ <col width="200px" class="parameters_annotations">
733
+ </colgroup>
606
734
  <tbody><tr>
607
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
608
- <td>a pointer to the unlinked declaration in</td>
735
+ <td class="parameter_name"><p>a_this</p></td>
736
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
737
+ <td class="parameter_annotations"> </td>
609
738
  </tr></tbody>
610
739
  </table></div>
611
740
  </div>
741
+ </div>
612
742
  <hr>
613
743
  <div class="refsect2">
614
- <a name="cr-declaration-unref"></a><h3>cr_declaration_unref ()</h3>
615
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_declaration_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
616
- <p>
617
- Decrements the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
744
+ <a name="cr-declaration-unref"></a><h3>cr_declaration_unref ()</h3>
745
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
746
+ cr_declaration_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
747
+ <p>Decrements the ref count of the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.
618
748
  If the ref count reaches zero, the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>
619
749
  if destroyed.
620
- </p>
621
- <div class="variablelist"><table border="0">
622
- <col align="left" valign="top">
623
- <tbody>
624
- <tr>
625
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
626
- <td>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</td>
627
- </tr>
628
- <tr>
629
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
630
- <td>TRUE if <em class="parameter"><code>a_this</code></em> was destroyed (ref count reached zero),
631
- FALSE otherwise.</td>
632
- </tr>
633
- </tbody>
750
+ Returns TRUE if <em class="parameter"><code>a_this</code></em>
751
+ was destroyed (ref count reached zero),
752
+ FALSE otherwise.</p>
753
+ <div class="refsect3">
754
+ <a name="id-1.2.5.6.18.5"></a><h4>Parameters</h4>
755
+ <div class="informaltable"><table width="100%" border="0">
756
+ <colgroup>
757
+ <col width="150px" class="parameters_name">
758
+ <col class="parameters_description">
759
+ <col width="200px" class="parameters_annotations">
760
+ </colgroup>
761
+ <tbody><tr>
762
+ <td class="parameter_name"><p>a_this</p></td>
763
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
764
+ <td class="parameter_annotations"> </td>
765
+ </tr></tbody>
634
766
  </table></div>
635
767
  </div>
636
768
  </div>
769
+ <hr>
770
+ <div class="refsect2">
771
+ <a name="cr-declaration-destroy"></a><h3>cr_declaration_destroy ()</h3>
772
+ <pre class="programlisting"><span class="returnvalue">void</span>
773
+ cr_declaration_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_this</code></em>);</pre>
774
+ <p>Destructor of the declaration list.</p>
775
+ <div class="refsect3">
776
+ <a name="id-1.2.5.6.19.5"></a><h4>Parameters</h4>
777
+ <div class="informaltable"><table width="100%" border="0">
778
+ <colgroup>
779
+ <col width="150px" class="parameters_name">
780
+ <col class="parameters_description">
781
+ <col width="200px" class="parameters_annotations">
782
+ </colgroup>
783
+ <tbody><tr>
784
+ <td class="parameter_name"><p>a_this</p></td>
785
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a>.</p></td>
786
+ <td class="parameter_annotations"> </td>
787
+ </tr></tbody>
788
+ </table></div>
789
+ </div>
790
+ </div>
791
+ </div>
792
+ <div class="refsect1">
793
+ <a name="libcroco-cr-declaration.other_details"></a><h2>Types and Values</h2>
794
+ <div class="refsect2">
795
+ <a name="CRDeclaration"></a><h3>struct CRDeclaration</h3>
796
+ <pre class="programlisting">struct CRDeclaration {
797
+ /**The property.*/
798
+ CRString *property ;
799
+
800
+ /**The value of the property.*/
801
+ CRTerm *value ;
802
+
803
+ /*the ruleset that contains this declaration*/
804
+ CRStatement *parent_statement ;
805
+
806
+ /*the next declaration*/
807
+ CRDeclaration *next ;
808
+
809
+ /*the previous one declaration*/
810
+ CRDeclaration *prev ;
811
+
812
+ /*does the declaration have the important keyword ?*/
813
+ gboolean important ;
814
+
815
+ glong ref_count ;
816
+
817
+ CRParsingLocation location ;
818
+ /*reserved for future usage*/
819
+ gpointer rfu0 ;
820
+ gpointer rfu1 ;
821
+ gpointer rfu2 ;
822
+ gpointer rfu3 ;
823
+ };
824
+ </pre>
637
825
  </div>
638
- <div class="footer">
639
826
  <hr>
640
- Generated by GTK-Doc V1.18</div>
827
+ <div class="refsect2">
828
+ <a name="CRStatement"></a><h3>CRStatement</h3>
829
+ <pre class="programlisting">typedef struct {
830
+ /**
831
+ *The type of the statement.
832
+ */
833
+ enum CRStatementType type ;
834
+
835
+ union
836
+ {
837
+ CRRuleSet *ruleset ;
838
+ CRAtImportRule *import_rule ;
839
+ CRAtMediaRule *media_rule ;
840
+ CRAtPageRule *page_rule ;
841
+ CRAtCharsetRule *charset_rule ;
842
+ CRAtFontFaceRule *font_face_rule ;
843
+ } kind ;
844
+
845
+ /*
846
+ *the specificity of the selector
847
+ *that matched this statement.
848
+ *This is only used by the cascading
849
+ *order determination algorithm.
850
+ */
851
+ gulong specificity ;
852
+
853
+ /*
854
+ *the style sheet that contains
855
+ *this css statement.
856
+ */
857
+ CRStyleSheet *parent_sheet ;
858
+ CRStatement *next ;
859
+ CRStatement *prev ;
860
+
861
+ CRParsingLocation location ;
862
+
863
+ /**
864
+ *a custom pointer useable by
865
+ *applications that use libcroco.
866
+ *libcroco itself will never modify
867
+ *this pointer.
868
+ */
869
+ gpointer app_data ;
870
+
871
+ /**
872
+ *a custom pointer used
873
+ *by the upper layers of libcroco.
874
+ *application should never use this
875
+ *pointer.
876
+ */
877
+ gpointer croco_data ;
878
+ } CRStatement;
879
+ </pre>
880
+ </div>
881
+ </div>
882
+ </div>
883
+ <div class="footer">
884
+ <hr>Generated by GTK-Doc V1.24.1</div>
641
885
  </body>
642
886
  </html>