Re: lt_dlforeach replacement?

2022-08-04 Thread Nick Bowler
On 2022-08-03, Zopolis0 wrote: > it looks like the intended replacement [for lt_dlforeach] is > lt_dlhandle_map. That requires a lt_dlinterface_id variable, though. Just reading the docs, I think the way it is supposed to work is you first register an interface with a null matching callback, for

Re: lt_dlforeach replacement?

2022-08-03 Thread Zopolis0
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 refe

Re: lt_dlforeach replacement?

2022-07-21 Thread Alex Ameen
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

lt_dlforeach replacement?

2022-07-21 Thread Zopolis0
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 =

Re: lt_dlforeach replacement

2008-06-14 Thread Ralf Wildenhues
Hello Arkadiusz, * Arkadiusz Miskiewicz wrote on Sat, Jun 14, 2008 at 12:18:25AM CEST: > In recent libtool version lt_dlforeach function was dropped as part of > deprecated API. > > What function is able to replace the same functionality, now? lt_dlhandle_iterate is what comes closest. But it

lt_dlforeach replacement

2008-06-13 Thread Arkadiusz Miskiewicz
In recent libtool version lt_dlforeach function was dropped as part of deprecated API. What function is able to replace the same functionality, now? Trying to build gcc suite with new libltdl, it has such code: lookup_data data; data.symname = symname; data.result = NULL; lt_dlforeach