[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lt_dlforeach replacement?

From: Zopolis0
Subject: Re: lt_dlforeach replacement?
Date: Thu, 4 Aug 2022 13:34:03 +1000

It appears that's the wrong kind of function, it looks like the intended replacement is lt_dlhandle_map. That requires a  lt_dlinterface_id variable, though.

On Fri, Jul 22, 2022 at 11:04 AM Alex Ameen <> wrote:
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 <> 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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]