diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-23 18:44:12 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:00:41 +0200 |
commit | 231bf6dda1ef7b4894ba374efb248c65b1841e34 (patch) | |
tree | 33571e1181c1042ef114b01c2f56d449657bcb5c /rust/qemu-api | |
parent | b282b859cf3442d922644e2cd2bee68272baafd5 (diff) | |
download | qemu-231bf6dda1ef7b4894ba374efb248c65b1841e34.zip qemu-231bf6dda1ef7b4894ba374efb248c65b1841e34.tar.gz qemu-231bf6dda1ef7b4894ba374efb248c65b1841e34.tar.bz2 |
qom: Constify TypeInfo::interfaces
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250424194905.82506-6-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api')
-rw-r--r-- | rust/qemu-api/src/qom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/qemu-api/src/qom.rs b/rust/qemu-api/src/qom.rs index f0a79f9..f1b4022 100644 --- a/rust/qemu-api/src/qom.rs +++ b/rust/qemu-api/src/qom.rs @@ -514,7 +514,7 @@ pub trait ObjectImpl: ObjectType + IsA<Object> { class_init: Some(rust_class_init::<Self>), class_base_init: Self::CLASS_BASE_INIT, class_data: core::ptr::null(), - interfaces: core::ptr::null_mut(), + interfaces: core::ptr::null(), }; // methods on ObjectClass |