comp.lang.ada
 help / color / mirror / Atom feed
From: griest-tom@cs.yale.edu (Tom Griest)
Subject: Re: GNAT pragma IMPORT and type conversions
Date: 5 Oct 1994 16:06:27 -0400
Date: 1994-10-05T16:06:27-04:00	[thread overview]
Message-ID: <36v103INN7m4@RA.DEPT.CS.YALE.EDU> (raw)
In-Reply-To: mmcnett.781382539@sparc53.cs.uiuc.edu

In article <mmcnett.781382539@sparc53.cs.uiuc.edu> mmcnett@sparc53.cs.uiuc.edu (mcnett michael david) writes:
>
>In my current project, I am using the GNAT Ada package and interfacing 
>(pragma IMPORT) with the C language.  I can do the interfaces well and
>send/receive variables, but I am not sure about how the language converts
>from ada types (integer, array, access, etc.) to C types (unsigned long,
>unsigned long long, pointers, etc.).  Also, what about subtypes and 
>enumerated types.  I imagine it looks at the base class in the conversion.
>
>Are there any example programs out there that deal with this problem? If
>so, where are they?
>
>Thanks in advance,
>
>______________________________________________________________
>Michael McNett               |
>Graduate Student             |
>University of Illinois       |
>mmcnett@uiuc                 |
>
>
>





  reply	other threads:[~1994-10-05 20:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-05 18:42 GNAT pragma IMPORT and type conversions mcnett michael david
1994-10-05 20:06 ` Tom Griest [this message]
1994-10-05 21:14 ` Robert Dewar
1994-10-05 21:15 ` 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