~ubuntu-branches/ubuntu/precise/glib2.0/precise-updates

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-01-10 16:23:46 UTC
  • mfrom: (1.59.35)
  • Revision ID: package-import@ubuntu.com-20120110162346-5s54yf7s1va1zb6i
Tags: 2.31.8-0ubuntu1
* New upstream version, drop patch which is in the new version
* debian/libglib2.0-0.symbols: new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
<div class="cmdsynopsis"><p><code class="command">glib-mkenums</code>  [options...] [files...]</p></div>
34
34
</div>
35
35
<div class="refsect1">
36
 
<a name="id449376"></a><h2>Description</h2>
 
36
<a name="id617383"></a><h2>Description</h2>
37
37
<p><span class="command"><strong>glib-mkenums</strong></span> is a small perl-script utility that parses C
38
38
code to extract enum definitions and produces enum descriptions based on text
39
39
templates specified by the user. Most frequently this script is used to 
42
42
</p>
43
43
</div>
44
44
<div class="refsect1">
45
 
<a name="id465809"></a><h2>Invocation</h2>
 
45
<a name="id579338"></a><h2>Invocation</h2>
46
46
<p><span class="command"><strong>glib-mkenums</strong></span> takes a list of valid C code files as
47
47
input. The options specified control the text that is output, certain 
48
48
substitutions are performed on the text templates for keywords enclosed 
49
49
in @ characters.
50
50
</p>
51
51
<div class="refsect2">
52
 
<a name="id448743"></a><h3>Options</h3>
 
52
<a name="id563127"></a><h3>Options</h3>
53
53
<div class="variablelist"><table border="0">
54
54
<col align="left" valign="top">
55
55
<tbody>
166
166
</div>
167
167
<hr>
168
168
<div class="refsect2">
169
 
<a name="id496610"></a><h3>Production text substitutions</h3>
 
169
<a name="id591673"></a><h3>Production text substitutions</h3>
170
170
<p>
171
171
Certain keywords enclosed in @ characters will be substituted in the 
172
172
emitted text. For the substitution examples of the keywords below, 
280
280
</div>
281
281
<hr>
282
282
<div class="refsect2">
283
 
<a name="id467241"></a><h3>Trigraph extensions</h3>
 
283
<a name="id563032"></a><h3>Trigraph extensions</h3>
284
284
<p>
285
285
Some C comments are treated specially in the parsed enum definitions, 
286
286
such comments start out with the trigraph sequence <code class="literal">/*&lt;</code> 
316
316
</div>
317
317
</div>
318
318
<div class="refsect1">
319
 
<a name="id471176"></a><h2>See also</h2>
 
319
<a name="id593846"></a><h2>See also</h2>
320
320
<p>
321
321
<span class="citerefentry"><span class="refentrytitle">glib-genmarshal</span>(1)</span>
322
322
</p>