On 2022-08-03, Zopolis0 <creatorsmith...@gmail.com> 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 example:

  lt_dlinterface_id everything = lt_dlinterface_register("everything", NULL);

Then hang onto this ID to use with lt_dlhandle_map in order to iterate
over all loaded modules like lt_dlforeach used to do.

Cheers,
  Nick

Reply via email to