Skip to content

genums: use g_once_init_enter_pointer for GType initializers

Alexander Richardson requested to merge arichardson/glib:genums-cheri into main

GType is either an integer or a pointer, so we have to use the _pointer version here to support architectures such as Morello.

These two lines were missed in 5ecd3cbe and allows the gobject/enums test to pass on CheriBSD (Morello).

Helps: #2842

Merge request reports

Loading