From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuKBp-0007hb-NV for qemu-devel@nongnu.org; Tue, 10 Jun 2014 07:26:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuKBk-0005Rr-P5 for qemu-devel@nongnu.org; Tue, 10 Jun 2014 07:26:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuKBj-0005RY-SH for qemu-devel@nongnu.org; Tue, 10 Jun 2014 07:26:00 -0400 From: Amos Kong Date: Tue, 10 Jun 2014 19:25:50 +0800 Message-Id: <1402399553-21692-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v6 0/3] qapi: fix coding style in generated code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, armbru@redhat.com, lcapitulino@redhat.com Not a serious issue, but it's helpful if we can fix it. V2: split change of scripts/qapi-visit.py to a split patch, eat space by using a special char as Markus suggested V3: update commitlog, update special string, fix of adding const replace string by pattern V4: fix pattern to cleanup special string (Paolo) V5: fix string checking bug (Luiz), update commitlog (Eric) add comments for c_type() function V6: add is_c_ptr() and fix lost endswith (Markus) Amos Kong (3): qapi: fix coding style in parameters list qapi: add const prefix to 'char *' insider c_type() qapi: Suppress unwanted space between type and identifier scripts/qapi-commands.py | 8 +++----- scripts/qapi-visit.py | 20 ++++++++++---------- scripts/qapi.py | 25 +++++++++++++++++++------ 3 files changed, 32 insertions(+), 21 deletions(-) -- 1.9.3