comp.lang.ada
 help / color / mirror / Atom feed
From: sbelmont700@gmail.com
Subject: Re: Elaboration Question
Date: Fri, 2 Jan 2015 07:11:18 -0800 (PST)
Date: 2015-01-02T07:11:18-08:00	[thread overview]
Message-ID: <b99580ed-aff8-41f2-a125-35a695827d85@googlegroups.com> (raw)
In-Reply-To: <176076d0-ca97-46b5-8b6f-81e9289643c4@googlegroups.com>

On Friday, January 2, 2015 6:08:24 AM UTC-5, Mark Lorenzen wrote:
> 
> What strategy would you use when writing a library in Ada, that is to be called from e.g. a program written in C?
>

The onus is on the calling code to ensure elaboration happens correctly.  The best strategy to use from the library-side is to just make sure all your code is Preelaborate (or Pure), and the problem solves itself.

-sb

  parent reply	other threads:[~2015-01-02 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02  3:27 Elaboration Question Hubert
2015-01-02  7:56 ` Simon Wright
2015-01-02 22:16   ` Randy Brukardt
2015-01-02 14:49 ` Brad Moore
2015-01-02 11:08   ` Mark Lorenzen
2015-01-02 13:35     ` David Botton
2015-01-02 15:11     ` sbelmont700 [this message]
2015-01-02 21:57       ` Niklas Holsti
2015-01-06  2:33         ` Randy Brukardt
2015-01-06  8:17           ` Niklas Holsti
2015-01-06 20:06             ` Randy Brukardt
2015-01-03  9:45 ` Jean François Martinez
2015-01-03  9:50   ` Hubert
2015-01-03 18:43     ` Jean François Martinez
2015-01-04  1:57       ` Hubert
2015-01-04 12:05       ` Simon Wright
replies disabled

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