From: "Rick Stikkers" <rstikkers@telis.org>
Subject: Re: Passing Floats Ada->C
Date: 1998/07/27
Date: 1998-07-27T00:00:00+00:00 [thread overview]
Message-ID: <6pjbha$m9j$1@mentor.telis.org> (raw)
In-Reply-To: 35BCA22D.DB070D0F@email.mot.com
I had that problem one time with integers. The problem I had there was that
I was trying to pass a variable that was inside a structure that I had used
the for ... use at ... clause on (a favorite among you boys at Motorola).
The problem was that the variable I was trying to pass was not on an even
word boundary, so it did not like it. I don't remember if it gave me a
runtime error or just blew up. I know it compiled fine, though. The
workaround I ended up with was I declared another integer (temp) inside the
procedure I was working in, set temp equal to the variable I was trying to
pass, then passed the temp variable to the C procedure. It seems to work
fine that way.
Rick Stikkers
Dennis Miller wrote in message <35BCA22D.DB070D0F@email.mot.com>...
>Has anyone encountered any difficulties in sending float values from Ada
>to C?
>
>--
>Dennis Miller, Software Engineer
>C4I Applications Section
>Market Solutions Division
>Motorola SSG
>
>"If a man says something and a woman
> isn't around, is he still wrong?"
>
>---Remove xxx from e-mail address to reply---
>
>
next prev parent reply other threads:[~1998-07-27 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-27 0:00 Passing Floats Ada->C Dennis Miller
1998-07-27 0:00 ` Rick Stikkers [this message]
1998-07-28 0:00 ` Matthew Heaney
1998-07-28 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox