From 32b0ddf6b6510ca61187015d93d41dc44932638c Mon Sep 17 00:00:00 2001 From: tmeissner Date: Sat, 16 May 2015 21:52:52 +0200 Subject: [PATCH] add comment --- 21st_century_c/chapter11/seamlesstwo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/21st_century_c/chapter11/seamlesstwo.c b/21st_century_c/chapter11/seamlesstwo.c index d5c9b1a..408b967 100644 --- a/21st_century_c/chapter11/seamlesstwo.c +++ b/21st_century_c/chapter11/seamlesstwo.c @@ -8,7 +8,10 @@ typedef struct point { } point; - +/* +Nested the anonymous struct in anonymous union together with a named struct +to support direct access to 2D point in the 3D point structure. +*/ typedef struct { union { struct point;