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,e030673db497039d X-Google-Attributes: gid103376,public From: jsa@organon.com (Jon S Anthony) Subject: Re: question on pragmas with GNAT Date: 1996/05/22 Message-ID: #1/1 X-Deja-AN: 156046967 sender: news@organon.com (news) references: <31A1DD63.7A35@norden.com> organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-05-22T00:00:00+00:00 List-Id: In article <31A1DD63.7A35@norden.com> Mindy Matusewicz writes: > On the Greenhills Ada compiler I have been using there is a > pragma runtime_names that informs Ada that the following data is > really defined by another language. This allows me to write to > the same data from either ada or c. This stuff is defined as part of Ada95. See the import, export and convention pragmas as defined in Annex B. In addition see the packages Interfaces and Interfaces.C. This will do all your asking and a whole lot more. > Is this possible using the gnat compiler. Yes, Gnat fully implements this stuff. /Jon -- Jon Anthony Organon Motives, Inc. 1 Williston Road, Suite 4 Belmont, MA 02178 617.484.3383 jsa@organon.com