diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-21 13:33:59 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-21 13:33:59 -0300 |
| commit | 7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef (patch) | |
| tree | a29433a8a29cd79ec3c8abc308c133e81d4259c6 /lua.h | |
| parent | 724012d3d07f43f03451bb05d2bd9f55dff1d116 (diff) | |
| download | lua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.tar.gz lua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.tar.bz2 lua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.zip | |
Parameters for 'lua_createtable' back to int
Tables don't accept sizes larger than int.
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -267,7 +267,7 @@ LUA_API int (lua_rawget) (lua_State *L, int idx); | |||
| 267 | LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); | 267 | LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); |
| 268 | LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p); | 268 | LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p); |
| 269 | 269 | ||
| 270 | LUA_API void (lua_createtable) (lua_State *L, unsigned narr, unsigned nrec); | 270 | LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); |
| 271 | LUA_API void *(lua_newuserdatauv) (lua_State *L, size_t sz, int nuvalue); | 271 | LUA_API void *(lua_newuserdatauv) (lua_State *L, size_t sz, int nuvalue); |
| 272 | LUA_API int (lua_getmetatable) (lua_State *L, int objindex); | 272 | LUA_API int (lua_getmetatable) (lua_State *L, int objindex); |
| 273 | LUA_API int (lua_getiuservalue) (lua_State *L, int idx, int n); | 273 | LUA_API int (lua_getiuservalue) (lua_State *L, int idx, int n); |
