From: Simon Wright <simon@pushface.org>
Subject: Re: Interfacing C type, unconstrained array with record
Date: Sun, 17 Oct 2010 11:20:19 +0100
Date: 2010-10-17T11:20:19+01:00 [thread overview]
Message-ID: <m21v7p3yu4.fsf@pushface.org> (raw)
In-Reply-To: i9d8cq$9d7$1@tornado.tornevall.net
Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org> writes:
> On 10/16/2010 12:19 PM, Ron Wills wrote:
>>
>> The "pragma Convention" did the trick! I must say, Ada is the one
>> language I've encountered that seems to have the largest learning
>> curve because of the most cryptic references I ever seen ;)
>
> You should probably finish learning Ada before trying to do stuff like
> interfacing with C. Then you'd realize the "cryptic references" are
> all due to C.
I agree about the cryptic references being because of C, but .. people
normally start on a new language because they have a project in mind and
it seems like a possible fit; and if that project involves interfacing
with C, that's where they're going to begin.
Personally (but them I've been doing this for a while) I found the ARM
sections on interfacing pragmas
(http://www.adaic.com/standards/05rm/html/RM-B-1.html) and interfacing
with C and C++ (http://www.adaic.com/standards/05rm/html/RM-B-3.html)
clear -- except that I started at the second, and only found the link to
the first half-way down the page.
next prev parent reply other threads:[~2010-10-17 10:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-16 17:35 Interfacing C type, unconstrained array with record Ron Wills
2010-10-16 18:36 ` Dmitry A. Kazakov
2010-10-16 19:19 ` Ron Wills
2010-10-16 22:15 ` Jeffrey Carter
2010-10-17 10:20 ` Simon Wright [this message]
2010-10-17 12:38 ` Robert A Duff
2010-10-17 8:35 ` Dmitry A. Kazakov
2010-10-17 12:30 ` Robert A Duff
2010-10-16 21:41 ` Robert A Duff
2010-10-16 23:34 ` tmoran
2010-10-17 6:59 ` J-P. Rosen
2010-10-17 12:34 ` Robert A Duff
2010-10-17 7:45 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox