comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@organon.com (Jon S Anthony)
Subject: Re: Q: inlining
Date: 1996/06/15
Date: 1996-06-15T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96Jun15185352@organon.com> (raw)
In-Reply-To: uvv20jh9j7p.fsf@chaq.informatik.uni-tuebingen.de


In article <uvv20jh9j7p.fsf@chaq.informatik.uni-tuebingen.de> Hannes Haug <Hannes.Haug@Student.Uni-Tuebingen.de> writes:

> Hi,
> 
> I'm new to Ada and have a question on inlining. Does
> inlining work across compilation units ? In C I can

It can, yes.  I'm not sure if this is working in GNAT 3.05 yet or not.


> write the function definition in a header file. How
> can I do this in Ada ?

In a package specification.  In fact, this is virtually a requirement
to getting any "real" work done.

You might want to check out the following for online tutorials,
references, a good Ada for C++ programmers paper, etc:

http://lglwww.epfl.ch/Ada/

/Jon
-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com






  reply	other threads:[~1996-06-15  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-15  0:00 Q: inlining Hannes Haug
1996-06-15  0:00 ` Jon S Anthony [this message]
1996-06-16  0:00   ` Robert Dewar
1996-06-17  0:00   ` Tucker Taft
1996-06-18  0:00   ` Jon S Anthony
1996-06-16  0:00 ` Hannes Haug
1996-06-18  0:00 ` Jon S Anthony
1996-06-19  0:00   ` Tucker Taft
1996-06-20  0:00     ` Robert Dewar
1996-06-20  0:00 ` Hannes Haug
1996-06-20  0:00   ` Robert Dewar
1996-06-24  0:00 ` Hannes Haug
replies disabled

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