comp.lang.ada
 help / color / mirror / Atom feed
* GNAT pragma IMPORT and type conversions
@ 1994-10-05 18:42 mcnett michael david
  1994-10-05 20:06 ` Tom Griest
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mcnett michael david @ 1994-10-05 18:42 UTC (permalink / raw)



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                 |






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-10-05 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-10-05 18:42 GNAT pragma IMPORT and type conversions mcnett michael david
1994-10-05 20:06 ` Tom Griest
1994-10-05 21:14 ` Robert Dewar
1994-10-05 21:15 ` Robert Dewar

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