diff options
author | Andy Belle-Isle <abelleisle@protonmail.com> | 2022-11-13 13:55:26 -0600 |
---|---|---|
committer | Andy Belle-Isle <abelleisle@protonmail.com> | 2022-11-13 13:55:26 -0600 |
commit | 38e2036d031bdeaea76ef4b6c3c2af5247ed93ec (patch) | |
tree | b1401ba2ef33d08dbc528aadbf61f0d4aedad63d /lib/sol2/docs/source/api/lua_value.rst | |
parent | 57a1eb6fdccb9023557d0a470796f423f063948a (diff) | |
parent | 57013add5b7c524086272be7d395f9ec5109bde2 (diff) |
Merge remote-tracking branch 'origin/lib-cleanup' into world
Diffstat (limited to 'lib/sol2/docs/source/api/lua_value.rst')
-rw-r--r-- | lib/sol2/docs/source/api/lua_value.rst | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sol2/docs/source/api/lua_value.rst b/lib/sol2/docs/source/api/lua_value.rst deleted file mode 100644 index 325546c..0000000 --- a/lib/sol2/docs/source/api/lua_value.rst +++ /dev/null @@ -1,16 +0,0 @@ -lua_value
-=========
-*easy creation of Lua values and tables at the cost of some safety and speed*
-
-.. code-block:: cpp
-
- struct lua_value;
- struct array_value;
-
-
-The goal of these types is to make it easy to describe tables and arrays in C++ code. It works by using a thread local ``lua_State*`` variable inside the class so that one can simply pass values. The thread local variable is initialized by creation of a `sol::state`, but can also `be done manually<state-automatic-handlers>` with ``sol::set_default_state``. An example of usage is below:
-
-.. literalinclude:: ../../../examples/source/lua_value.cpp
- :caption: lua_value.cpp
- :name: lua-value-example
- :linenos:
|