summary refs log tree commit diff stats
path: root/rust/qemu-api/src/lib.rs
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-18 07:42:51 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2024-12-19 19:36:37 +0100
commitb1987a2547c8e32fd3c32f504fe8d4bc58b7f961 (patch)
tree6aed12215ef302f72c914456746f6abfbb11f8f4 /rust/qemu-api/src/lib.rs
parent857c4a8a33ea36d9d2856df33130b26a1aa3a53a (diff)
downloadfocaccia-qemu-b1987a2547c8e32fd3c32f504fe8d4bc58b7f961.tar.gz
focaccia-qemu-b1987a2547c8e32fd3c32f504fe8d4bc58b7f961.zip
Constify all opaque Property pointers
Via sed "s/  Property [*]/  const Property */".

The opaque pointers passed to ObjectProperty callbacks are
the last instances of non-const Property pointers in the tree.
For the most part, these callbacks only use object_field_prop_ptr,
which now takes a const pointer itself.

This logically should have accompanied d36f165d952 which
allowed const Property to be registered.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Lei Yang <leiyang@redhat.com>
Link: https://lore.kernel.org/r/20241218134251.4724-25-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/lib.rs')
0 files changed, 0 insertions, 0 deletions