From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbbWf-0005fc-Ty for qemu-devel@nongnu.org; Thu, 13 Aug 2009 10:43:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbbWb-0005aP-AQ for qemu-devel@nongnu.org; Thu, 13 Aug 2009 10:43:33 -0400 Received: from [199.232.76.173] (port=58895 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbbWa-0005aK-TW for qemu-devel@nongnu.org; Thu, 13 Aug 2009 10:43:28 -0400 Received: from mx2.redhat.com ([66.187.237.31]:45986) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbbWa-00058k-9E for qemu-devel@nongnu.org; Thu, 13 Aug 2009 10:43:28 -0400 Message-ID: <4A84268C.4030602@redhat.com> Date: Thu, 13 Aug 2009 17:43:24 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1250171428-29308-1-git-send-email-lcapitulino@redhat.com> <1250171428-29308-3-git-send-email-lcapitulino@redhat.com> <4A841B66.4000907@redhat.com> <20090813111612.6c5bee23@doriath> In-Reply-To: <20090813111612.6c5bee23@doriath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 02/29] Introduce QInt List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org On 08/13/2009 05:16 PM, Luiz Capitulino wrote: > > Note that QDict has high-level helpers like qdict_get_int() > that assumes that the stored key is a QInt. > > I was in doubt about how to fail. I chose to use assert() and > consider this a programming error. > We'll soon get qdicts from the monitor, so without an IDL we're forced on in-code checking. -- error compiling committee.c: too many arguments to function