diff options
author | Andy <drumsetmonkey@gmail.com> | 2019-08-29 13:07:45 -0400 |
---|---|---|
committer | Andy <drumsetmonkey@gmail.com> | 2019-08-29 13:07:45 -0400 |
commit | 4ac4b280abf2ffa28caa5a532353115a3033444f (patch) | |
tree | 2a13d658bb454360b2faf401244bb0321d3460d4 /lib/sol2/docs/source/api/compatibility.rst | |
parent | e9758416b18b27a65337c28d9641afc0ee89b34b (diff) | |
parent | 7a46fa2dd3dad3f038bf8e7339bc67abca428ae6 (diff) |
Started creating scripting library/namespace and added sol2 for interfacing
Diffstat (limited to 'lib/sol2/docs/source/api/compatibility.rst')
-rw-r--r-- | lib/sol2/docs/source/api/compatibility.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/sol2/docs/source/api/compatibility.rst b/lib/sol2/docs/source/api/compatibility.rst new file mode 100644 index 0000000..fed4363 --- /dev/null +++ b/lib/sol2/docs/source/api/compatibility.rst @@ -0,0 +1,16 @@ +compatibility.hpp +================= +*Lua 5.3/5.2 compatibility for Lua 5.1/LuaJIT* + + +This is a detail header used to maintain compatability with the 5.2 and 5.3+ APIs. It contains code from the MIT-Licensed `Lua code`_ in some places and also from the `lua-compat`_ repository by KeplerProject. + +It is not fully documented as this header's only purpose is for internal use to make sure sol compiles across all platforms / distributions with no errors or missing Lua functionality. If you think there's some compatibility features we are missing or if you are running into redefinition errors, please make an `issue in the issue tracker`_. + +If you have this already in your project or you have your own compatibility layer, then please ``#define SOL_NO_COMPAT 1`` before including ``sol.hpp`` or pass this flag on the command line to turn off the compatibility wrapper. + +For the licenses, see :doc:`here<../licenses>` + +.. _issue in the issue tracker: https://github.com/ThePhD/sol2/issues/ +.. _Lua code: http://www.Lua.org/ +.. _lua-compat: https://github.com/keplerproject/lua-compat-5.3
\ No newline at end of file |