[Rpm-maint] [rpm-software-management/rpm] Cleanup the lua code a bit (PR #1842)
Michael Schroeder
notifications at github.com
Wed Nov 24 11:38:13 UTC 2021
Get rid of unused functions, fix the indentation and make things a bit nicer.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1842
-- Commit Summary --
* Drop unused rpmluaRegister/rpmluaGetData/rpmluaSetData functions
* Drop lua parameter in addLuaSource function
* Move nextFileFunc into the lua data
* Simplify INITSTATE macro
* Fix indentation of rpmluaReadline and _rpmluaInteractive
* Reinstantiate print buffer after poping it in lua interactive mode
-- File Changes --
M build/parsePreamble.c (3)
M build/rpmbuild_internal.h (2)
M build/speclua.c (3)
M lib/rpmscript.c (3)
M rpmio/rpmlua.c (208)
M rpmio/rpmlua.h (7)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1842.patch
https://github.com/rpm-software-management/rpm/pull/1842.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1842
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211124/1a40e24e/attachment-0001.html>
More information about the Rpm-maint
mailing list