From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5afd69f1373c41cc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 02 Jul 2009 14:09:49 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Interfacing with C ; an ununsed fields dilemma References: <5a416858-4a52-412d-8051-6dadb5eadb2c@t21g2000yqi.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <4a4ca38d$0$31340$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 02 Jul 2009 14:09:49 CEST NNTP-Posting-Host: 4e8e3912.newsspool4.arcor-online.net X-Trace: DXC=8FSFJgk9eOH6PJ?[X6JIXE4IUK 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/