Re: [Qemu-devel] [PATCH 6/7] replace void* uses with opaque CPUState*
Paolo Bonzini writes: > Because we all love type safety, don't we? And incomplete types! Much better choice for an abstract data type than abusing poor old "void *". You also get rid of a use of the DEFINE_PROP_PTR() abomination. Thanks!
[Qemu-devel] [PATCH 6/7] replace void* uses with opaque CPUState*
Because we all love type safety, don't we? Signed-off-by: Paolo Bonzini --- cpu-common.h |1 - cpus.c| 23 --- hw/apic.c |4 ++-- hw/pc.c |4 ++-- qemu-common.h |7 --- 5 files changed, 16 insertions(+), 23 deletions(-) diff --git a/c