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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ff82986c79efd148 X-Google-Attributes: gid103376,public From: jsa@organon.com (Jon S Anthony) Subject: Re: Q: inlining Date: 1996/06/18 Message-ID: #1/1 X-Deja-AN: 160854978 sender: news@organon.com (news) references: organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-06-18T00:00:00+00:00 List-Id: In article Hannes Haug writes: > >> I'm new to Ada and have a question on inlining. Does inlining > >> work across compilation units ? In C I can > > Jon> It can, yes. I'm not sure if this is working in GNAT 3.05 > Jon> yet or not. > > I know that this is possible. I just wanted to know if compilers actually do > it. I finally found the option for GNAT: -gnatn. Great. There were Ada83 compilers that did this also. Does anyone know if ObjectAda/AdaMagic does this? > >> write the function definition in a header file. How can I do > >> this in Ada ? > > Jon> In a package specification. In fact, this is virtually a > Jon> requirement to getting any "real" work done. > > I know. This made me look at Ada. It's really ugly to put all the stuff > in header files. Oh. I guess I misunderstood that you already knew this... /Jon -- Jon Anthony Organon Motives, Inc. 1 Williston Road, Suite 4 Belmont, MA 02178 617.484.3383 jsa@organon.com