mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-09 10:44:04 +02:00
docs: Drop references to Perl in glib-mkenums
The tool was ported to Python, but we should not mention the programming language used, in case we port it to some other language in the distant future.
This commit is contained in:
@@ -32,11 +32,11 @@
|
|||||||
</refsynopsisdiv>
|
</refsynopsisdiv>
|
||||||
|
|
||||||
<refsect1><title>Description</title>
|
<refsect1><title>Description</title>
|
||||||
<para><command>glib-mkenums</command> is a small perl-script utility that
|
<para><command>glib-mkenums</command> is a small utility that parses C code to
|
||||||
parses C code to extract enum definitions and produces enum descriptions based
|
extract enum definitions and produces enum descriptions based on text templates
|
||||||
on text templates specified by the user. Most frequently this script is used to
|
specified by the user. Most frequently this script is used to produce C code
|
||||||
produce C code that contains enum values as strings so programs can provide
|
that contains enum values as strings so programs can provide value name strings
|
||||||
value name strings for introspection.
|
for introspection.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para><command>glib-mkenums</command> takes a list of valid C code files as
|
<para><command>glib-mkenums</command> takes a list of valid C code files as
|
||||||
@@ -121,12 +121,10 @@ minus (e.g. the-xvalue).
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>@valuenum@</term>
|
<term>@valuenum@</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
The integer value for the enum value currently being processed. This is
|
The integer value for the enum value currently being processed. If the
|
||||||
calculated by using <command>perl</command> to attempt to evaluate the
|
evaluation fails then <command>glib-mkenums</command> will exit with an
|
||||||
expression as it appears in the C source code. If evaluation fails then
|
error status, but this only happens if <literal>@valuenum@</literal>
|
||||||
<command>glib-mkenums</command> will exit with an error status, but this
|
appears in your value production template. (Since: 2.26)
|
||||||
only happens if <literal>@valuenum@</literal> appears in your value
|
|
||||||
production template. (Since: 2.26)
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user