Received: from eggs.gnu.org ([2001:4830:134:3::10]:45766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by475-0004lt-5I for qemu-devel@nongnu.org; Sat, 22 Oct 2016 17:45:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by474-0004Es-Db for qemu-devel@nongnu.org; Sat, 22 Oct 2016 17:45:59 -0400 Sender: Richard Henderson References: <1477067922-26202-1-git-send-email-peter.maydell@linaro.org> From: Richard Henderson Message-ID: Date: Sat, 22 Oct 2016 14:45:52 -0700 MIME-Version: 1.0 In-Reply-To: <1477067922-26202-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg/tcg.h: Improve documentation of TCGv_i32 etc types List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: patches@linaro.org On 10/21/2016 09:38 AM, Peter Maydell wrote: > The typedefs we use for the TCGv_i32, TCGv_i64 and TCGv_ptr > types are somewhat confusing, because we define them as > pointers to structs, but the structs themselves are never > defined. Explain in the comments a bit more clearly why > this is OK and what is going on under the hood. > > Signed-off-by: Peter Maydell > --- > This confused at least two people who cared enough to post to > qemu-devel about it, so it seems worth rewriting and expanding > the comment in an attempt to avoid having to explain it on the > mailing list for a third time :-) Applied, thanks. r~