Add the old bit32 LUA module as a compatiblity shim.

Many exisiting LUA scripts are using bit32 which has been removed
in LUA5.4 in favor of native language support of bitwise operations.
Yet, it's easier to backport this module rather than patching all the
existing LUA scripts because most of them can't be tested.
This commit is contained in:
Jean-Michel Picod 2024-09-20 17:14:52 +02:00
commit 0c116f5517
5 changed files with 238 additions and 2 deletions

View file

@ -411,6 +411,7 @@ set (TARGET_SOURCES
${PM3_ROOT}/client/src/graph.c
${PM3_ROOT}/client/src/iso4217.c
${PM3_ROOT}/client/src/jansson_path.c
${PM3_ROOT}/client/src/lua_bitlib.c
${PM3_ROOT}/client/src/preferences.c
${PM3_ROOT}/client/src/pm3.c
${PM3_ROOT}/client/src/pm3_binlib.c