comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Interfacing with C ; an ununsed fields dilemma
Date: Thu, 02 Jul 2009 14:09:49 +0200
Date: 2009-07-02T14:09:49+02:00	[thread overview]
Message-ID: <4a4ca38d$0$31340$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <d8ed3a51-0762-4e1e-b5a9-13b727dfc76c@l31g2000yqb.googlegroups.com>

Hibou57 (Yannick Duch�ne) schrieb:

> Finally, I think I will simply declare these unused fields in the
> public part, in order to be able to give them an initialization value,
> but I really do not like it to appears in the public part.

In case you are using current Ada, have you considered
making your type limited an use a "construtor function"?
http://www.adacore.com/2007/05/28/gem-3/



  reply	other threads:[~2009-07-02 12:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02  6:20 Interfacing with C ; an ununsed fields dilemma Hibou57 (Yannick Duchêne)
2009-07-02  9:25 ` Martin
2009-07-02 18:14   ` reserved fields; was " tmoran
2009-07-02  9:45 ` Maciej Sobczak
2009-07-02 12:01   ` Hibou57 (Yannick Duchêne)
2009-07-02 12:09     ` Georg Bauhaus [this message]
2009-07-02 13:21       ` Hibou57 (Yannick Duchêne)
2009-07-02 15:50         ` Georg Bauhaus
2009-07-02 14:52     ` Maciej Sobczak
2009-07-02 23:21       ` Hibou57 (Yannick Duchêne)
2009-07-03  7:21         ` Maciej Sobczak
2009-07-02  9:51 ` Georg Bauhaus
2009-07-02 10:16   ` Martin
2009-07-02 11:48     ` Hibou57 (Yannick Duchêne)
2009-07-02 15:55 ` Robert A Duff
2009-07-04  0:03   ` Randy Brukardt
2009-07-03  6:59 ` anon
replies disabled

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