cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/06:50:38

From: "Campbell, Rolf [SKY:1U32:EXCH]" <cp1v45 AT americasm01 DOT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Some problems with including structures in a library.
Date: Mon, 26 Jul 1999 10:43:34 -0400
Organization: Nortel Networks
Lines: 26
Message-ID: <379C7415.CE4A315C@americasm01.nt.com>
References: <379C2C6A DOT 1756 AT yahoo DOT com>
NNTP-Posting-Host: bmerhc00.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.20 9000/712)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Daniel Phillips wrote:

> and I define them in my header file like this:
>
> extern struct spriteDef

You shouldn't have the 'extern' in the previous line.

> {
>  int x;
>  int y;
>  int imageNumber;
>  int stillValid;
>  };
>
> extern struct spriteList
> {
>  struct spriteDef spriteDefParams[64];
> } spriteList;
>

--
     -Rolf Campbell (39)3-6318



- Raw text -


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