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;