File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1313 <section xml : id =" ffi.intro" >
1414 &reftitle.intro;
1515 <para >
16- !!!
17- Objects of this class are created by the factory methods <methodname >FFI::cdef </methodname >,
18- < methodname >FFI::load</ methodname > or < methodname > FFI::scope</ methodname >. Defined C variables
19- are made available as properties of the FFI instance, and defined C functions are made available
20- as methods of the FFI instance. Declared C types can be used to create new C data structures
21- using < methodname >FFI::new</ methodname > and < methodname >FFI::type</ methodname >.
16+ このクラスのオブジェクトは、ファクトリーメソッドである < methodname >FFI::cdef</ methodname > や
17+ <methodname >FFI::load </methodname >、< methodname >FFI::scope</ methodname > によって作成されます。
18+ 定義された C の変数は FFI インスタンスのプロパティとして利用可能となり、
19+ 定義された C の関数は FFI インスタンスのメソッドとして利用可能となります。
20+ 宣言された C の型は、< methodname >FFI:: new</ methodname > や < methodname >FFI::type</ methodname > を使って
21+ 新しい C のデータ構造を作成するのに使用できます。
2222 </para >
2323 <para >
2424 !!!
2929 the default scope is "C") and then loaded by <methodname >FFI::load</methodname > during preloading.
3030 This leads to the creation of a persistent binding, that will be available to all the following
3131 requests through <methodname >FFI::scope</methodname >.
32- Refer to the <link linkend =" ffi.examples-complete" >complete PHP/FFI/preloading example </link >
33- for details.
32+ 詳しくは <link linkend =" ffi.examples-complete" >PHP/FFI/事前ロードの完全な例 </link >
33+ を参照してください。
3434 </para >
3535 <para >
36- !!!
37- It is possible to preload more than one C header file into the same scope.
36+ 一つ以上の C のヘッダーファイルを同一のスコープへと事前ロードすることは可能です。
3837 </para >
3938 </section >
4039<!-- }}} -->
You can’t perform that action at this time.
0 commit comments