comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Interfacing with C
Date: 1999/12/31
Date: 1999-12-31T00:00:00+00:00	[thread overview]
Message-ID: <x7vhfgzw9ft.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: 946601401.12snx@jvdsys.stuyts.nl

jerry@jvdsys.stuyts.nl (Jerry van Dijk) writes:

> >What I don't understand here is that x works perfectly, while
> >the datum in y gets fucket up. Why?
> 
> B.3(69)
> 
> Check compiler doc for pragma Pass_By_Copy.

A quick scan of the GNAT RM says that the implementation-defined
pragma C_Pass_By_Copy is a configuration pragma (ie applies to whole
program).

The GNAT RM also says there is a pragma Convention (C_Pass_By_Copy)
which could be applied to the record type. I couldn't find any
specific info on this (GNAT RM 3.11p, 3.12a2) -- it's only mentioned
under pragma C_Pass_By_Copy.




  reply	other threads:[~1999-12-31  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <vhiln6cllz7.fsf@grotte.ifi.uio.no>
1999-12-30  0:00 ` Interfacing with C Simon Wright
1999-12-31  0:00 ` Jerry van Dijk
1999-12-31  0:00   ` Simon Wright [this message]
2009-05-18 11:29 cedric
2009-05-18 11:51 ` Maciej Sobczak
2009-05-18 11:58 ` Dmitry A. Kazakov
2009-05-18 12:11   ` Ludovic Brenta
2009-05-18 12:13     ` Ludovic Brenta
2009-06-01  8:24   ` David Thompson
     [not found] <7rtlav$bm7$1@nnrp1.deja.com>
     [not found] ` <37e2b0e7.0@news.pacifier.com>
1999-09-22  0:00   ` Richard D Riehle
1999-09-22  0:00     ` Ted Dennison
1999-09-22  0:00       ` David Botton
1999-09-23  0:00     ` Robert Dewar
replies disabled

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