Skip to content

Commit 700dd3e

Browse files
author
Vladimir I
committed
Fix gh-858 Extend module "tarantool" with the field "package"
Added suggested example with package field
1 parent 9ecce48 commit 700dd3e

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

doc/1.10/reference/reference_lua/tarantool.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,27 @@ the tarantool module is recommended.
2323
2424
tarantool> tarantool = require('tarantool')
2525
---
26-
...
27-
tarantool> tarantool
28-
---
29-
- build:
26+
- version: 2.3.0-3-g302bb3241
27+
build:
3028
target: Linux-x86_64-RelWithDebInfo
31-
options: cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_BACKTRACE=ON
29+
options: cmake . -DCMAKE_INSTALL_PREFIX=/opt/tarantool-install
30+
-DENABLE_BACKTRACE=ON
3231
mod_format: so
33-
flags: ' -fno-common -fno-omit-frame-pointer -fno-stack-protector -fexceptions
34-
-funwind-tables -fopenmp -msse2 -std=c11 -Wall -Wextra -Wno-sign-compare -Wno-strict-aliasing
35-
-fno-gnu89-inline'
36-
compiler: /usr/bin/x86_64-linux-gnu-gcc /usr/bin/x86_64-linux-gnu-g++
37-
uptime: 'function: 0x408668e0'
38-
version: 1.7.0-66-g9093daa
39-
pid: 'function: 0x40866900'
32+
flags: ' -fexceptions -funwind-tables -fno-omit-frame-pointer
33+
-fno-stack-protector
34+
-fno-common -fopenmp -msse2 -std=c11 -Wall -Wextra
35+
-Wno-strict-aliasing -Wno-char-subscripts
36+
-Wno-format-truncation -fno-gnu89-inline -Wno-cast-function-type'
37+
compiler: /usr/bin/cc /usr/bin/c++
38+
pid: 'function: 0x40016cd0'
39+
package: Tarantool
40+
uptime: 'function: 0x40016cb0'
4041
...
4142
tarantool> tarantool.pid()
4243
---
43-
- 30155
44+
- 28786
4445
...
4546
tarantool> tarantool.uptime()
4647
---
47-
- 108.64641499519
48+
- 2586.900608
4849
...

0 commit comments

Comments
 (0)