From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSQ9E-0004SU-7h for qemu-devel@nongnu.org; Sat, 26 Jun 2010 03:49:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSQ9C-0001cr-H3 for qemu-devel@nongnu.org; Sat, 26 Jun 2010 03:49:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15695) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSQ9C-0001ch-AS for qemu-devel@nongnu.org; Sat, 26 Jun 2010 03:49:54 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH 6/7] replace void* uses with opaque CPUState* References: <1277470342-5861-1-git-send-email-pbonzini@redhat.com> <1277470342-5861-7-git-send-email-pbonzini@redhat.com> Date: Sat, 26 Jun 2010 09:49:51 +0200 In-Reply-To: <1277470342-5861-7-git-send-email-pbonzini@redhat.com> (Paolo Bonzini's message of "Fri, 25 Jun 2010 14:52:21 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Amit Shah , Isaku Yamahata , qemu-devel@nongnu.org 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!