comp.lang.ada
 help / color / mirror / Atom feed
From: "Tilman Glotzner" <Tilman.Gloetzner@uundz.de>
Subject: Re: Q: Interfacing C/ADA: Indirect Calls
Date: Wed, 18 Apr 2001 15:56:28 +0200
Date: 2001-04-18T15:56:28+02:00	[thread overview]
Message-ID: <9bk6ef$reo$01$1@news.t-online.com> (raw)
In-Reply-To: 87n19emnv8.fsf@deneb.enyo.de

That works --  Great.

For my curiousity: What exactly is an access type ? Apperently, it is not a
reference to an object by memory address (like C references an object).

Thanks,

Tilman

"Florian Weimer" <fw@deneb.enyo.de> schrieb im Newsbeitrag
news:87n19emnv8.fsf@deneb.enyo.de...
> Tilman Gloetzner <Tilman.Gloetzner@uundz.de> writes:
>
> > use_indirect.adb:10:08: subprogram has invalid convention for context
> > use_indirect.adb:16:08: subprogram has invalid convention for context
>
> I think you have to insert
>
>    pragma Convention (C, Indirect_Func);
>
> to change the convention of the access-to-subprogram type.





  reply	other threads:[~2001-04-18 13:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-18 12:54 Q: Interfacing C/ADA: Indirect Calls Tilman Gloetzner
2001-04-18 11:46 ` Florian Weimer
2001-04-18 13:56   ` Tilman Glotzner [this message]
2001-04-18 14:53     ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox