Kaynağa Gözat

readme: Extend note about `lua_Integer` quirks

Ole 10 yıl önce
ebeveyn
işleme
d4cdc42ecd
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 5 4
      README.md

+ 5 - 4
README.md

@@ -19,10 +19,11 @@ Lua headers and library.
 Assuming all headers are located in `/usr/include/lua5.3` and the shared object name is
 `liblua5.3.so`, you need to invoke this:
 
-```bash
+```
 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.