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

GeanyLua: Use luaL_Reg instead of luaL_reg #1231

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Conversation

xiota
Copy link
Contributor

@xiota xiota commented Mar 4, 2023

The real name of the struct in Lua 5.1 is luaL_Reg. Lua 5.1 contains a define for compatibility, but it is not present in LuaJIT or later 5.x releases.

The real name of the struct is luaL_Reg.
@xiota
Copy link
Contributor Author

xiota commented Apr 24, 2024

This was a straightforward find/replace to update the name of a struct. It is a necessary precursor to other updates/fixes of this plugin. Please merge. Thank you.

Copy link
Member

@b4n b4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builds fine, and indeed the lua 5.1 header seems to define this as compat only

@b4n b4n merged commit d8df495 into geany:master Jun 16, 2024
@b4n b4n added this to the 2.1.0 milestone Jun 16, 2024
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