From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Access type representations.
Date: 30 Oct 1994 11:02:46 -0500
Date: 1994-10-30T11:02:46-05:00 [thread overview]
Message-ID: <390g36$f3i@gnat.cs.nyu.edu> (raw)
In-Reply-To: CyE7DD.5J8@inmet.camb.inmet.com
Note also that in Ada 9X, for a function that is pragma Interfaced C,
parameters of type Char_Array are required to be passed by passing the
address of the first element.
Note that GNAT does not yet do this correctly (it's on the list!), and in
fact our plan is that for any function that has convention C, we will
pass unconstrained arrays by simply passing the address of the first
element.
It is of course possible to use pragma Interface (Ada, .. and still write
the body in C, and then the C function must know exactly how Ada passes
unconstrained parameters.
next prev parent reply other threads:[~1994-10-30 16:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-28 11:31 Access type representations Bob Wells #402
1994-10-28 13:36 ` Tucker Taft
1994-10-28 16:52 ` Robert Dewar
1994-10-28 17:03 ` Mitch Gart
1994-10-30 16:02 ` Robert Dewar [this message]
1994-11-01 13:57 ` Keith Thompson
-- strict thread matches above, loose matches on Subject: below --
1994-11-02 7:53 Bob Wells #402
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox