Re: [PATCH v2 06/20] contrib/plugins: Fix type conflict of GLib function pointers

2025-04-21 Thread Philippe Mathieu-Daudé
On 22/4/25 07:27, Kohei Tokunaga wrote: On Emscripten, function pointer casts can result in runtime failures due to strict function signature checks. This affects the use of g_list_sort and g_slist_sort, which internally perform function pointer casts that are not supported by Emscripten. To avoi

[PATCH v2 06/20] contrib/plugins: Fix type conflict of GLib function pointers

2025-04-21 Thread Kohei Tokunaga
On Emscripten, function pointer casts can result in runtime failures due to strict function signature checks. This affects the use of g_list_sort and g_slist_sort, which internally perform function pointer casts that are not supported by Emscripten. To avoid these issues, g_list_sort_with_data and