Upstream 5.5.0#7
Conversation
Allow these functions to be used by extension modules
This way you can see if you are running a patched Lua
Merge all the internal headers. This makes life easier for our users because they will only need to include a single header. Furthermore, this avoids cluttering the /usr/include with lots of internal Lua headers.
Since the core API can change after even a minor patch, we need a checkversion function that looks at the LUA_VERSION_RELEASE_NUM. To avoid breaking backwards compatibility, we introduce a new function instead of modifying luaL_checkversion.
Also, add gen-lua-core.h to the makefile prerequesites of luacore.h, to the latter is re-built whenever we change the former.
|
Hi Michael, thanks for contributing this. I noticed that the commit message refers tk "minor fixes". Could you please clarify what those mean? |
Additionally: * Install missing llimits.h * CORE header order change * Generated luacore.h added to build * Minor spell-fix
|
Hello Hugo. I've updated the PR, corrected another error, build & run-tested with pallene 5.5.0 (patch for pallene is WIP, some guessing needs to be better validated before PR) and hopefully a somewhat better commit header. with requested clarifications. Here is a pallene trivial sanity test: By this small contribution hoping to encourage your work and pallenes. Both which I think shows huge promise & potential. Thanks! |
|
Updated commit-header can be seen here: c27a0ca |
|
Thanks, Michael. I'm back from the holidays now and I'm excited to see someone offering to contribute the update to 5.5.0! Do you think it would be too difficult to refactor this PR so there is one commit that just brings merges in the upstream Lua stuff and a separate commit that contains only your customizations? That would make it easier to review the changes and would also help in the long term because sometimes we have to go back and look back at old commits to figure out exactly how Pallene differs from upstream Lua |
UPDATING.mdmainand tagging (5.5.0) left to owner