Re: [Qemu-devel] [PATCH] tcg/tcg.h: Improve documentation of TCGv_i32 etc types

2016-10-22 Thread Richard Henderson
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

[Qemu-devel] [PATCH] tcg/tcg.h: Improve documentation of TCGv_i32 etc types

2016-10-21 Thread Peter Maydell
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