Received: from eggs.gnu.org ([2001:4830:134:3::10]:36145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brnQz-0007Ae-Hl for qemu-devel@nongnu.org; Wed, 05 Oct 2016 10:44:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brnQx-0007Lc-Ps for qemu-devel@nongnu.org; Wed, 05 Oct 2016 10:44:36 -0400 Date: Wed, 5 Oct 2016 11:44:26 -0300 From: Eduardo Habkost Message-ID: <20161005144426.GK3877@thinpad.lan.raisama.net> References: <20161005133530.5702-1-rkrcmar@redhat.com> <20161005133530.5702-2-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161005133530.5702-2-rkrcmar@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] qom: add object_new_with_class() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: qemu-devel@nongnu.org, Igor Mitsyanko , Peter Maydell , Rob Herring , "Edgar E. Iglesias" , Alistair Francis , Andreas =?iso-8859-1?Q?F=E4rber?= , Richard Henderson , Paolo Bonzini , Alexander Graf , Max Filippov , qemu-arm@nongnu.org On Wed, Oct 05, 2016 at 03:35:29PM +0200, Radim Kr=C4=8Dm=C3=A1=C5=99 wro= te: > object_new_with_object_class() was a close contender for the name, but > it is longer, the type system will catch possible errors, and the only > reasonable replacement would be a polymorphic function that would not > break existing users. >=20 > Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 Reviewed-by: Eduardo Habkost --=20 Eduardo