From patchwork Sat Oct 17 07:55:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 36292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 00237B7B65 for ; Sat, 17 Oct 2009 19:01:07 +1100 (EST) Received: from localhost ([127.0.0.1]:34481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz4Dp-0007j4-9k for incoming@patchwork.ozlabs.org; Sat, 17 Oct 2009 04:01:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mz48j-0005mV-9L for qemu-devel@nongnu.org; Sat, 17 Oct 2009 03:55:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mz48d-0005jD-Ow for qemu-devel@nongnu.org; Sat, 17 Oct 2009 03:55:48 -0400 Received: from [199.232.76.173] (port=40193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz48d-0005jA-Gc for qemu-devel@nongnu.org; Sat, 17 Oct 2009 03:55:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52463) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mz48d-0001xl-13 for qemu-devel@nongnu.org; Sat, 17 Oct 2009 03:55:43 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9H7tgKr018202 for ; Sat, 17 Oct 2009 03:55:42 -0400 Received: from localhost.localdomain (vpn1-5-47.ams2.redhat.com [10.36.5.47]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9H7taRg019772; Sat, 17 Oct 2009 03:55:41 -0400 From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sat, 17 Oct 2009 09:55:32 +0200 Message-Id: <1255766136-3028-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1255766136-3028-1-git-send-email-pbonzini@redhat.com> References: <1255766136-3028-1-git-send-email-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Luiz Capitulino Subject: [Qemu-devel] [PATCH 3/7] forward declare all QObject subclasses in qobject.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This gives more freedom to define prototypes without dragging in the whole header files. Cc: Luiz Capitulino Signed-off-by: Paolo Bonzini --- qobject.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/qobject.h b/qobject.h index 200644d..f5c78b2 100644 --- a/qobject.h +++ b/qobject.h @@ -44,6 +44,10 @@ typedef enum { } qtype_code; struct QObject; +struct QInt; +struct QString; +struct QDict; +struct QList; typedef struct QType { qtype_code code;