From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Address to function pointer conversion
Date: 1997/06/16
Date: 1997-06-16T00:00:00+00:00 [thread overview]
Message-ID: <EBw65M.5MD@world.std.com> (raw)
In-Reply-To: 33A5B0B3.7EA663D3@link.com
In article <33A5B0B3.7EA663D3@link.com>, Samuel Mize <smize@link.com> wrote:
>I would agree EXCEPT -- dlsym is returning an address at run time,
>so you can't use pragma Import. You still have the problem, how
>do you call this address from Ada?
True, but you can use pragma Convention(C) on the access-to-function
type. Anyway, the caller needs to know what arguments to pass, so it's
expecting some particular argument profile. So the caller, at least,
ought to know what to do.
- Bob
next prev parent reply other threads:[~1997-06-16 0:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-13 0:00 Address to function pointer conversion Michael Paus
1997-06-13 0:00 ` John G. Volan
1997-06-14 0:00 ` Robert Dewar
1997-06-17 0:00 ` John G. Volan
1997-06-20 0:00 ` Robert Dewar
1997-06-24 0:00 ` Matthew Heaney
1997-06-24 0:00 ` Robert Dewar
1997-06-25 0:00 ` Michael Paus
1997-06-13 0:00 ` Samuel Mize
1997-06-14 0:00 ` Robert Dewar
1997-06-14 0:00 ` Robert Dewar
1997-06-16 0:00 ` Michael Paus
1997-06-16 0:00 ` Robert A Duff
1997-06-16 0:00 ` Robert Dewar
1997-06-16 0:00 ` Samuel Mize
1997-06-16 0:00 ` Robert A Duff [this message]
1997-06-17 0:00 ` Robert Dewar
1997-06-17 0:00 ` Samuel Mize
1997-06-20 0:00 ` Robert Dewar
1997-06-20 0:00 ` Robert Dewar
1997-06-14 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox