Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stick to the Lua 5.2 C API #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

guijan
Copy link
Contributor

@guijan guijan commented Dec 20, 2024

1734729791

See the commit message for details.

Some automation scripts don't work (and those aren't pictured), but I believe the cause is the out of tree patching mentioned in the commit, not this PR.

@guijan
Copy link
Contributor Author

guijan commented Dec 20, 2024

Force push to fix CI failures. Same as before, only minimal testing, the actual full automation scripts don't even work with the out of tree patches I have, I'm actually just loading their include files.

Aegisub requires Luajit implementing Lua 5.2, but the code was making a
mixture of Lua 5.1 and Lua 5.2 C API calls which happened to work
because luajit's standards compliance is loose. A call to `lua_objlen()`
remains because Luajit doesn't implement Lua 5.2 fully and is missing
`lua_rawlen()`.

Tested with some out of tree patches to make Aegisub work on an
unsupported platform (OpenBSD, official Lua).
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.

1 participant