summary refs log tree commit diff stats
path: root/util/cacheflush.c
diff options
context:
space:
mode:
authorKohei Tokunaga <ktokunaga.mail@gmail.com>2025-04-28 15:38:59 +0900
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-06 16:02:04 +0200
commit4cd5a25557cab10f8ef81407bed0dd6512526c1c (patch)
tree4b31d0544ce305dd77d1a2c207e934e76fbbd0ed /util/cacheflush.c
parentc4eb098bc1cf3dbcc3627352031c086a6969a7cf (diff)
downloadfocaccia-qemu-4cd5a25557cab10f8ef81407bed0dd6512526c1c.tar.gz
focaccia-qemu-4cd5a25557cab10f8ef81407bed0dd6512526c1c.zip
include/glib-compat.h: Poison g_list_sort and g_slist_sort
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: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/fa57c8069d6c723f5b947560677f4ca596334330.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/cacheflush.c')
0 files changed, 0 insertions, 0 deletions