File tree 2 files changed +9
-4
lines changed
doc/reference/reference_lua
locale/ru/LC_MESSAGES/reference/reference_lua
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
There are some major problems with using Lua **nil ** values in tables.
8
8
For example: you can't correctly assess the length of a table that is not a sequence.
9
+ (Learn more about data types in `Lua <https://www.lua.org/manual/5.1/manual.html#2.2 >`__
10
+ and `LuaJIT <http://luajit.org/ext_ffi_semantics.html >`__.)
9
11
10
12
**Example: **
11
13
@@ -45,7 +47,7 @@ without a value.
45
47
Using box.NULL
46
48
~~~~~~~~~~~~~~
47
49
48
- ``box.NULL `` is a value of the cdata type representing a NULL pointer.
50
+ ``box.NULL `` is a value of the ` cdata < http://luajit.org/ext_ffi_semantics.html >`__ type representing a NULL pointer.
49
51
It is similar to ``msgpack.NULL ``, ``json.NULL `` and ``yaml.NULL ``. So it is
50
52
some not **nil ** value, even if it is a pointer to NULL.
51
53
Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ msgstr "Константа `box.NULL`"
5
5
msgid ""
6
6
"There are some major problems with using Lua **nil** values in tables. For "
7
7
"example: you can't correctly assess the length of a table that is not a "
8
- "sequence."
8
+ "sequence. (Learn more about data types in `Lua <https://www.lua.org/manual/5.1/manual.html#2.2>`__ "
9
+ "and `LuaJIT <http://luajit.org/ext_ffi_semantics.html>`__.)"
9
10
msgstr ""
10
11
"Имеется целый ряд серьезных проблем при использовании значения **nil** из "
11
12
"Lua в таблицах. Например: вы не можете корректно оценить длину таблицы, не "
12
- "являющейся последовательностью."
13
+ "являющейся последовательностью. (Узнайте больше о типах данных в `Lua "
14
+ "<https://www.lua.org/manual/5.1/manual.html#2.2>`__ "
15
+ "и `LuaJIT <http://luajit.org/ext_ffi_semantics.html>`__.)"
13
16
14
17
msgid "**Example:**"
15
18
msgstr "**Пример:**"
@@ -63,7 +66,7 @@ msgid "Using box.NULL"
63
66
msgstr "Использование box.NULL"
64
67
65
68
msgid ""
66
- "``box.NULL`` is a value of the cdata type representing a NULL pointer. It is"
69
+ "``box.NULL`` is a value of the ` cdata <http://luajit.org/ext_ffi_semantics.html>`__ type representing a NULL pointer. It is"
67
70
" similar to ``msgpack.NULL``, ``json.NULL`` and ``yaml.NULL``. So it is some"
68
71
" not **nil** value, even if it is a pointer to NULL."
69
72
msgstr ""
You can’t perform that action at this time.
0 commit comments