~ubuntu-branches/ubuntu/intrepid/glib2.0/intrepid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-09-03 00:51:29 UTC
  • mfrom: (1.2.47 upstream)
  • Revision ID: james.westby@ubuntu.com-20080903005129-cuvzg72uin744gd6
Tags: 2.18.0-1
* New upstream stable release, with API addition.
  - Update symbols file for new g_object_get_type() symbol and drop
    g_slice_debug_tree_statistics() which shouldn't have been exported in
    the first place.
  - Refresh patches 01_gettext-desktopfiles,
    02_usr_share_gnome_applications, and 03_blacklist-directories to apply
    cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
<div class="cmdsynopsis"><p><code class="command">glib-mkenums</code>  [options...] [files...]</p></div>
62
62
</div>
63
63
<div class="refsect1" lang="en">
64
 
<a name="id2859163"></a><h2>Description</h2>
 
64
<a name="id2880010"></a><h2>Description</h2>
65
65
<p><span class="command"><strong>glib-mkenums</strong></span> is a small perl-script utility that parses C
66
66
code to extract enum definitions and produces enum descriptions based on text
67
67
templates specified by the user. Most frequently this script is used to 
70
70
</p>
71
71
</div>
72
72
<div class="refsect1" lang="en">
73
 
<a name="id2859182"></a><h2>Invocation</h2>
 
73
<a name="id2880028"></a><h2>Invocation</h2>
74
74
<p><span class="command"><strong>glib-mkenums</strong></span> takes a list of valid C code files as
75
75
input. The options specified control the text that is output, certain 
76
76
substitutions are performed on the text templates for keywords enclosed 
77
77
in @ characters.
78
78
</p>
79
79
<div class="refsect2" lang="en">
80
 
<a name="id2859198"></a><h3>Options</h3>
 
80
<a name="id2880043"></a><h3>Options</h3>
81
81
<div class="variablelist"><table border="0">
82
82
<col align="left" valign="top">
83
83
<tbody>
172
172
</div>
173
173
<hr>
174
174
<div class="refsect2" lang="en">
175
 
<a name="id2859467"></a><h3>Production text substitutions</h3>
 
175
<a name="id2880312"></a><h3>Production text substitutions</h3>
176
176
<p>
177
177
Certain keywords enclosed in @ characters will be substituted in the 
178
178
emitted text. For the substitution examples of the keywords below, 
269
269
</div>
270
270
<hr>
271
271
<div class="refsect2" lang="en">
272
 
<a name="id2859636"></a><h3>Trigraph extensions</h3>
 
272
<a name="id2880481"></a><h3>Trigraph extensions</h3>
273
273
<p>
274
274
Some C comments are treated specially in the parsed enum definitions, 
275
275
such comments start out with the trigraph sequence <code class="literal">/*&lt;</code> 
305
305
</div>
306
306
</div>
307
307
<div class="refsect1" lang="en">
308
 
<a name="id2859695"></a><h2>See also</h2>
 
308
<a name="id2880540"></a><h2>See also</h2>
309
309
<p><span class="command"><strong>glib-genmarshal</strong></span>(1)
310
310
</p>
311
311
</div>