[Rpm-maint] [rpm-software-management/rpm] Implement a native C++ macro API + use it to replace manual macro locking (PR #3408)
Panu Matilainen
notifications at github.com
Tue Oct 29 09:37:35 UTC 2024
This started with the innocent intention of making a couple of C++ string expand variants available, but then I got carried away...
There are no added tests because this is all covered by existing functionality testing.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3408
-- Commit Summary --
* Return C++ string from macro expansion internals
* Replace macro locking with an internal RAII-style C++ API
* Convert a couple of rpmExpand() usages to the C++ versions
-- File Changes --
M build/build.cc (24)
M build/rpmfc.cc (7)
M rpmio/macro.cc (327)
M rpmio/rpmmacro_internal.hh (39)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3408.patch
https://github.com/rpm-software-management/rpm/pull/3408.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3408
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3408 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241029/95236b94/attachment.html>
More information about the Rpm-maint
mailing list