From: bobduff@world.std.com (Robert A Duff)
Subject: Re: HELP: Problem with C function called in Ada
Date: 1997/02/07
Date: 1997-02-07T00:00:00+00:00 [thread overview]
Message-ID: <E59Axu.7EL@world.std.com> (raw)
In-Reply-To: Pine.SOL.3.95.970207144417.11551A-100000@java
In article <Pine.SOL.3.95.970207144417.11551A-100000@java>,
Ingrid CHESSEL & David EXCOFFIER <linfo14@univ-savoie.fr> wrote:
> procedure Get_immediate(X:character);
Surely you mean, "out Character", or more likely a function returning a
Character, or something like that. Make sure your Ada spec matches the
C spec (at the binary level).
> pragma interface(C, Get_immediate);
> pragma interface_name(Get_immediate,"getc");
- Bob
prev parent reply other threads:[~1997-02-07 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SOL.3.95.970207144417.11551A-100000@java>
1997-02-07 0:00 ` HELP: Problem with C function called in Ada Mats Weber
1997-02-07 0:00 ` Robert A Duff [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox