mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Better wording in README
This commit is contained in:
parent
7bcb7cff92
commit
2ce7f8f51d
|
@ -5,8 +5,8 @@ At this time, the library is header-only for easy integration with projects.
|
||||||
|
|
||||||
## Caveats
|
## Caveats
|
||||||
|
|
||||||
As a change of mechanism to the C API, the Lua Stack is completely abstracted away. Not only that, but all lua errors are
|
Due to how this library is used compared to the C API, the Lua Stack is completely abstracted away. Not only that, but all
|
||||||
thrown as exceptions instead. This allows you to handle the errors gracefully without being forced to exit.
|
Lua errors are thrown as exceptions instead. This allows you to handle the errors gracefully without being forced to exit.
|
||||||
|
|
||||||
It should be noted that the library itself depends on `lua.hpp` to be found by your compiler. It uses angle brackets, e.g.
|
It should be noted that the library itself depends on `lua.hpp` to be found by your compiler. It uses angle brackets, e.g.
|
||||||
`#include <lua.hpp>`.
|
`#include <lua.hpp>`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user