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

feat: support lua 5.3 #250

Merged
merged 1 commit into from
Jan 10, 2025
Merged

feat: support lua 5.3 #250

merged 1 commit into from
Jan 10, 2025

Conversation

joway
Copy link
Member

@joway joway commented Jan 10, 2025

Description

feat: support lua 5.3

Motivation and Context

Lua 5.3 and greater has native bitwise operators. The bit32 library introduced in Lua 5.2 is in Lua 5.3, albeit deprecated, but not present in Lua 5.4. For maximum backwards compatibility, all versions of Wireshark with Lua support include the Lua BitOp library, which has been ported to be compatible with Lua 5.3 and 5.4. The BitOp API reference is available at https://bitop.luajit.org/api.html. The API is similar to that of the bit32 library, and in many cases can function as a drop in replacement for code written to use that library by simply replacing a bit32 = require("bit32") statement with bit32 = bit.

Related Issue

@joway joway requested review from a team as code owners January 10, 2025 02:57
@joway joway enabled auto-merge (squash) January 10, 2025 02:59
@joway joway merged commit 57f4e50 into main Jan 10, 2025
6 checks passed
@joway joway deleted the feat/support-lua5.3 branch January 10, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants