comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Placement of pragma Import
Date: Sun, 08 Dec 2002 18:49:19 GMT
Date: 2002-12-08T18:49:19+00:00	[thread overview]
Message-ID: <PuMI9.282590$QZ.43188@sccrnsc02> (raw)
In-Reply-To: mailman.1039345982.3581.comp.lang.ada@ada.eu.org

> In my opinion, the best place to put it would be in the package
> body.  After all, what you're declaring with the pragma Import
> is the _implementation_ of the procedure Asm_Coded.
  "If a completion is a pragma Import, then it shall appear in
the same declarative part, package specification, ... as the
declaration." RM B.1(22)
  "The convention represents the calling convention..." ARM B.1(30)
A caller, which has access only to the spec, clearly needs to know
the calling convention.



  reply	other threads:[~2002-12-08 18:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200212081123160930.0047D332@smtp-po.inetia.pl>
2002-12-08 11:12 ` Placement of pragma Import David C. Hoos, Sr.
2002-12-08 18:49   ` tmoran [this message]
     [not found] ` <053001c29eaa$ad9b72f0$6500000a@dhoos>
2002-12-08 15:07   ` Michal Nowak
2002-12-08 10:23 Michal Nowak
2002-12-08 12:26 ` Simon Wright
2002-12-08 15:08   ` Michal Nowak
2002-12-08 18:46     ` Jeffrey Carter
2002-12-08 19:46       ` Dennis Lee Bieber
2002-12-08 21:08         ` James S. Rogers
2002-12-09  1:21         ` Jeffrey Carter
2002-12-09  4:47           ` Dennis Lee Bieber
2002-12-09 21:56         ` Michal Nowak
2002-12-08 22:40       ` Martin Dowie
2002-12-09  1:42         ` Jeffrey Carter
2002-12-09  7:00           ` Martin Dowie
2002-12-10  2:04           ` Randy Brukardt
2002-12-09 21:55       ` Michal Nowak
2002-12-10  1:32         ` Jeffrey Carter
2002-12-09 14:34     ` Wes Groleau
2002-12-09 21:56       ` Michal Nowak
2002-12-08 18:44 ` Jeffrey Carter
2002-12-09 21:55   ` Michal Nowak
replies disabled

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