rust: re-export qemu macros from common/qom/hwcore
This is just a bit nicer. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Link: https://lore.kernel.org/r/20250827104147.717203-22-marcandre.lureau@redhat.com Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b0f6bf8a5b
commit
e4444d71e8
34 changed files with 35 additions and 45 deletions
|
|
@ -278,7 +278,7 @@ a raw pointer, for use in calls to C functions. It can be used for
|
|||
example as follows::
|
||||
|
||||
#[repr(transparent)]
|
||||
#[derive(Debug, qemu_api_macros::Wrapper)]
|
||||
#[derive(Debug, common::Wrapper)]
|
||||
pub struct Object(Opaque<bindings::Object>);
|
||||
|
||||
where the special ``derive`` macro provides useful methods such as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue