|
@@ -19,10 +19,11 @@ Lua headers and library.
|
|
|
Assuming all headers are located in `/usr/include/lua5.3` and the shared object name is
|
|
Assuming all headers are located in `/usr/include/lua5.3` and the shared object name is
|
|
|
`liblua5.3.so`, you need to invoke this:
|
|
`liblua5.3.so`, you need to invoke this:
|
|
|
|
|
|
|
|
-```bash
|
|
|
|
|
|
|
+```
|
|
|
make LUA_INCDIR=/usr/include/lua5.3 LUA_LIBNAME=lua5.3 test
|
|
make LUA_INCDIR=/usr/include/lua5.3 LUA_LIBNAME=lua5.3 test
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-<sup>*</sup> Assertions relying on `lua_Integer` will fail, due to integer quirks in Lua. This
|
|
|
|
|
-should only concern you if your application expects Lua integers to work like normal integers,
|
|
|
|
|
-because they don't.
|
|
|
|
|
|
|
+Assertions relying on `lua_Integer` will fail, due to integer quirks in Lua. This should only
|
|
|
|
|
+concern you if your application expects Lua integers to work like normal integers, because they
|
|
|
|
|
+don't. Since integers are internally stored as floating-point numbers before Lua 5.3, you might
|
|
|
|
|
+consider treating them as such in your application.
|