From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXope-0007Ar-H0 for qemu-devel@nongnu.org; Fri, 25 May 2012 03:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXopW-0000UJ-TR for qemu-devel@nongnu.org; Fri, 25 May 2012 03:21:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXopW-0000SE-MC for qemu-devel@nongnu.org; Fri, 25 May 2012 03:20:58 -0400 Message-ID: <4FBF32C7.1000208@redhat.com> Date: Fri, 25 May 2012 09:20:39 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1337787881-3579-1-git-send-email-pbonzini@redhat.com> <1337787881-3579-3-git-send-email-pbonzini@redhat.com> <4FBEA960.2080409@suse.de> In-Reply-To: <4FBEA960.2080409@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 02/10] qdev: remove qdev_prop_exists List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: imammedo@redhat.com, qemu-devel@nongnu.org, peter.maydell@linaro.org Il 24/05/2012 23:34, Andreas F=C3=A4rber ha scritto: >> > =20 >> > -static ObjectProperty *object_property_find(Object *obj, const char= *name) >> > +ObjectProperty *object_property_find(Object *obj, const char *name) >> > { >> > ObjectProperty *prop; >> > =20 > Any reason not to expose a bool object_property_exists() instead? It seemed pretty redundant... Paolo