Skip to content

Commit 3c061e3

Browse files
committed
wip
1 parent b06135f commit 3c061e3

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

reference/ffi/ffi.cdata.xml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@
7474
</listitem>
7575
<listitem>
7676
<simpara>
77-
!!!
78-
Any C data can be duplicated using the <link linkend="language.oop5.cloning">clone</link>
79-
operator, e.g. <code>$cdata2 = clone $cdata;</code>
77+
任意の C のデータは <link linkend="language.oop5.cloning">clone</link> 演算子を使って
78+
複製できます。例: <code>$cdata2 = clone $cdata;</code>
8079
</simpara>
8180
</listitem>
8281
<listitem>
8382
<simpara>
84-
!!!
85-
Any C data can be visualized using <function>var_dump</function>, <function>print_r</function>, etc.
83+
任意の C のデータは <function>var_dump</function> や <function>print_r</function> 等を
84+
使って可視化できます。
8685
</simpara>
8786
</listitem>
8887
<listitem>
@@ -93,10 +92,9 @@
9392
</itemizedlist>
9493
<note>
9594
<simpara>
96-
!!!
97-
Notable limitations are that <classname>FFI\CData</classname> instances do not support
98-
<function>isset</function>, <function>empty</function> and <function>unset</function>,
99-
and that wrapped C structs and unions do not implement <interfacename>Traversable</interfacename>.
95+
特筆すべき制限として、<classname>FFI\CData</classname> インスタンスは
96+
<function>isset</function>、<function>empty</function>、<function>unset</function> をサポートしていません。
97+
また、ラップされた C の構造体や共用体は <interfacename>Traversable</interfacename> を実装していません。
10098
</simpara>
10199
</note>
102100
</para>
@@ -131,8 +129,7 @@
131129
<row>
132130
<entry>8.3.0</entry>
133131
<entry>
134-
!!!
135-
<classname>FFI\CData</classname> can now be assigned to structs and fields.
132+
<classname>FFI\CData</classname> は構造体やフィールドに代入できるようになりました。
136133
</entry>
137134
</row>
138135
</tbody>

0 commit comments

Comments
 (0)