~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/glib-mkenums.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-10-08 18:34:23 UTC
  • mfrom: (1.7.1 upstream) (75.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091008183423-w05jzgycqjo2lh1y
Tags: 2.22.2-2
* debian/patches/90_mimetype-sorting.patch:
  + Fix sorting of mimetypes by weight. Highest weight means most
    important, not the other way around. Patch from upstream GIT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
<div class="cmdsynopsis"><p><code class="command">glib-mkenums</code>  [options...] [files...]</p></div>
63
63
</div>
64
64
<div class="refsect1" title="Description">
65
 
<a name="id727958"></a><h2>Description</h2>
 
65
<a name="id708871"></a><h2>Description</h2>
66
66
<p><span class="command"><strong>glib-mkenums</strong></span> is a small perl-script utility that parses C
67
67
code to extract enum definitions and produces enum descriptions based on text
68
68
templates specified by the user. Most frequently this script is used to 
71
71
</p>
72
72
</div>
73
73
<div class="refsect1" title="Invocation">
74
 
<a name="id727974"></a><h2>Invocation</h2>
 
74
<a name="id708888"></a><h2>Invocation</h2>
75
75
<p><span class="command"><strong>glib-mkenums</strong></span> takes a list of valid C code files as
76
76
input. The options specified control the text that is output, certain 
77
77
substitutions are performed on the text templates for keywords enclosed 
78
78
in @ characters.
79
79
</p>
80
80
<div class="refsect2" title="Options">
81
 
<a name="id727989"></a><h3>Options</h3>
 
81
<a name="id708902"></a><h3>Options</h3>
82
82
<div class="variablelist"><table border="0">
83
83
<col align="left" valign="top">
84
84
<tbody>
173
173
</div>
174
174
<hr>
175
175
<div class="refsect2" title="Production text substitutions">
176
 
<a name="id728251"></a><h3>Production text substitutions</h3>
 
176
<a name="id709164"></a><h3>Production text substitutions</h3>
177
177
<p>
178
178
Certain keywords enclosed in @ characters will be substituted in the 
179
179
emitted text. For the substitution examples of the keywords below, 
276
276
</div>
277
277
<hr>
278
278
<div class="refsect2" title="Trigraph extensions">
279
 
<a name="id728417"></a><h3>Trigraph extensions</h3>
 
279
<a name="id709330"></a><h3>Trigraph extensions</h3>
280
280
<p>
281
281
Some C comments are treated specially in the parsed enum definitions, 
282
282
such comments start out with the trigraph sequence <code class="literal">/*&lt;</code> 
312
312
</div>
313
313
</div>
314
314
<div class="refsect1" title="See also">
315
 
<a name="id728462"></a><h2>See also</h2>
 
315
<a name="id709375"></a><h2>See also</h2>
316
316
<p><span class="command"><strong>glib-genmarshal</strong></span>(1)
317
317
</p>
318
318
</div>