From: Scott Ingram <scott@silver.jhuapl.edu>
Subject: Re: Nontrivial examples of C interface with Ada
Date: 2000/05/24
Date: 2000-05-24T16:23:17+00:00 [thread overview]
Message-ID: <392C01F5.1B543D0C@silver.jhuapl.edu> (raw)
In-Reply-To: 392C1898.E41F1C@quadruscorp.com
"Marin D. Condic" wrote:
>
> gressett@iglobal.net wrote:
> >
> > Is there an example of a well-done, nontrivial interface to a C
> > library readily available on the web? Examples of communication with
> > C things defined like
> >
(snip)
>
> I personally find it a pain to use because of the large variety of types
> for the same things, the constant use of error flags instead of
> enumerated types and all the parameters are so C-ish that it doesn't fit
> in with The Ada Way of thinking. (Some of this is just because the
> Win32api is organically grown rather than engineered.) I'd prefer to see
> a "thick" binding that simply hid all of the conversions, error flags,
> etc. so that you had something that looked like Ada rather than
> C-Written-In-Ada. But I suppose there is a need for the thin binding to
> exist.
>
> MDC
> --
...
The GTKAda binding is a very good example of a relatively thick binding
to
C code.
--
Scott Ingram
Sonar Processing and Analysis Laboratory
Johns Hopkins University Applied Physics Laboratory
next prev parent reply other threads:[~2000-05-24 0:00 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-23 0:00 Nontrivial examples of C interface with Ada gressett
2000-05-24 0:00 ` David Emery
2000-05-24 0:00 ` Marin D. Condic
2000-05-24 0:00 ` Scott Ingram [this message]
2000-05-24 0:00 ` Marin D. Condic
2000-05-24 0:00 ` Terry Westley
2000-05-24 0:00 ` tmoran
2000-05-24 0:00 ` Ted Dennison
2000-05-24 0:00 ` Marin D. Condic
2000-05-25 0:00 ` Ted Dennison
2000-05-25 0:00 ` tmoran
2000-05-29 0:00 ` Geoff Bull
2000-05-25 0:00 ` tmoran
2000-05-25 0:00 ` Ted Dennison
2000-05-25 0:00 ` tmoran
2000-05-25 0:00 ` Ted Dennison
2000-05-25 0:00 ` tmoran
2000-05-26 0:00 ` Julian Day
2000-05-26 0:00 ` Julian Day
2000-05-25 0:00 ` Geoff Bull
2000-05-25 0:00 ` tmoran
2000-05-26 0:00 ` Marin D. Condic
2000-05-27 0:00 ` tmoran
2000-05-27 0:00 ` Marin D. Condic
2000-05-28 0:00 ` tmoran
2000-05-28 0:00 ` Marin D. Condic
2000-05-28 0:00 ` tmoran
2000-05-28 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