[Rpm-maint] [rpm-software-management/rpm] Stringify the rest of the internal c++ macro API (PR #3477)
Panu Matilainen
notifications at github.com
Fri Nov 29 09:50:38 UTC 2024
@pmatilai commented on this pull request.
> @@ -1774,13 +1781,14 @@ static void pushMacroAny(rpmMacroContext mc,
}
static void pushMacro(rpmMacroContext mc,
- const char * n, const char * o, const char * b, int level, int flags)
+ const string & n, const char * o, const string & b,
It is, I noticed that too while doing this PR.
There's a *kind of* an inner logic in there: the functions that have a prototype in the header are using std::string in both places, other places take a the string shortcut. We should figure out a standard what to do with these and stick with that, but there are just sooooooo many such decisions to make, at a time when we're not really ready to make them :sweat_smile:
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3477#discussion_r1863254164
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3477/review/2469522487 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241129/d8b94a09/attachment.htm>
More information about the Rpm-maint
mailing list