Skip to content

Commit

Permalink
Replace _XXX with _* in constants
Browse files Browse the repository at this point in the history
  • Loading branch information
mumumu committed Dec 15, 2024
1 parent f8aa094 commit 4b431e0
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 28 deletions.
5 changes: 3 additions & 2 deletions reference/com/functions/variant-cast.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: dccfbf96599009809b81fc2599f76a4dd40f2666 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<refentry xml:id="function.variant-cast" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>variant_cast</refname>
Expand Down Expand Up @@ -38,7 +38,8 @@
<term><parameter>type</parameter></term>
<listitem>
<para>
<parameter>type</parameter> は、定数 <constant>VT_XXX</constant>
<parameter>type</parameter> は、定数
<constant>VT_<replaceable>*</replaceable></constant>
の中のひとつでなければなりません。
</para>
</listitem>
Expand Down
5 changes: 3 additions & 2 deletions reference/com/functions/variant-get-type.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 2b220300c871e7530c0a62fb69c23b75800b4c63 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.variant-get-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -40,7 +40,8 @@
<xref linkend="class.com"/>、
<xref linkend="class.dotnet"/> あるいは
<xref linkend="class.variant"/> クラスのインスタンスです。
返される値は、<constant>VT_XXX</constant> 定数のいずれかと比較することが可能です。
返される値は、<constant>VT_<replaceable>*</replaceable></constant>
定数のいずれかと比較することが可能です。
</para>
<para>
COM および DOTNET オブジェクトの返す値は、通常
Expand Down
5 changes: 3 additions & 2 deletions reference/com/variant/construct.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 49ff12041acd30489ef8cb7b1e08ec1ddf4dc6bc Maintainer: mumumu Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: mumumu Status: ready -->

<refentry xml:id="variant.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand Down Expand Up @@ -38,7 +38,8 @@
<simpara>
variant オブジェクトの型を指定します。
有効な値は <xref
linkend="com.constants"/> の <constant>VT_XXX</constant> のうちの一つです。
linkend="com.constants"/> の
<constant>VT_<replaceable>*</replaceable></constant> のうちの一つです。
</simpara>
<simpara>
PHP は参照渡しを自動で認識できます。
Expand Down
5 changes: 3 additions & 2 deletions reference/curl/functions/curl-multi-add-handle.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 92226911a09278dd440b836583bf382c629cfc63 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.curl-multi-add-handle" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -35,7 +35,8 @@
&reftitle.returnvalues;
<para>
成功した場合に 0、あるいはエラーコード
<constant>CURLM_XXX</constant> のいずれかを返します。
<constant>CURLM_<replaceable>*</replaceable></constant>
のいずれかを返します。
</para>
</refsect1>

Expand Down
7 changes: 4 additions & 3 deletions reference/curl/functions/curl-multi-remove-handle.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<refentry xml:id="function.curl-multi-remove-handle" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>curl_multi_remove_handle</refname>
Expand Down Expand Up @@ -36,8 +36,9 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
成功した場合に 0、失敗した場合にエラーコード <constant>CURLM_XXX</constant> のいずれかを返します。
codes.
成功した場合に 0、失敗した場合にエラーコード
<constant>CURLM_<replaceable>*</replaceable></constant>
のいずれかを返します。
</para>
</refsect1>

Expand Down
6 changes: 4 additions & 2 deletions reference/curl/functions/curl-setopt.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 310963ad9ab1c2ca315361ff94314a21fa65f8b8 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,mumumu -->
<refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -30,7 +30,9 @@
<term><parameter>option</parameter></term>
<listitem>
<para>
設定したい <literal>CURLOPT_XXX</literal> オプション。
設定したい
<constant>CURLOPT_<replaceable>*</replaceable></constant>
オプション。
</para>
</listitem>
</varlistentry>
Expand Down
4 changes: 2 additions & 2 deletions reference/curl/functions/curl-version.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 08a941584f00b659f595dfc6d108a73b2e6849a6 Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xml:id="function.curl-version" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -67,7 +67,7 @@
</row>
<row>
<entry>features</entry>
<entry>定数 <literal>CURL_VERSION_XXX</literal> のビットマスク</entry>
<entry>定数 <constant>CURL_VERSION_<replaceable>*</replaceable></constant>のビットマスク</entry>
</row>
<row>
<entry>protocols</entry>
Expand Down
4 changes: 2 additions & 2 deletions reference/image/functions/getimagesize.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d0532e45fb2b6766c7fc73c7ccfc30a9720f8888 Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.getimagesize">
<refnamediv>
Expand Down Expand Up @@ -119,7 +119,7 @@
</para>
</note>
<para>
2 番目の要素は <link linkend="image.constants">IMAGETYPE_XXX constants</link> 定数のひとつで、
2 番目の要素は <constant>IMAGETYPE_<replaceable>*</replaceable></constant> 定数のひとつで、
画像の形式を表します。
</para>
<para>
Expand Down
7 changes: 4 additions & 3 deletions reference/image/functions/image-type-to-extension.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 0c9c2dd669fe9395eaa73d487fbd160f9057429a Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.image-type-to-extension" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -15,7 +15,7 @@
<methodparam choice="opt"><type>bool</type><parameter>include_dot</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
指定した定数 <literal>IMAGETYPE_XXX</literal>
指定した定数 <constant>IMAGETYPE_<replaceable>*</replaceable></constant>
に対応する拡張子を返します。
</para>
</refsect1>
Expand All @@ -27,7 +27,8 @@
<term><parameter>image_type</parameter></term>
<listitem>
<para>
<literal>IMAGETYPE_XXX</literal> 定数のいずれかひとつ。
<constant>IMAGETYPE_<replaceable>*</replaceable></constant>
定数のいずれかひとつ。
</para>
</listitem>
</varlistentry>
Expand Down
5 changes: 3 additions & 2 deletions reference/image/functions/image-type-to-mime-type.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f40e02ff1bd0eb238dc8e542434004de9eb03a58 Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xml:id="function.image-type-to-mime-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -29,7 +29,8 @@
<term><parameter>image_type</parameter></term>
<listitem>
<para>
<literal>IMAGETYPE_XXX</literal> 定数のいずれか。
<constant>IMAGETYPE_<replaceable>*</replaceable></constant>
定数のいずれか。
</para>
</listitem>
</varlistentry>
Expand Down
5 changes: 3 additions & 2 deletions reference/image/functions/imagepng.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ccd3e68e1e8a89a099a32207dd31ed26b70f43cd Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xml:id="function.imagepng" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -56,7 +56,8 @@
<para>
PNG ファイルの大きさを小さくします。
これはビットマスクフィールドで、定数
<literal>PNG_FILTER_XXX</literal> の組み合わせを指定します。
<constant>PNG_FILTER_<replaceable>*</replaceable></constant>
の組み合わせを指定します。
<constant>PNG_NO_FILTER</constant> や
<constant>PNG_ALL_FILTERS</constant> を使用すると、
全フィルタを一括で無効にしたり有効にしたりできます。
Expand Down
5 changes: 3 additions & 2 deletions reference/soap/soapserver/setpersistence.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: fe4e8b87d18f17394e7177917c498774b062448c Maintainer: takagi Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,shimooka -->

<refentry xml:id="soapserver.setpersistence" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand Down Expand Up @@ -49,7 +49,8 @@
<term><parameter>mode</parameter></term>
<listitem>
<para>
<literal>SOAP_PERSISTENCE_XXX</literal> 定数のうちの一つ
<constant>SOAP_PERSISTENCE_<replaceable>*</replaceable></constant>
定数のうちの一つ
</para>
<para>
<constant>SOAP_PERSISTENCE_REQUEST</constant> - SoapServer のデータはリクエスト間で持続しません。
Expand Down
5 changes: 3 additions & 2 deletions reference/tidy/constants.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
<!-- EN-Revision: 423252b252bbb0d54ed044b279caa7938f755226 Maintainer: shimooka Status: ready -->
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: shimooka Status: ready -->
<!-- CREDITS: hirokawa,takagi,mumumu -->
<appendix xml:id="tidy.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<para>
それぞれの <constant>TIDY_TAG_XXX</constant> は HTML タグに相当します。
それぞれの <constant>TIDY_TAG_<replaceable>*</replaceable></constant>
定数は HTML タグに相当します。
例えば、
<literal>TIDY_TAG_A</literal> は
<literal>"&lt;a href="XX"&gt;link&lt;/a&gt;"</literal> タグに相当します。
Expand Down

0 comments on commit 4b431e0

Please sign in to comment.