diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-28 10:45:55 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-11 10:32:15 +0100 |
commit | 1f9d52c9388d14c3f5a605543a8ef53dceaad5bb (patch) | |
tree | d8d57511e82015fbd9a89fa2c63ccdc9d71fa210 /rust/qemu-api/src/prelude.rs | |
parent | f75fb90ff2af75cd4405fe4c6ba0c0c38a120590 (diff) | |
download | qemu-1f9d52c9388d14c3f5a605543a8ef53dceaad5bb.zip qemu-1f9d52c9388d14c3f5a605543a8ef53dceaad5bb.tar.gz qemu-1f9d52c9388d14c3f5a605543a8ef53dceaad5bb.tar.bz2 |
rust: qom: move bridge for TypeInfo functions out of pl011
Allow the ObjectImpl trait to expose Rust functions that avoid raw
pointers (though INSTANCE_INIT for example is still unsafe).
ObjectImpl::TYPE_INFO adds thunks around the functions in
ObjectImpl.
While at it, document `TypeInfo`.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/prelude.rs')
0 files changed, 0 insertions, 0 deletions