Skip to content

Commit d1218d3

Browse files
committed
wip
1 parent 94c00ca commit d1218d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+132
-109
lines changed

reference/ffi/book.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<!-- $Revision$ -->
33
<!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: nsfisis Status: working -->
44

5+
!!!
56
<book xml:id="book.ffi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
67
<?phpdoc extension-membership="bundled" ?>
7-
<title>Foreign Function Interface</title>
8+
<title>外部関数インターフェース</title>
89
<titleabbrev>FFI</titleabbrev>
910

1011
<preface xml:id="intro.ffi">

reference/ffi/configure.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
&reftitle.install;
77

88
<para>
9-
To enable the FFI extension, PHP has to be configured with
10-
<option role="configure">--with-ffi</option>.
9+
FFI 拡張を有効にするには、
10+
<option role="configure">--with-ffi</option> を付けて
11+
PHP をビルドする必要があります。
1112
</para>
1213

1314
<para>
14-
Windows users have to include <filename>php_ffi.dll</filename> into &php.ini;
15-
to enable the FFI extension.
15+
Windows ユーザーが FFI 拡張を有効にするには、
16+
&php.ini; に <filename>php_ffi.dll</filename> を含める必要があります。
1617
</para>
1718

1819
</section>

reference/ffi/ctype/getalignment.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getalignment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getAlignment</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getarrayelementtype.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getarrayelementtype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getArrayElementType</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getarraylength.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getarraylength" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getArrayLength</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getattributes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getattributes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getAttributes</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getenumkind.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getenumkind" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getEnumKind</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getfuncabi.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getfuncabi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getFuncABI</refname>
8-
<refpurpose>Description</refpurpose>
8+
<refpurpose>説明</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">

reference/ffi/ctype/getfuncparametercount.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getfuncparametercount" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getFuncParameterCount</refname>
8-
<refpurpose>Retrieve the count of parameters of a function type</refpurpose>
8+
<refpurpose>関数型の引数の数を取得する</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">
@@ -28,9 +28,9 @@
2828
<refsect1 role="returnvalues">
2929
&reftitle.returnvalues;
3030
<para>
31-
Returns the number of parameters for the underlying function type.
32-
If the underlying type is not a function, an
33-
<exceptionname>FFI\Exception</exceptionname> is thrown.
31+
内部的に保持している関数型の引数の数を返します。
32+
内部的に保持している型が関数でない場合、
33+
<exceptionname>FFI\Exception</exceptionname> をスローします。
3434
</para>
3535
</refsect1>
3636

reference/ffi/ctype/getfuncparametertype.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<refentry xml:id="ffi-ctype.getfuncparametertype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
77
<refname>FFI\CType::getFuncParameterType</refname>
8-
<refpurpose>Retrieve the type of a function parameter</refpurpose>
8+
<refpurpose>関数の引数の型を取得する</refpurpose>
99
</refnamediv>
1010

1111
<refsect1 role="description">
@@ -15,7 +15,7 @@
1515
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
18-
Returns the type of a parameter for the underlying function type.
18+
内部的に保持している関数型の引数の型を返します。
1919
</para>
2020

2121
</refsect1>
@@ -27,7 +27,7 @@
2727
<term><parameter>index</parameter></term>
2828
<listitem>
2929
<para>
30-
Index of the function parameter, zero-based.
30+
関数の引数のインデックス (ゼロオリジン)。
3131
</para>
3232
</listitem>
3333
</varlistentry>
@@ -37,10 +37,10 @@
3737
<refsect1 role="returnvalues">
3838
&reftitle.returnvalues;
3939
<para>
40-
Returns the type of a parameter for the underlying function type.
41-
If the underlying type is not a function, or the given index is outside
42-
of the range of parameters of the function, an
43-
<exceptionname>FFI\Exception</exceptionname> is thrown.
40+
内部的に保持している関数型の引数の型を返します。
41+
内部的に保持している型が関数でない場合や、
42+
与えられたインデックスがその関数の引数の範囲外の場合、
43+
<exceptionname>FFI\Exception</exceptionname> をスローします。
4444
</para>
4545
</refsect1>
4646

0 commit comments

Comments
 (0)