Re: lt_dlforeach replacement?

Alex Ameen <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAKgHvyv+jt=XcbaX6PTJB1_YzWvMR0T_M0_jLPr094SZCj4gAQ@mail.gmail.com>
M4sugar provides an `m4_foreach` I believe. Im writing from my phone and
can't reference the code, so forgive me if the real name is something like
`m4s_foreach` but it's provided by `autoconf` under `lib/foreach.m4`.

On Thu, Jul 21, 2022, 8:02 PM Zopolis0 <[email protected]> wrote:

> I'm trying to revive a project that used lt_dlforeach, which is now
> deprecated.
> What function should I use to replace it? The same question was asked
> before, about the same code, but it was not answered.
>
> This is the code I need to fix:
>   lookup_data data;
>   data.symname = symname;
>   data.result = NULL;
>   lt_dlforeach (find_symbol, (lt_ptr) &data);
>   return data.result;
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.