From: jan van katwijk <j.vankatwijk@gmail.com>
Subject: Re: Ada and C
Date: Mon, 21 Nov 2016 12:52:47 -0800 (PST)
Date: 2016-11-21T12:52:47-08:00 [thread overview]
Message-ID: <2c7aa8f3-980f-4471-8338-62d370f5957c@googlegroups.com> (raw)
In-Reply-To: <o0v2gv$mgk$1@dont-email.me>
Op maandag 21 november 2016 16:06:43 UTC+1 schreef G.B.:
> On 21.11.16 12:44, Mr. Man-wai Chang wrote:
> > On 21/11/2016 7:43 PM, Luke A. Guest wrote:
> >> Mr. Man-wai Chang <toylet.toylet@gmail.com> wrote:
> >>>
> >>> Does Adata... sorry... Ada interact with C?
> >>>
> >>
> >> If you want it to
> >
> > Talking about physical reality *examples*!
>
> One example is an Ada program that calls POSIX routines
> as implemented for GNU/Linux, another is one that calls
> Windows™ GUI's functions (Win32).
> That, as well as the fact that the Ada standard specifies how
> Ada and C should interact (in LRM B.3, Interfaces.C), should
> answer the question not just by particular example but for
> every compiler on any supported system.
You could take a look at https://github.com/JvanKatwijk/ada-dab
which contains source for a DAB decoder and is using a number of C libraries
a.o it interfaces to C libraries for sdr input devices and soundcard output using a number of callbacks as well.
j
next prev parent reply other threads:[~2016-11-21 20:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 11:39 Ada and C Mr. Man-wai Chang
2016-11-21 11:43 ` Luke A. Guest
2016-11-21 11:44 ` Mr. Man-wai Chang
2016-11-21 12:51 ` Luke A. Guest
2016-11-21 15:06 ` G.B.
2016-11-21 20:52 ` jan van katwijk [this message]
2016-11-22 5:32 ` Per Sandberg
2016-11-22 8:10 ` Mr. Man-wai Chang
2016-11-22 18:07 ` erlo
2016-11-23 4:16 ` Foxbase, Foxpro " Mr. Man-wai Chang
2016-11-23 15:49 ` erlo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox