*_foreach()
with non-NULL user_data
void pointer where practical.g_ptr_array_foreach
with user_data
void pointer - this also means we can get rid of the singleton ForEachData
, which simplifies the code quite a bit.Note: GPtrArray
is already not typesafe, but it does support external iteration, which allows us to avoid passing the address of typed data to a user_data
void pointer, which is another violation of type safety.
https://github.com/geany/geany/pull/2270
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.