qemu/tests/tcg/plugins
Kohei Tokunaga 01499add2a contrib/plugins: Fix type conflict of GLib function pointers
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
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <0fcddfca16ca8da2bdaa7b2c114476f5b73d032b.1745295397.git.ktokunaga.mail@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-04-25 17:09:58 +02:00
..
bb.c tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
empty.c tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
inline.c tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
insn.c tests/tcg/plugins/insn: remove unused callback parameter 2025-01-17 10:44:31 +00:00
mem.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
meson.build tests/tcg/plugins: add plugin to test reset and uninstall 2025-04-09 10:35:29 +01:00
reset.c tests/tcg/plugins: add plugin to test reset and uninstall 2025-04-09 10:35:29 +01:00
syscall.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00