mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
qom: Have class_base_init() take a const data argument
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250424194905.82506-3-philmd@linaro.org>
This commit is contained in:
parent
fbb23135d6
commit
f1fa787b92
6 changed files with 6 additions and 6 deletions
|
@ -492,7 +492,7 @@ pub trait ObjectImpl: ObjectType + IsA<Object> {
|
|||
/// the effects of copying the contents of the parent's class struct
|
||||
/// to the descendants.
|
||||
const CLASS_BASE_INIT: Option<
|
||||
unsafe extern "C" fn(klass: *mut ObjectClass, data: *mut c_void),
|
||||
unsafe extern "C" fn(klass: *mut ObjectClass, data: *const c_void),
|
||||
> = None;
|
||||
|
||||
const TYPE_INFO: TypeInfo = TypeInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue