Skip to content

Commit 046cae8

Browse files
committed
Provide links to Lua and LuaJIT data types
Resolves #1318
1 parent 4bd015c commit 046cae8

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

doc/reference/reference_lua/box_null.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
There are some major problems with using Lua **nil** values in tables.
88
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>`__.)
911

1012
**Example:**
1113

@@ -45,7 +47,7 @@ without a value.
4547
Using box.NULL
4648
~~~~~~~~~~~~~~
4749

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.
4951
It is similar to ``msgpack.NULL``, ``json.NULL`` and ``yaml.NULL``. So it is
5052
some not **nil** value, even if it is a pointer to NULL.
5153

locale/ru/LC_MESSAGES/reference/reference_lua/box_null.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ msgstr "Константа `box.NULL`"
55
msgid ""
66
"There are some major problems with using Lua **nil** values in tables. For "
77
"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>`__.)"
910
msgstr ""
1011
"Имеется целый ряд серьезных проблем при использовании значения **nil** из "
1112
"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>`__.)"
1316

1417
msgid "**Example:**"
1518
msgstr "**Пример:**"
@@ -63,7 +66,7 @@ msgid "Using box.NULL"
6366
msgstr "Использование box.NULL"
6467

6568
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"
6770
" similar to ``msgpack.NULL``, ``json.NULL`` and ``yaml.NULL``. So it is some"
6871
" not **nil** value, even if it is a pointer to NULL."
6972
msgstr ""

0 commit comments

Comments
 (0)