From: "James S. Rogers" <jimmaureenrogers@worldnet.att.net>
Subject: Re: New to ada95: porting
Date: 2000/02/29
Date: 2000-02-29T00:00:00+00:00 [thread overview]
Message-ID: <_VGu4.1139$NO6.104993@bgtnsc06-news.ops.worldnet.att.net> (raw)
In-Reply-To: 38BAF3B2.69D7A905@mindspring.com
Al Johnston wrote in message <38BAF3B2.69D7A905@mindspring.com>...
>things of particular interests are
>1) access types to 1-d unconstrained arrays
>2) access types to 1-d unconstrained array whose elements are also
>1-d unconstrained arrays.
>3) using 'address on an ada string type when interfacing to a c
>* char type
>4) generation of ada strings by c-code (via calls to ada library
>linked into a c program)
Look at the standard C interface utilities in the packages
Interfaces.C and Interfaces.C.Pointers.
Interfaces.C provides a lot of commonly needed conversions, including
to and from C strings.
Interfaces.C.Pointers is a generic package providing a wealth of C-style
operations on pointers.
When in doubt read the Reference Manual.
Jim Rogers
Colorado Springs, Colorado
next prev parent reply other threads:[~2000-02-29 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-28 0:00 New to ada95: porting Al Johnston
2000-02-29 0:00 ` James S. Rogers [this message]
2000-02-29 0:00 ` Al Johnston
2000-02-29 0:00 ` tmoran
2000-02-29 0:00 ` Al Johnston
2000-02-29 0:00 ` james hopper
2000-03-01 0:00 ` Al Johnston
2000-03-01 0:00 ` tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox