Skip to content

fix(obj): compatible with lua 5.1#81

Merged
XuNeo merged 2 commits intoXuNeo:masterfrom
cnjhb:lua5.1
Sep 15, 2025
Merged

fix(obj): compatible with lua 5.1#81
XuNeo merged 2 commits intoXuNeo:masterfrom
cnjhb:lua5.1

Conversation

@cnjhb
Copy link
Contributor

@cnjhb cnjhb commented Aug 25, 2025

Lua 5.1 does not have lua_setuservalue, and lua-compat-5.3 uses lua_setfenv, but lua_setfenv only allows tables.

@XuNeo XuNeo merged commit b33be92 into XuNeo:master Sep 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants