comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcqada@earthlink.net>
Subject: Re: type Foo_ptr in new void*;
Date: Sun, 29 Jul 2001 12:26:35 GMT
Date: 2001-07-29T12:26:35+00:00	[thread overview]
Message-ID: <3B63F48A.2E2642C6@earthlink.net> (raw)
In-Reply-To: 9k0j60$n4t$1@news.tpi.pl

Tomasz Wegrzanowski wrote:
> 
> In article <TzN87.10780$Kd7.6085799@news1.rdc1.sfba.home.com>, tmoran@acm.org wrote:
> > So given
> >   type Foo is record ...
> >   type Foo_Pointer is access Foo;
> 
> I can't do this.
> Foo is supposed to be used only as a pointer.
> I don't know if newer version of library will use the same Foo.

In tmoran's post, wherever you saw "in out Foo", change it to "in
Foo_Pointer".

In order to declare a pointer to a type, you have to have that type's
definition.  Even C requires that for "foo*" there be some declaration
of "foo".

Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadrus.com



  reply	other threads:[~2001-07-29 12:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-29  4:31 type Foo_ptr in new void*; Tomasz Wegrzanowski
2001-07-29  5:56 ` tmoran
2001-07-29  8:57   ` Tomasz Wegrzanowski
2001-07-29 12:26     ` Marc A. Criley [this message]
2001-07-30  1:05       ` Tomasz Wegrzanowski
2001-07-30  1:20         ` tmoran
2001-07-30  2:09         ` James Rogers
2001-07-30  2:36           ` Warren W. Gay VE3WWG
2001-07-30  3:10             ` James Rogers
2001-07-31  2:14               ` Warren W. Gay VE3WWG
2001-07-31  1:21           ` Tomasz Wegrzanowski
2001-07-31  3:06             ` James Rogers
2001-07-31  5:02               ` Warren W. Gay VE3WWG
2001-07-31  7:22               ` Florian Weimer
2001-07-31  4:56           ` Darren New
2001-08-04  6:05             ` David Thompson
2001-08-05  2:27               ` Warren W. Gay VE3WWG
2001-07-29 13:40     ` Dale Stanbrough
2001-07-29 14:12 ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox