aboutsummaryrefslogtreecommitdiff
path: root/ui/win32-kbd-hook.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-10-29 10:31:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-31 18:28:32 +0100
commit144d80f69e9ee614bf7fb06ad586cef610cec0f7 (patch)
treee37f3a8cd724e4d2fbf98c1327d47bb2aac1ce29 /ui/win32-kbd-hook.c
parentb801e3cb2a7fd631a219222a8cbe9d554c906070 (diff)
qom: centralize module-loading functionality
Put together the common code of object_initialize() and module_object_class_by_name() into a function that supports Error **. Rename the existing function type_get_by_name() to clarify that it will only look at defined types; this is often okay within object.c to look at the parents, but not outside it. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/win32-kbd-hook.c')
0 files changed, 0 insertions, 0 deletions