diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-29 10:31:30 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-31 18:28:32 +0100 |
commit | 144d80f69e9ee614bf7fb06ad586cef610cec0f7 (patch) | |
tree | e37f3a8cd724e4d2fbf98c1327d47bb2aac1ce29 /ui/sdl2.c | |
parent | b801e3cb2a7fd631a219222a8cbe9d554c906070 (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/sdl2.c')
0 files changed, 0 insertions, 0 deletions