cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/14/15:15:00

Message-ID: <364DE461.7D6FCE6D@montana.com>
Date: Sat, 14 Nov 1998 13:13:21 -0700
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: recursive structures?
References: <364DD66B DOT 3CB7DAD1 AT nospam DOT student DOT tue DOT nl>
Reply-To: djgpp AT delorie DOT com


Wouter Bijlsma wrote:
> 
> How can I define a recursive structure without getting parse errors or
> 'incomplete data type' errors?
> 
> typedef struct {
>                         unsigned     Tag;
>                         Plane        *RootPlane;
>                         BSPNode  *FrontNode,BackNode;
>                         Polygon     *Polygons;
>                     }  BSPNode;

BackNode needs to be a pointer to BSPNode, also.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019