svn: /phpdoc/ru/trunk/reference/ffi/ffi/ addr.xml alignof.xml arraytype.xml cast.xml cdef.xml free.xml isnull.xml load.xml memcmp.xml memcpy.xml memset.xml new.xml scope.xml sizeof.xml string.xml type.xml typeof.xml
[email protected] (Sergey Panteleev)
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 31 Dec 2019 01:15:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348742
Log:
docs(ru): Review
Changed paths:
U phpdoc/ru/trunk/reference/ffi/ffi/addr.xml
U phpdoc/ru/trunk/reference/ffi/ffi/alignof.xml
U phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml
U phpdoc/ru/trunk/reference/ffi/ffi/cast.xml
U phpdoc/ru/trunk/reference/ffi/ffi/cdef.xml
U phpdoc/ru/trunk/reference/ffi/ffi/free.xml
U phpdoc/ru/trunk/reference/ffi/ffi/isnull.xml
U phpdoc/ru/trunk/reference/ffi/ffi/load.xml
U phpdoc/ru/trunk/reference/ffi/ffi/memcmp.xml
U phpdoc/ru/trunk/reference/ffi/ffi/memcpy.xml
U phpdoc/ru/trunk/reference/ffi/ffi/memset.xml
U phpdoc/ru/trunk/reference/ffi/ffi/new.xml
U phpdoc/ru/trunk/reference/ffi/ffi/scope.xml
U phpdoc/ru/trunk/reference/ffi/ffi/sizeof.xml
U phpdoc/ru/trunk/reference/ffi/ffi/string.xml
U phpdoc/ru/trunk/reference/ffi/ffi/type.xml
U phpdoc/ru/trunk/reference/ffi/ffi/typeof.xml
svn-diffs-348742.txt
(text/x-diff, 15 KB)
Modified: phpdoc/ru/trunk/reference/ffi/ffi/addr.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/addr.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/addr.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.addr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/alignof.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/alignof.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/alignof.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.alignof" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/arraytype.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.arraytype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/cast.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/cast.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/cast.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.cast" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -28,10 +28,10 @@
Полученный объект не становится владельцем данных, так что
исходный указатель <parameter>ptr</parameter> должен
оставаться живым дольше полученного объекта. Тип C должен
- быть задан как строка содержащая имя любого корректного
- типа С либо как объект <classname>FFI\CType</classname>.
+ быть задан как строка, содержащая имя любого корректного
+ типа С, либо как объект <classname>FFI\CType</classname>.
Если метод вызывается статически, то можно использовать только
- предопределённые име типов С (например
+ предопределённые имена типов С (например,
<literal>int</literal>, <literal>char</literal>, etc.); если метод
вызывается как метод объекта, то допустимы любые определённые
для него типы.
Modified: phpdoc/ru/trunk/reference/ffi/ffi/cdef.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/cdef.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/cdef.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347387 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.cdef" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/free.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/free.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/free.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.free" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/isnull.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/isnull.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/isnull.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347967 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.isnull" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -37,7 +37,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает &true; или &false; в зависимости огт того,
+ Возвращает &true; или &false; в зависимости от того,
является ли FFI\CData нулевым указателем.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/load.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/load.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/load.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.load" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/memcmp.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/memcmp.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/memcmp.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.memcmp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -22,7 +22,7 @@
<parameter>ptr1</parameter> и <parameter>ptr2</parameter>.
И <parameter>ptr1</parameter> и <parameter>ptr2</parameter>
могут быть любыми нативными структурами данных
- (<classname>FFI\CData</classname>) or PHP, либо строками PHP.
+ (<classname>FFI\CData</classname>), либо строками PHP.
</para>
</refsect1>
@@ -61,7 +61,7 @@
<para>
Возвращает < <literal>0</literal>, если содержимое памяти для
<parameter>ptr1</parameter> меньше, чем для
- <parameter>ptr2</parameter>, > <literal>0</literal> если первое
+ <parameter>ptr2</parameter>, > <literal>0</literal>, если первое
больше второго и <literal>0</literal>, если равны.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/memcpy.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/memcpy.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/memcpy.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.memcpy" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/memset.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/memset.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/memset.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.memset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/new.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/new.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/new.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 348195 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.new" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -27,8 +27,8 @@
Создаёт нативную структуру данных заданного типа.
При статическом вызове данного метода необходимо использовать
только предопределённые имена типов С (такие как
- <literal>int</literal>, <literal>char</literal>, etc.); при вызове как
- метода объекта, то допустим любой тип объявленный для него.
+ <literal>int</literal>, <literal>char</literal>, и т.д.); при вызове как
+ метод объекта, допустим любой тип объявленный для него.
</para>
</refsect1>
@@ -40,7 +40,7 @@
<listitem>
<para>
<parameter>type</parameter> - корректная декларация типа С,
- например <type>string</type>, или заранее созданный объект класса
+ например, <type>string</type> или заранее созданный объект класса
<classname>FFI\CType</classname>.
</para>
</listitem>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/scope.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/scope.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/scope.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.scope" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/sizeof.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/sizeof.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/sizeof.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.sizeof" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/string.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/string.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/string.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.string" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/type.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/type.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/type.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.type" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -20,12 +20,12 @@
<methodparam><type>mixed</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
- Эта функция создаёт и возвращает объект
+ Функция создаёт и возвращает объект
<classname>FFI\CType</classname> для заданной строки, содержащей
декларацию типа С.
Если метод вызывается статически, то можно использовать только
- предопределённые име типов С (например
- <literal>int</literal>, <literal>char</literal>, etc.); если метод
+ предопределённые имена типов С (например,
+ <literal>int</literal>, <literal>char</literal>, и т.д.); если метод
вызывается как метод объекта, то допустимы любые определённые
для него типы.
</para>
Modified: phpdoc/ru/trunk/reference/ffi/ffi/typeof.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/typeof.xml 2019-12-30 22:18:25 UTC (rev 348741)
+++ phpdoc/ru/trunk/reference/ffi/ffi/typeof.xml 2019-12-31 01:15:24 UTC (rev 348742)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 347385 Maintainer: rjhdby Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ffi.typeof" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>